From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#47431: Process Whois connection broken by remote peer. Date: Sat, 27 Mar 2021 11:04:49 +0000 Message-ID: References: <835z1dp0qg.fsf@gnu.org> <83y2e9nhne.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2054"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47431@debbugs.gnu.org, hongyi.zhao@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 27 12:05:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lQ6ki-0000NY-GF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 12:05:12 +0100 Original-Received: from localhost ([::1]:38012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQ6kh-0000Mg-Hp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 07:05:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQ6kY-0000Ma-SA for bug-gnu-emacs@gnu.org; Sat, 27 Mar 2021 07:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQ6kY-0002rF-Ke for bug-gnu-emacs@gnu.org; Sat, 27 Mar 2021 07:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQ6kY-00059p-G6 for bug-gnu-emacs@gnu.org; Sat, 27 Mar 2021 07:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Mar 2021 11:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47431 X-GNU-PR-Package: emacs Original-Received: via spool by 47431-submit@debbugs.gnu.org id=B47431.161684309219806 (code B ref 47431); Sat, 27 Mar 2021 11:05:02 +0000 Original-Received: (at 47431) by debbugs.gnu.org; 27 Mar 2021 11:04:52 +0000 Original-Received: from localhost ([127.0.0.1]:43483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQ6kO-00059O-1U for submit@debbugs.gnu.org; Sat, 27 Mar 2021 07:04:52 -0400 Original-Received: from heytings.org ([95.142.160.155]:43524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQ6kN-00059G-09 for 47431@debbugs.gnu.org; Sat, 27 Mar 2021 07:04:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1616843089; bh=1ldg4iQ8rHUL6W6i+6nyotiJoo3EI2IdZIcsnAY4ULA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=XJdKIGUZHqJ5liz4NNdxVn+I/gSke4xxjq8iEWyMBUSfC4+AVhYfRLOtBQVQUMRod w9GNYAkO0HlUAS6zpTjWYTWznb0C/6TgCV1Tw9NwhzVELAzeA307all6sCgZwFf8Qr /Iwnh1NyAkUUGpLXGu1rkFi6iJF9ha75OSJ8FpgkuOrNR3UAlmnlx0phtALAq9EVx9 s4BLhfs/QVnPMdpb1yRdonV8aYU0xDYClunv2F8duL3Zrhf/sRe5AwdsSMJu89Vd6g 76BcmIhNUMlchJX5TSN+xuntSOXnx5wvsWTsymxpH5CW9VlrKc7k9vtERdnYovJQjY QSgmycPyBcbHg== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203118 Archived-At: >>> The manpage of whois says: "This version of the whois client tries to >>> guess the right server to ask for the specified object. If no guess >>> can be made it will connect to whois.networksolutions.com for NIC >>> handles or whois.arin.net for IPv4 addresses and network names." >> >> We don't use the external 'whois' command, so its man page is not >> relevant, I think. > > Indeed. Would it not make sense to use the external whois command if it > is available, and to fall back to the Lisp code when it is not? > > In any case, the whois-server-tld alist needs to be updated, it has only > 15 entries [1], the whois client for GNU/Linux has more than 400 (see > [2]). And these 400 are only for the domain name lookups, there are two > others for IP addresses, another for NIC handles, and another one for AS > numbers... > Two other _lists_, I mean. > > [1] Its first entry is not a valid server name, all other ones except > the "org" and "mil" are valid server names but are not the appropriate > server for the corresponding TLD. > > [2] https://raw.githubusercontent.com/rfc1036/whois/next/tld_serv_list >