[Owasp-Malaysia] (D)DoS Deflate (Buzz from Harisfazillah Jamel)

Harisfazillah Jamel linuxmalaysia at gmail.com
Thu Oct 14 09:10:42 EDT 2010

One liner Bro. Root best... TQ.

> Link to this post:
> http://www.google.com/buzz/105300886571813739107/DgpTN21M9NL/http-deflate-medialayer-com-D-DoS-Deflate-is-a

> Oct 13 Harisfazillah Jamel: http://deflate.medialayer.com/ (D)DoS Deflate is a lightweight bash shell script designed to assist in the process of blocking a denial of service attack. It utilizes the command below to create a list of IP addresses connected to the server, along with their total number of connections. It is one of the simplest and easiest to install solutions at the software level.
> 12:44 pm Mohammad Bahathir Hashim: Here is my version, where most of the works are donw by awk. So no 'cut' and 'uniq' are involved. :)

$ netstat -ntu | awk '/ESTABLISHED/{split ($5,FIP,":"); c[FIP[1]]++;}
END {for (ip in c) print c[ip],ip}' | sort -n

More information about the Owasp-Malaysia mailing list