netstat -atunp
shows list of open listening/connected ports (*A*ll, *T*cp, *U*dp, *N*umeric, *P*id)

nmap -sS hostname
scans open ports on hostname

nmap -sT hostname
scans open ports on hostname. Faster, but 'noisier'

nmap -sU hostname
scans open UDP ports on hostname

iptables -L -v
shows your iptables rules. The -v verbose option shows the interfaces and stats.

arp [hostip]
spits back the MAC address for that IP

Someday try...

  • arpwatch - shows low level network traffic to resolve IPs and MACs

-- MattWalsh - 29 Nov 2004

Topic revision: r3 - 01 Jan 2007 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback