Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-IDS
[Top] [All Lists]

Re: Snort & iptables on the same box

Subject: Re: Snort & iptables on the same box
Date: Mon, 13 Jun 2005 10:01:47 +0200
On Fri, Jun 10, 2005 at 05:04:28PM -0400, Jean-Pierre Denis wrote:
Hi,


 When running snort and iptables on the same box, which of the 2 act first ?

 Those it go thru snort and then the iptable rule allow or deny the
connection
 or it's the other way around


Merci,
JP

Hi JP,

Neither 'act first' in a standard configuration; if you use Snort in
(standard) IDS mode, it sees the packets at the same time as Netfilter
(the kernel part of IPTables) and acts independently.

If you use Snort_inline (IPS mode), the packets enter Netfilter, which
may choose to pass it to Snort_inline via the QUEUE target at some
point.

This is all in the snort documentation, BTW.

                Joachim

--------------------------------------------------------------------------
Test Your IDS

Is your IDS deployed correctly?
Find out quickly and easily by testing it with real-world attacks from 
CORE IMPACT.
Go to http://www.securityfocus.com/sponsor/CoreSecurity_focus-ids_040708 
to learn more.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>