OpenSSH
[Top] [All Lists]

Re: X forwarding: trying to forward to busy local port

To: openssh-unix-dev@mindrot.org
Subject: Re: X forwarding: trying to forward to busy local port
From: Lars Kruse <kruse@silicann.com>
Date: Mon, 19 Feb 2007 12:06:44 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <45D2FE32.2050900@zip.com.au>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Organization: Silicann Technologies
References: <20070201162824.6d5f8b77@jackdaw.neusy> <20070213114912.5d3a76a4@jackdaw.neusy> <20070213113532.GA31234@gate.dtucker.net> <20070214114322.32877003@jackdaw.neusy> <45D2FE32.2050900@zip.com.au>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
Hi,

> > Could it be, that the return value of the DISPLAY setting does not
> > depend on the acquired sockets for now? (always returning an ip4
> > address)
> 
> For X11UseLocalhost=yes it always uses a string of "localhost" 
> (session_setup_x11fwd in session.c).
> 
> Potentially it could either get the address family from 
> x11_create_display_inet, or maybe call getsockname on the socket and use 
> that (provided "::1:0" is a valid display name, I have no idea if X 
> would choke on that).

the ipv6 address does not seem to be a problem for DISPLAY - see
http://permalink.gmane.org/gmane.network.openssh.devel/13384

 
> The wrinkle is that some xlibs (or xauths?) do special things with the 
> string "localhost", eg map it to a Unix domain socket.

According to Marc Aurele La France
(http://permalink.gmane.org/gmane.network.openssh.devel/13385) this
does not seem to a problem for xorg/xfree86, too.


Maybe I get something wrong, but for now the setting "AdressFamily any"
seems to severely degrade the reliability of X-forwarding setups.
Did someone already file a bug report for this behaviour? I could not
find any. Otherwise I would like to do create one.

regards,
Lars
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>