bugzilla-daemon at mindrot.org
2006-Feb-09 11:43 UTC
[Bug 1153] DISPLAY should be set form the connected IP, not the hostname
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.
bugzilla-daemon at mindrot.org
2006-Feb-09 11:45 UTC
[Bug 1153] DISPLAY should be set form the connected IP, not the hostname
http://bugzilla.mindrot.org/show_bug.cgi?id=1153 ------- Comment #1 from svallet at genoscope.cns.fr 2006-02-09 22:44 ------- Created an attachment (id=1064) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1064&action=view) Patch against 20060208 -- see bug report for details ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.