Re: [gnome-network]IPv6 netstat patch



El jue, 09-10-2003 a las 17:02, German Poo Caaman~o escribió:
> El lun, 06-10-2003 a las 08:14, Carlos Garcia Campos escribió:
> > Proposed patch for the netstat IPv6 support.
> 
> I've been looking in a Solaris machine how netstat works (finally),
> and  I've some questions about your patch:
> 
> Are you sure that "-A inet -A inet6" will show both familys?

Yes, 

carlos kalptl:~$ netstat -A inet -A inet6 -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address        
State
tcp   0      0 0.0.0.0:37              0.0.0.0:*               LISTEN
tcp   0      0 0.0.0.0:9               0.0.0.0:*               LISTEN
tcp   0      0 0.0.0.0:844             0.0.0.0:*               LISTEN
tcp   0      0 0.0.0.0:13              0.0.0.0:*               LISTEN
tcp   0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp   0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp   0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
tcp6  0      0 :::22                   :::*                    LISTEN
udp   0      0 0.0.0.0:9               0.0.0.0:*
udp   0      0 0.0.0.0:111             0.0.0.0:*

and also works "netstat -4 -6 -ln" or "netstat -46 -ln"

> I ask because netstat for Solaris only take the last argument.
> For instance, "netstat -f inet -f inet6" will only show 
> INET6 sockets.
> 
> Anyway, the solaris output will need some love to get the
> the same results as Linux.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Carlos Garcia Campos a.k.a. KaL
   elkalmail yahoo es
   carlosgc gnome org
 Grupo Linups
   Usuarios de SL/Linux de la UPSAM
 http://www.linups.org
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=		  
PGP key: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x523E6462

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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