X11 forwarding problem

Hermann Gausterer mrq1 at gmx.net
Thu Jun 6 20:43:21 EST 2002


hi

i have problems with the X11 forwarding,
TCP port forwarding works fine:

the tcp ports bind to ipv4 and ipv6 localhost,
but the X11 port (6010) binds ONLY to the
ipv6 localhost, which does not work with
the normal ipv4 programs :-(

is this a bug, or is this an hidden feature


mfg hermann

redhat 7.1:

openSSH 3.2.2:
[mrq1 at xxxx mrq1]$ ssh -X -L 10000:localhost:22 localhost
Last login: Thu Jun  6 06:39:55 2002 from xxxx
[mrq1 at xxxx mrq1]$ set |grep DISPL
DISPLAY=localhost:10.0
[mrq1 at xxxx mrq1]$ netstat -tan | grep -e 6010 -e 10000
tcp        0      0 127.0.0.1:10000         0.0.0.0:*               LISTEN
tcp        0      0 ::1:10000               :::*                    LISTEN
tcp        0      0 ::1:6010                :::*                    LISTEN
[mrq1 at xxxx mrq1]$ ssh -V
OpenSSH_3.2.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f

the same with 3.2.3:

[mrq1 at mrqserv2 mrq1]$ uname -a
Linux mrqserv2 2.4.18-xfs #6 SMP Wed May 15 16:56:46 CEST 2002 i686 unknown
[mrq1 at mrqserv2 .ssh]$ ssh -X -L 10000:localhost:22 localhost
[mrq1 at mrqserv2 mrq1]$ netstat -tan | grep -e 6010 -e 10000
tcp        0      0 127.0.0.1:10000         0.0.0.0:*               LISTEN
tcp        0      0 ::1:10000               :::*                    LISTEN
tcp        0      0 ::1:6010                :::*                    LISTEN
[mrq1 at mrqserv2 mrq1]$ ssh -V
OpenSSH_3.2.3p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f


debugoutput:
debug1: Connections to local port 10000 forwarded to remote address
localhost:22
debug1: Local forwarding listening on ::1 port 10000.
debug1: fd 4 setting O_NONBLOCK
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 10000.
debug1: fd 5 setting O_NONBLOCK
debug1: channel 1: new [port listener]
debug1: channel 2: new [client-session]
debug1: send channel open 2
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 2
debug1: channel request 2: pty-req
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 2: x11-req
debug1: channel request 2: shell
debug1: fd 3 setting TCP_NODELAY

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




More information about the openssh-unix-dev mailing list