Linux Checking connected Ip Address and How many Connection

netstat -ntu | grep ':' | awk '{print $5}' | sed 's/::ffff://' | cut -f1 -d ':' | sort | uniq -c | sort -nr

This command will check what Ip Addresses are connected to the machine and how many connection. This was a code used in dosdeflate an anti ddos program written for linux. Check google for dosdeflate.

Comments

Popular posts from this blog

Water Wonder Resort

Redirect apache request to another domain

Can't use proxy because no authentication schemes are fully configured.