[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenSSH and netstat



In article <[🔎] 3A7F9AE0.DA89A9A5@ericssontelebit.com> (at Tue, 06 Feb 2001 07:34:08 +0100), Fabio Massimo Di Nitto <fabi@ericssontelebit.com> says:

> tcp        0      0 :::22                   :::*                   
> LISTEN
> tcp        0    348 ::ffff:192.66.4.234:22  ::ffff:192.66.4.8:47683
> ESTABLISHED
> 
> from an ipv6 point of view is 99% right (the source ipv4 address is
> 192.66.4.87)
> but i'm using ipv4 to connect and in the netstat -a i'm not able to find
> a line
> like this:
> 
> tcp        0      0 0.0.0.0:22              0.0.0.0:*              
> LISTEN
> 
> and the ESTABLISHED connection in ipv4

It's normal on original linux kernels.
::ffff:a.b.c.d is called ipv4-mapped ipv6 address and
your box are accepting ipv4 connections using ipv6 socket.

If you don't like it (i.e. only pure ipv6 connections should go to ipv6 
socket and ipv4 connections should go to ipv4 socket), 
use USAGI kernels. :-)

See <http://www.linux-ipv6.org/>.  
We've just released 2nd STABLE kernels.

-- 
Hideaki YOSHIFUJI @ USAGI Project  <yoshfuji@linux-ipv6.org>
PGP5i FP: F731 6599 5EB2 BBA7 1515  1323 1806 A96F 5700 6B25 



Reply to: