In the active services view of the netstat tool the netstat command is called with "-A inet -ln" command line options. I think is better to use -putan command line options instead of "-A inet -ln" because -putan provides more information about the active services. Example: carlos kalptl:~$ netstat -A inet -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: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:848 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:25 0.0.0.0:* 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:* It only shows the connections of the inet family (ipv4) and doesn't show all the information carlos kalptl:~$ netstat -putan Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name 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: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:848 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN - tcp 0 0 192.168.0.3:32773 128.32.112.245:6667 ESTABLISHED 599/xchat tcp6 0 0 :::22 :::* LISTEN - tcp6 0 0 fec0:0:0:f101::3:32828 fec0:0:0:f101::2:22 ESTABLISHED 701/ssh tcp6 0 0 3ffe:b80:1752:2:2:32775 2001:1418:13:1::25:6667 ESTABLISHED 599/xchat udp 0 0 0.0.0.0:9 0.0.0.0:* - udp 0 0 0.0.0.0:111 0.0.0.0:* - it shows the connections for other families than inet (ipv4) and also shows more information like the pid/process name what do you think? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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