From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: tramp ControlMaster options (was: Re: package.el: what does package "Checking ... " actually do?) Date: Sat, 18 Jul 2015 14:44:11 +0200 Message-ID: <55AA4A1B.2010406@thregr.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437223517 14127 80.91.229.3 (18 Jul 2015 12:45:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2015 12:45:17 +0000 (UTC) Cc: 20015@debbugs.gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 18 14:45:08 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZGRUJ-0005UB-8N for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2015 14:45:07 +0200 Original-Received: from localhost ([::1]:48337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGRUI-00084V-FF for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2015 08:45:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGRTh-0007Le-MS for emacs-devel@gnu.org; Sat, 18 Jul 2015 08:44:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGRTe-0001ws-F5 for emacs-devel@gnu.org; Sat, 18 Jul 2015 08:44:29 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGRTe-0001wm-8k for emacs-devel@gnu.org; Sat, 18 Jul 2015 08:44:26 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZGRTb-0005Dx-TD for emacs-devel@gnu.org; Sat, 18 Jul 2015 14:44:23 +0200 Original-Received: from adsl-ull-109-221.46-151.net24.it ([151.46.221.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jul 2015 14:44:23 +0200 Original-Received: from wavexx by adsl-ull-109-221.46-151.net24.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jul 2015 14:44:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-ull-109-221.46-151.net24.it X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187947 Archived-At: On 18/07/15 13:22, Yuri D'Elia wrote: > On 17/07/15 13:11, Yuri D'Elia wrote: >> When I'm using a high-latency network connection, and I update some >> packages, downloading takes a few seconds after the connection is >> initiated, but package "Checking" instead takes literally minutes to >> complete. > > Turns out, it's another case of: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20015 It's really that bad. Even bringing out the variable description of tramp-ssh-controlmaster-options hangs. The issue is caused by a rogue provider's DNS server responding with NXDOMAIN but valid IN A record, which ssh still tries to connect to. And since the host is filtered, this takes minutes to time out. Considering that I have a global setting in my ~/.ssh/config that enables ControlMaster/ControlPath globally, I consider this as a regression. I tried the same probes using: ssh -o BatchMode=yes [various flags] 0.0.0.0 and I get comparable output, and there's no chance 0.0.0.0 would be a valid address.