Paul's Blog
Showing posts with label
ip
.
Show all posts
Showing posts with label
ip
.
Show all posts
Thursday, 22 August 2013
View connections to Linux server by IP
This command will output the list of unique IP's currently connected to your Linux server. This is really helpful in identifying someone who is trying to DDoS your server.
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Older Posts
Home
Subscribe to:
Posts (Atom)