From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Tarsiger Newsgroups: gmane.emacs.devel Subject: Re: ai_flags in calls to getaddrinfo, broader call for reproducibility check Date: Mon, 11 Jan 2021 12:30:22 -0600 Message-ID: <5cb6a0ac-9fe9-bfc2-5642-3423bd043238@dasyatidae.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 11 19:32:03 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 1kz1z1-0005EH-HZ for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 19:32:03 +0100 Original-Received: from localhost ([::1]:36288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz1z0-00073B-Ij for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 13:32:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz1xZ-00061U-LS for emacs-devel@gnu.org; Mon, 11 Jan 2021 13:30:33 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:56065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz1xN-00025u-QJ; Mon, 11 Jan 2021 13:30:31 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 01FCA2363; Mon, 11 Jan 2021 13:30:18 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 11 Jan 2021 13:30:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dasyatidae.com; h=to:cc:references:from:subject:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=j eSSSzt2DeRF1riBk/i8gSahyVj0kP+cj6lbvt0Gl+Q=; b=oj9jeVD+XDRjjowtd c2Wib1QZJyBAbDpGd4gB3kB7ZZjHoaoyJ12l1+TzAjOnTWXLJtewqp1s/g0clTw6 dF50esBVybhCku84JGyfBPn6RrDb6jTM4ZHNN9JShepQFzi7RJRWyh5mtBkE4Tgs x/d2+r265eECJmjVueJNagnlVB7Y6kovtxaB4Ly6uruMZBhaPcznoX/ltidRHzw8 8qErQxFUvcFrXDchxAsKZ1l8qGofhRj+GDOSzVWlqw6sMUHx2T7iamZki+dsxeMc j1nmYiW6MmNNMWG5JWzrTOjGVO/vReehTu3Y27+7S6ruIn0f6b6O1zjI50aWUfxV SEikw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=jeSSSzt2DeRF1riBk/i8gSahyVj0kP+cj6lbvt0Gl +Q=; b=C6hgghW24EGiJ+Pp37G04RCZ2w2oPTy/8Thy9OP4DbtS5J5aRadUj2DuK h3w7gkAjh6y/wbmj/ZcuHXk85F89hzBijUMD0Mo9JYe4CdpbNtP9xz4M74dtfrt3 /6Vwtlowv+ETEcEJ772s0q75UrgjF1IaZ6cMsRBgLf2y2+/ro0Nkriu+yAULtDBa IeLtIxSkhpJn9mRdx9hAcU9D6N8kcJxdV2fVIHWC64W09WET6fHULChM5+xnsL1K jw8kICFm73maz9hyxmouUn/dsSIpzCba+X/LNvkD2GRVOAo0Mi37ar90lLGnVnnq NuDusv9PjV1VTUf4E3s15W8FJbrAg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdehuddgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefvfhfhuffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftohgs ihhnucfvrghrshhighgvrhcuoehrthhtsegurghshigrthhiuggrvgdrtghomheqnecugg ftrfgrthhtvghrnhepvddugfegffeigeekueeufedvkeffkeehvedvtdegveeltdehhfek feefgfekgfeknecukfhppeejiedrvdehfedrjeehrdefgeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrthhtsegurghshigrthhiuggrvgdr tghomh X-ME-Proxy: Original-Received: from [192.168.1.65] (76-253-75-34.lightspeed.austtx.sbcglobal.net [76.253.75.34]) by mail.messagingengine.com (Postfix) with ESMTPA id 1564D240064; Mon, 11 Jan 2021 13:30:18 -0500 (EST) In-Reply-To: <87ft374axc.fsf@gmail.com> Content-Language: en-US-large Received-SPF: pass client-ip=64.147.123.24; envelope-from=rtt@dasyatidae.com; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:262927 Archived-At: Robert Pluim wrote: >> There is no _reliable_ way I know of to determine this programmatically, >> certainly not without sending some probe queries with a high level of >> specific control over them, and I expect that would be a rather hairy >> thing to do just for a few tests, and not reasonably maintainable. > > (require 'dns) > (skip-unless (dns-query "google.com" 'AAAA)) Oh, wow, there's _already_ a dns.el in core? Huh. Well, that obviates my primary concerns about doing direct DNS probes, provided it works and is a reasonable thing to load for the test suite otherwise... > and then do the network-lookup-address-info tests (although on Windows > this depends on DNS over TCP working, Ergh. I just checked with `dig +tcp` against my crappy ISP CPE and it rejects the connection, which seems like anecdata toward that failing in a lot of configurations. Do you happen to know OTTOYH _why_ datagram sockets aren't supported in Emacs on Windows to start with... ? > and either /etc/resolv.conf or a > working nslookup). The latter should at least be stock on Windows AFAIK. I'd forgotten that it shows the list of resolver addresses too. -RTT