Snort mailing list archives
Re: Snort Inline mode with iptables problems on Ubuntu 12.04
From: Shivaramakrishnan Vaidyanathan <shivaramakrishnan740 () gmail com>
Date: Wed, 19 Mar 2014 16:03:09 -0400
Hi, I have installed the latest version of snort and want to run in inline mode and I have been having problems in accessing the machine once I change the iptables entries.I am able to start the snort with no issues.But as soon as I change the iptables, I am no longer able to access it.Here is the iptables commands that I use. iptables -A INPUT -i lo -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT iptables -A OUTPUT -o lo -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT iptables -A INPUT -j QUEUE iptables -A FORWARD -j QUEUE iptables -A OUTPUT -j QUEUE snort -Q --daq afpacket --daq-mode inline -i eth0:eth1 - u snort -g snort -c /etc/snort/snort.conf Snort version : 2.9.6.0 daq version : 2.0.2 If I try to run snort with daq mode in ipq or nfq, I get daq module not found.Though I see those modules built. Build AFPacket DAQ module :Yes Build IPFW DAQ module :Yes Build IPQ DAQ module :Yes Build NFQ DAQ module :Yes Build PCAP DAQ module : Yes (I believe I don't have to install extra modules for ip_queue on ubuntu 12.04).Please let me know what I am doing wrong here?Any suggestions is greatly appreciated. On Wed, Mar 19, 2014 at 3:17 PM, Shiva <shivaramakrishnan740 () gmail com>wrote:
Hi, I have installed the latest version of snort in inline mode and I have been having problems in accessing the machine once I change the iptables entries.I am able to start the snort with no issues.But as soon as I change the iptables, I am no longer able to access it.Here is the iptables commands that I use. iptables -A INPUT -i lo -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT iptables -A OUTPUT -o lo -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT iptables -A INPUT -j QUEUE iptables -A FORWARD -j QUEUE iptables -A OUTPUT -j QUEUE snort -Q --daq afpacket --daq-mode inline -i eth0:eth1 - u snort -g snort -c /etc/snort/snort.conf (I believe I don't have to install extra modules for ip_queue on ubuntu 12.04).Please let me know what I am doing wrong here?Any suggestions is greatly appreciated. -- Shiva
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ 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:
- Snort Inline mode with iptables problems on Ubuntu 12.04 Shiva (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 Shivaramakrishnan Vaidyanathan (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 James Lay (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 Shivaramakrishnan Vaidyanathan (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 James Lay (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 Shivaramakrishnan Vaidyanathan (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 Shivaramakrishnan Vaidyanathan (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 James Lay (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 Shivaramakrishnan Vaidyanathan (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 James Lay (Mar 19)
- Re: Snort Inline mode with iptables problems on Ubuntu 12.04 Shivaramakrishnan Vaidyanathan (Mar 19)