From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check Date: Tue, 12 Jan 2021 18:56:48 +0100 Message-ID: <874kjmyr6n.fsf@gmail.com> References: <83sg7mggls.fsf@gnu.org> <83czymc8nq.fsf@gnu.org> <74b7a0a9-0eb3-7944-19d2-f72424ee72d7@dasyatidae.com> <83eeirfqbo.fsf@gnu.org> <87o8hvscfi.fsf@gmail.com> <8335z7fmnz.fsf@gnu.org> <87ft374axc.fsf@gmail.com> <83wnwjdwww.fsf@gnu.org> <87czyb2nvq.fsf@gmail.com> <83r1mqdwri.fsf@gnu.org> <83eeiqduvi.fsf@gnu.org> <87pn2aywjr.fsf@gmail.com> <838s8ydtu5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17606"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rtt@dasyatidae.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 12 19:22:55 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzOJh-0004PD-4t for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Jan 2021 19:22:53 +0100 Original-Received: from localhost ([::1]:42468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzOJg-00025c-7Z for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Jan 2021 13:22:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzNuY-0001ag-A9 for emacs-devel@gnu.org; Tue, 12 Jan 2021 12:56:54 -0500 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:53116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzNuW-0002ys-Nl; Tue, 12 Jan 2021 12:56:54 -0500 Original-Received: by mail-wm1-x333.google.com with SMTP id a6so2711071wmc.2; Tue, 12 Jan 2021 09:56:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:mime-version :content-transfer-encoding; bh=vrH174AYUOgEqWGDV9Dahpcyesj1xVbcMcFGH6slnm4=; b=ppO5WySwZqinVOue9YcpYqMAdewsjFYhSEh1hVcOVj1g5EQLsNVelzMmRb16pxtj34 G8Q6Xn9OpuGpYL5ohwx8T/VVq+wjN///2VMGbIe8RmE7fBPZClmV6ubQ096dBsXSyTLk 4Kosrn8yhRaFHm1/DFSQLwBsDq5qbmEITNldaxw0ZMRl/nTFws2pV2y2LM5aRh70VvoN TkYKcAPU3R/q6NhakvHHWWN4Okmy7ObQB+yMdGiqgYb2C/IPiQehBGCtrE11GSIoSrz6 qRTAyxkXZzoIO4uW47zofSU/DRPoQapTtgcXrrIqkHCz8fshVPPWt/nVgY54fdfYa/F0 9DZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :mime-version:content-transfer-encoding; bh=vrH174AYUOgEqWGDV9Dahpcyesj1xVbcMcFGH6slnm4=; b=RWrGse9krsPoeuPAmw77WmizEltFAMP4vxXNVwhhbHUe40GVEH5u5pnRlXBqHbiQQE 8o6Etcm1TARr8sRMQQ8UIosBB/y6waaVHcH1K1uSr4fHO+HE1wMttYH8IYXZ1RZ2KsdW 7t9sHkm125X00rcPELhcevd2WpX3NrZPjxQH+Q9Dats2fwjz33EzJtXyPB5pHYdOhWKf 9aTUctwVdiYeXPNuOlaAU6ZUnXt9uY61PY/CWXFaMMLVr2LKu5BKndz7hdqCyh6elwEq 4VuR64lhLGgl9dd3F7fgSayIvD4gFqVMhQ1mYsP3X2mqOiBl8aBGK/6I5bCIvyCQtiyv DCrQ== X-Gm-Message-State: AOAM530eu7UgKL8qVU58dX8HHLvEGNRz2onpDCczFFuoMx+EL7SYjjxs iddgUb5k5fUgPOj3RHIfCTEEvIJGyL0= X-Google-Smtp-Source: ABdhPJxZZtCgqkSU12B+RU+w34elACuCfbZpLta5UGfiY3fvZCVr5/AL3Ln/qiBg5kLXfeQj8Brw4Q== X-Received: by 2002:a1c:2d48:: with SMTP id t69mr424215wmt.124.1610474210455; Tue, 12 Jan 2021 09:56:50 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id j2sm6264280wrh.78.2021.01.12.09.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 09:56:49 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=rpluim@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263013 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Cc: rtt@dasyatidae.com, emacs-devel@gnu.org >> Date: Tue, 12 Jan 2021 17:00:56 +0100 >>=20 >> > (dns-query "google.com" 'AAAA) >> > =3D> "2a00:1450:4009:80b:0:0:0:200e" >> > >> > So I'm not sure that test is reliable enough for these purposes. >>=20 >> It=CA=BCs checking if IPv6 names can be resolved, not if IPv6 works. If = you >> think that=CA=BCs not a useful test, we can remove it. > > No, feel free to ignore me. I was just surprised it worked, that's > all. > >> I can condition all the IPv6 tests on the following, which should >> alleviate your concerns: >>=20 >> ;; This will need updating when IANA assign more IPv6 global ranges. >> (defun ipv6-is-available () >> (and (featurep 'make-network-process '(:family ipv6)) >> (cl-rassoc-if >> (lambda (elt) >> (and (eq 9 (length elt)) >> (=3D (logand (aref elt 0) #xe000) #x2000))) >> (network-interface-list)))) > > Thanks, that would be good, I think. Done as 0f6c083251 Robert