Number of connections per IP address

To see number of connections per IP address on your server can help you to stop nasty things from being done to your beloved servers 😉

# netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

Of course, additional grep per port may help…..

This entry was posted in Linux and tagged , . Bookmark the permalink.

Comments are closed.