[Bug 401] ipv4 mapped address (ipv4 in ipv6) and ipv6 support fix
Ben Lindstrom
mouring at etoh.eviladmin.org
Wed Sep 25 22:56:10 EST 2002
It was my impression that Linux 2.2 kernel's IPv6 support is pretty much
non-existance. It barely works and is barely supported. 2.4 is when IPv6
actually became useful.
So I agree with Pekka. I'm not sure we want this.
- Ben
On Wed, 25 Sep 2002, Pekka Savola wrote:
> Personally I think this is a bit non-issue. "Don't do IPv6 with 2.2
> kernel" is what the users have been told for ages and ages.
>
> On Wed, 25 Sep 2002 bugzilla-daemon at mindrot.org wrote:
> > http://bugzilla.mindrot.org/show_bug.cgi?id=401
> >
> >
> >
> >
> >
> > ------- Additional Comments From yoshfuji at linux-ipv6.org 2002-09-25 15:04 -------
> > >is the scope-id incompatibility because of different sized
> > >sockaddr_in6 structure lengths?
> >
> > Yes, if you try to run sshd with ipv6 support with glibc-2.2 on linux-2.2,
> > sshd disconnects any connections. This is because
> > - kernel gives sshd sockaddr_in6 without sin6_scope_id (size is 24 bytes)
> > - glibc-2.2 expects sockaddr_in6 is 28 bytes long and
> > getnameinfo() failed because length is different than one expected.
> >
> >
> > >How does the problem manifest in unpatched OpenSSH?
> > |# sshd -6 -d
> > |:
> > |debug1: Bind to port 22 on ::.
> > |Server listening on :: port 22.
> > |Generating 768 bit RSA key.
> > |RSA key generation complete.
> > |debug1: Server will not fork when running in debugging mode.
> >
> > When I connect to this sshd, sshd disconnects immediately.
> >
> > |% ssh -v 127.0.0.1
> > :
> > |debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.
> > |debug1: Connection established.
> > :
> > |ssh_exchange_identification: Connection closed by remote host
> > |debug1: Calling cleanup 0x8064174(0x0)
> >
> > sshd debug messages are:
> >
> > |get_sock_port: getnameinfo NI_NUMERICSERV failed
> > |debug1: Calling cleanup 0x806be4c(0x0)
> >
> >
> >
> > ------- You are receiving this mail because: -------
> > You are the assignee for the bug, or are watching the assignee.
> > _______________________________________________
> > openssh-unix-dev at mindrot.org mailing list
> > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> >
>
> --
> Pekka Savola "Tell me of difficulties surmounted,
> Netcore Oy not those you stumble over and fall"
> Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
>
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list