[Bug 1153] DISPLAY should be set form the connected IP, not the hostname
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Feb 9 22:43:33 EST 2006
http://bugzilla.mindrot.org/show_bug.cgi?id=1153
Summary: DISPLAY should be set form the connected IP, not the
hostname
Product: Portable OpenSSH
Version: 4.3p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: bitbucket at mindrot.org
ReportedBy: svallet at genoscope.cns.fr
When forwarding X11 connections, the DISPLAY variable should be set to match
the appropriate interface when X11UseLocalhost is set to "no".
Current behaviour is to set DISPLAY from a call to gethostname(), which may not
return the wanted value, especially on multi-homed hosts.
Attached is a patch against 20060208 which solves the problem by using the
connected socket's IP.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list