GNU bug report logs - #27009
Tramp doesn't distinguish between connections differing only by port number

Previous Next

Package: emacs;

Reported by: "Devon Sean McCullough" <Emacs-Hacker2017 <at> jovi.net>

Date: Sun, 21 May 2017 16:12:03 UTC

Severity: normal

Tags: confirmed

Found in version 25.1

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: control <at> debbugs.gnu.org
Subject: Re: bug#27009: 25.1; Tramp stuck on wrong host
Date: Mon, 22 May 2017 08:16:52 -0400
retitle 27009 Tramp doesn't distinguish between connections differing only by port number
tags 27009 confirmed
quit

Michael Albinus <michael.albinus <at> gmx.de> writes:
>
> Tramp is almost agnostic to port numbers. It uses them for the command
> raised for connecting, but everywhere else it ignores them. This happens
> especially in managing internal data, like the name of the connection
> buffer or access to cached values.
>
> As a result, two remote file names are handled as identical if they
> differ only in their port numbers. See also the todo entry in tramp.el:
>
> ;; * Use also port to distinguish connections.  This is needed for
> ;;   different hosts sitting behind a single router (distinguished by
> ;;   different port numbers).  (Tzvi Edelman)
>
> I know, this is not satisfying. If time permits, I'll work on this next
> time. Unfortunately, there's no trivial fix.




This bug report was last modified 8 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.