X forwarding: trying to forward to busy local port

Jim Knoble jmknoble at pobox.com
Tue Feb 20 04:40:25 EST 2007


Circa 2007-02-19 06:06 dixit Lars Kruse:

: 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.

Anyone know if there's an IPv6 equivalent to Linux's
/proc/sys/net/ipv4/ip_local_port_range (equivalent to the
'net.ipv4.ip_local_port_range' sysctl)?  Under IPv4, this twiddles the
port range available when connect(2)-ing without specifying the local
endpoint's TCP port number.

If there is such a twiddle for IPv6, you might be able to use it to work
around this problem.  For example, with the IPv4 setting:

    su root -c sysctl -w 'net.ipv4.ip_local_port_range=7000 65535'

Best,
jim

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG key ID: 6F39C2CC  >>>>>>  http://www.pobox.com/~jmknoble/keys/ )
(GnuPG fingerprint: 5024:D578:7CF4:5660:7269::F6F3:B919:9307:6F39:C2CC)
+----------------------------------------------------------------------+
|[L]iberty, as we all know, cannot flourish in a country that is perma-|
| nently on a war footing, or even a near-war footing.  --Aldous Huxley|
+----------------------------------------------------------------------+


More information about the openssh-unix-dev mailing list