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:01:36 +0000 Message-ID: References: <835z1dp0qg.fsf@gnu.org> <83y2e9nhne.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27589"; 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:02:11 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 1lQ6hn-000740-5u for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 12:02:11 +0100 Original-Received: from localhost ([::1]:33422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQ6hm-0006tl-81 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 07:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQ6he-0006te-JQ for bug-gnu-emacs@gnu.org; Sat, 27 Mar 2021 07:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQ6he-00019w-Ae for bug-gnu-emacs@gnu.org; Sat, 27 Mar 2021 07:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQ6he-0004bV-98 for bug-gnu-emacs@gnu.org; Sat, 27 Mar 2021 07:02: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:02: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.161684290116681 (code B ref 47431); Sat, 27 Mar 2021 11:02:02 +0000 Original-Received: (at 47431) by debbugs.gnu.org; 27 Mar 2021 11:01:41 +0000 Original-Received: from localhost ([127.0.0.1]:43479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQ6hI-0004Kd-C4 for submit@debbugs.gnu.org; Sat, 27 Mar 2021 07:01:40 -0400 Original-Received: from heytings.org ([95.142.160.155]:43508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQ6hG-0004Hu-9y for 47431@debbugs.gnu.org; Sat, 27 Mar 2021 07:01:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1616842896; bh=wpR9M/Tp0O6FFe5DR36iOjtHYJsVcly9aTMCoXhsCEA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=t6MI5jRPmjZ1S+0rtCjsZ+cLjQr+J4bN7D9DiyXMBmh09C+bjG5TXMO2LKyFgWlgF CesOyPL4jCkDdejn0n+YJLIbbhAETyH1uHQeNzhSjMCTcaTFNvdsqZZFEXQYay+5M0 30cQ6j8yF/9TCvhibdCq76OeYD48q6xT6rtMUg9yUQN0O+0K5lZTAL/BtEz1iqWoN3 AEoIMsYHqaDIVnQ3kX31j5m6y6FmzUdxNNcchZAbJAvldqpGPAoExJ1SR1w1snkRHj fs3S2VIAhcqDt5RFwY4YXTD8sA2TC0LthaoJrWbVWEs3chK9Dkx/fjkmnr50naqsvl P0GcF9UQJfCWg== In-Reply-To: <83y2e9nhne.fsf@gnu.org> 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:203117 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... [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