Request script

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
crewbg
Posts: 1
Joined: Sat Jul 17, 2010 4:38 pm

Request script

Post by crewbg »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest