netstat options

dick hoogendijk dick at nagual.st
Thu Sep 18 04:01:26 PDT 2003


I want a kind of list you get with (linux) "netstat -atun"

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address    Foreign Address   State      
tcp   0   0 0.0.0.0:32768      0.0.0.0:*               LISTEN      
tcp   0   0 0.0.0.0:32769      0.0.0.0:*               LISTEN      
tcp   0   0 0.0.0.0:993        0.0.0.0:*               LISTEN      
tcp   0   0 0.0.0.0:515        0.0.0.0:*               LISTEN      
tcp   0   0 0.0.0.0:995        0.0.0.0:*               LISTEN      
tcp   0   0 0.0.0.0:37         0.0.0.0:*               LISTEN

I'm trying to find out why my courier mta gives me a " connection
refused" on a 'telnet localhost 25' Courier is running; mail is received
and delivered. Still I get these 'refused' messages..

So, if anybody knwo how to get a list like above in FreeBSD-4.8?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya


More information about the freebsd-questions mailing list