Hi any body can help me i have problem with ddos atack my server.. I need sample script..
Example
I have one script who run this command:
netstat -n -p TCP | grep SYN_RECV
And give me sample results..
tcp 0 0 lucifer.rsbg.info:www 216.239.35.83:3192 SYN_RECV
tcp 0 0 lucifer.rsbg.info:www 216.239.35.82:2709 SYN_RECV
I need script who get this results and run this command
iptables -I INPUT -s IP -j DROP
This is example results .. i need for auto get results and banned this IP
Thanks
Request script
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 3 guests