[Bug 164] New: X-forwarding when connecting to an IPv6-enabled host doesn't work.

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Mar 14 06:04:15 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=164

           Summary: X-forwarding when connecting to an IPv6-enabled host
                    doesn't work.
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: carljohan at kjellander.com


When connecting to an IPv6-enabled host with X-forwarding enabled sshd
on the other end only opens a tunnel on ::1:6010 (ip6-localhost) and
not 127.0.0.1:6010 (ip4-localhost).

Reproducible: Always

Steps to reproduce:
1. Login to a host that supports both IPv4 and IPv6 with X-forwarding
   turned on.
   ssh -X user at ipv6host

Actual result:
Sshd on the host you connected to only opens forwarding of port 6010
(x11-ssh-offset) on ip6-localhost, ::1, and not ip4-localhost, 127.0.0.1
as seen here:

[ipv6host]# netstat -l -n | grep 6010 
tcp        0      0 ::1:6010                :::*                    LISTEN

Expected result:
Sshd should open forwarding at least 127.0.0.1, but preferably both
127.0.0.1 and ::1. On a ipv4-only host everything works ok:

[ipv4onlyhost]# netstat -l -n | grep 6010 
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN     

I have only tested this on Linux but it may apply to other OSes as well.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list