Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPTables / Snort

Reply
Thread Tools Display Modes

IPTables / Snort

 
 
BrianD
Guest
Posts: n/a

 
      10-01-2003, 02:34 PM
I would like to run Snort before and after IPTable firewall rules on a
single NIC box.

I think this text from the Snort FAQ helps answer some of my question. I
think Snort can only listen to interfaces or virtual interfaces so I
will be able to see all pre Firewalled traffic on ppp0 without a problem
but now how can I run a second instance of Snort to monitor post
firewall traffic? Can I have the kernel dump it to a virtual interface
like ppp0:1 ?

Thanks!



Snort FAQ:

4.4 Does snort see packets filtered by IPTables/IPChains/IPF/PF?

Snort operates using libpcap. In general it sees everything the network
adapter driver sees before the network stack munges it. Linux IPTables,
Linux IPChains, BSD PF and IPF and other packet filters do not prevent
snort from seeing a packet that is present on the network wire. Even if
an inbound packet is denied by the packet filter Snort will still see
and analyze the packet if it is listening to that interface. Snort/pcap
sees whatever comes out of or goes into the network adapter.

Note however that Snort is affected to the extent that the stream of
data on the network wire is affected. Thus Snort will not see outbound
packets which were denied while being sent since they will never reach
the network adapter.

Under OpenBSD you can snort just the PF rejects by using the /dev/pflogN
interface.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract attack-free data from snort IDS?Help! Lawrence Linux Networking 0 03-31-2008 01:57 PM
Intrusion Detection using snort Ivan Linux Networking 1 11-23-2007 11:27 AM
reduce snort binary size jeniffer Linux Networking 0 12-26-2006 07:45 AM
snort ajtiM Linux Networking 0 12-10-2006 11:58 PM
Logging network traffic - alternatives to snort? Charlie Linux Networking 1 10-07-2003 02:32 AM



1 2 3 4 5 6 7 8 9 10 11