I have installed snort-inline in Centos
I work very well, it can Alert or Drop packet well!
*In iptable rule, I monitor only port 80:*
iptables -I INPUT -p tcp --dport 80 -j QUEUE
iptables -I OUTPUT -p tcp --sport 80 -j QUEUE
*In rule, I use only one rule for test:*
#Drop all access to webserver if more than 10 access/second
drop tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS
(msg:"WEB-MISC access"; flow:to_server, established; uricontent:"/";
nocase; reference:nessus,10302; classtype:web-application-activity;
threshold: type both , track by_dst, count 10 , seconds 10 ; sid:1852;
(I refer this rule at:
*But now, I have problem:
* When drop packet, snort-inline BLOCKs that IP and Snort-inline seem
NOT release that IP ----> It means snort-inline BLOCK that IP forever
(untill restart snort-inline)
So, I want snort inline drop/block one IP in time range (ex, some
How to do this?
*Thank you in advanced!