Snort mailing list archives

Re: Handling firewall rejected packets in SNort IPS


From: James Lay <digitalx00 () gmail com>
Date: Sun, 19 May 2013 08:19:14 -0600


On May 19, 2013, at 6:32 AM, VES Education <veseducation () yahoo com> wrote:

iptables -A Input jmptosnort
iptables -A Input jmptogood

OR

iptables -I Input jmptosnort
iptables -I Input jmptogood


in both cases, the actual ordering is not going to be what you expect it to 
be... jmptosnort will be last in line and everything else will be acted on first...

-A will append….so the order you see in your script is the order you'll get in the table.  -I will insert..each -I goes 
at the top of the table, effectively reversing the order in your script.  Just thought I'd toss that out there.

James 
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: