ssh 'connection reset by peer' problem since 5.8p1

Darren Tucker dtucker at zip.com.au
Thu Feb 17 14:00:32 EST 2011


On 17/02/11 8:35 AM, Cyrille Lefevre wrote:
> debug1: Bind to port 2222 on ::.
> Server listening on :: port 2222.
>
> but why can't you bind to port 2222 IPv4 ?

On some platforms (eg Linux) listening on an IPv6 socket will also get 
you IPv4 connections as mapped 4-in-6 addresses.  sshd will latter unmap 
it (look for ipv64_normalise_mapped in canohost.c).

It's not related to the problem in this thread.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list