Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (6 sloc) 358 Bytes

Collection of Linux Scripts for firewall, security, alerts, monitoring, etc…

1. check_syn_flood.rb

Will check if there are more than 40 SYN_REC TCP streams from the same IP.

Then it will block with iptables, inserting at top of chain the offending IP. such as:

/sbin/iptables -I INPUT -s -j DROP

Works on Linux and OSX

Jump to Line
Something went wrong with that request. Please try again.