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, 5 Feb 2007 14:38:50 +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: <20070205123455.GA27701@gate.dtucker.net>
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> <20070205124711.1ba64d02@jackdaw.neusy> <20070205123455.GA27701@gate.dtucker.net>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
Hi,

> Do you have X11UseLocalhost set in sshd_config?  If so, what does
> "localhost" resolve to?
the setting "X11UseLocalhost" is not defined in our sshd_config - so it
should be the default value "yes".

 jackdaw:~ # grep localhost /etc/hosts
 127.0.0.1       localhost
 ::1             ip6-localhost ip6-loopback

So "localhost" should resolve to the ipv4 address.


> If you can afford to do so you could try running without the ipv6
> stack loaded.
good idea!
I tried it ("AddressFamily inet") successfully: now busy ports are
skipped (as expected).


Maybe the ipv4 port should be checked in x11_create_display_inet, too?
(if "AddressFamily" is "any")
As I do not speak "C" fluently, I am unable to suggest something -
sorry ...


thanks a lot for your suggestion!

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>