[Bug 2143] New: X11 forwarding for ipv4 is broken when ipv6 is disabled on the loopback interface

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Aug 25 05:10:55 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2143

            Bug ID: 2143
           Summary: X11 forwarding for ipv4 is broken when ipv6 is
                    disabled on the loopback interface
           Product: Portable OpenSSH
           Version: 5.3p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: grier at gate.net

I haven't seen this exact bug reported, even on the current version.

If the ipv6 kernel module is loaded, and ipv6 is disabled on the
loopback interface, X forwarding (for ipv4, at least) is broken, unless
AddressFamily is set to "inet".

It seems that sshd will refuse to listen for X connections on ipv4 if
it can't open an ipv6 socket.  It listens for ssh connections on ipv4
either way, so this appears to be a bug.

Test by toggling /proc/sys/net/ipv6/conf/lo/disable_ipv6.

I could probably find the problem in the code, as I used to be a fairly
competent c programmer, but I just don't have the time.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list