-----Original Message----- From: David F. Skoll Sent: Tue 9/15/2009 3:09 PM To: [email protected] Subject: Re: [Mimedefang] Firewalls and Mimedefang > Well, why don't you get a list of listening ports: > > TCP ports: netstat -a -t -n | grep LISTEN > UDP ports: netstat -a -u -n | grep '0 0.0.0.0:' > > (The UDP line might only work on Linux. It certainly assumes IPv4. :-))
Or you could do: netstat -n -l -p Which will show all (tcp/udp, IPv4/IPv6) listening ports and the associated pid/program. _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

