Important fix (sshd && binding). Portable version only.

Arkadiusz Miskiewicz misiek at pld.ORG.PL
Sun Feb 18 04:14:31 EST 2001


On/Dnia Sat, Feb 17, 2001 at 05:31:53PM +0100, Kevin Steves wrote/napisał(a)
> that change is broken,
not exacly. You need to chose between two situations ... see below

> because it skips displaying valid error messages,
> and also displays invalid error messages; in this case port 22 is
> already bound:
so now remove all ListenAddress directives from config and run sshd
on ipv6 ready kernel... It will try to bind on :: and then
bind on 0.0.0.0. If you remove af_next check then second bind will
cause error message but this is _proper_ configuration and _proper_ bind
behavoiur at least on Linux. Problem exist due to different ipv6 implementations/rfc
interpretations. You need to choose between geting error even on proper configurations
or not showing it in some cases.

> debug1: Bind to port 22 on 0.0.0.0.
> Server listening on 0.0.0.0 port 22.
> debug1: Bind to port 24 on 0.0.0.0.
> Server listening on 0.0.0.0 port 24.
> Generating 768 bit RSA key.

-- 
Arkadiusz Miśkiewicz, AM2-6BONE    [ PLD GNU/Linux IPv6 ]
http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/   [ enabled ]





More information about the openssh-unix-dev mailing list