A Blog to share my experience and knowledge, Iam dealing with Linux Server Administration.
Categories
Amazon Cloud
(2)
Apache
(5)
Centos
(5)
Cpanel
(31)
Installations
(11)
KVM
(3)
mysql
(9)
OpenVZ
(18)
Postgresql
(4)
ubuntu
(10)
VMware ESXI
(3)
Wordpress
(5)
Xen
(3)
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ad
No comments:
Post a Comment