Easy Linux
Knowledge is to be shared
Friday, March 22, 2013
Command to check no of connections coming to linux server from an IP.
It is usefull to check any ddos attack on the server.
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment