A Blog to share my experience and knowledge, Iam dealing with Linux Server Administration.
Monday, 28 May 2012
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
‹
›
Home
View web version
No comments:
Post a Comment