Pretty useful network tools | A collection nmap nstat socketstat commands | Primer

Okay a short summary - I recommend reading the man-pages for detailed info.

nmap | netstat | socketstat

sudo netstat -tulpen | grep -v 127.0.0.1 -> View Services and Ports
sudo nmap -sS IP -> SYN-Stealth-Scan, view open ports
sudo nmap -sU IP -> Scan UDP Ports instead of TCP
sudo nmap -sV IP -> Scan for RPC and other Services
sudo nmap -A IP -> Includes sV and tries to detect the remote OS
sudo sockstat -lc -> Show open and connected Sockets

Related stuff:
http://wiki.ubuntuusers.de/netstat
http://wiki.ubuntuusers.de/nmap
http://www.freebsd.org/cgi/man.cgi?query=sockstat&sektion=1

Have fun!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.