http://bugzilla.mindrot.org/show_bug.cgi?id=597
Summary: X11 Forwarding: sshd doesn't listen on unix domain
sockets
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: ajax@osuny.co.uk
on some operating systems there is a performance benefit to using PF_UNIX
sockets instead of just 127.0.0.1:6010. sshd should support this if possible.
a simple patch would just add this to channels.c:x11_create_display_inet(), but
i'm not sure that's the Right Thing. you would want to be able to get both
127.0.0.1:6010 and /tmp/.X11-unix/X10 (incrementing the screen number until you
find a unique one), and then set DISPLAY=:10.0 if you got a unix domain socket.
and you should probably also be able to configure sshd to not listen to unix
sockets (cygwin, ancient SysV machines, ...).
i'm working on a patch. anything else i should consider? i know there are
other "local" X transports on some SysV machines, but i'd have to check the X
source to see how that's done, and i'm not sure it's worth supporting.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: X11 Forwarding: sshd doesn't listen on unix domain
sockets
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: ajax@osuny.co.uk
on some operating systems there is a performance benefit to using PF_UNIX
sockets instead of just 127.0.0.1:6010. sshd should support this if possible.
a simple patch would just add this to channels.c:x11_create_display_inet(), but
i'm not sure that's the Right Thing. you would want to be able to get both
127.0.0.1:6010 and /tmp/.X11-unix/X10 (incrementing the screen number until you
find a unique one), and then set DISPLAY=:10.0 if you got a unix domain socket.
and you should probably also be able to configure sshd to not listen to unix
sockets (cygwin, ancient SysV machines, ...).
i'm working on a patch. anything else i should consider? i know there are
other "local" X transports on some SysV machines, but i'd have to check the X
source to see how that's done, and i'm not sure it's worth supporting.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.