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 18:31:44 -0400
What changes did you do to make snort see the other daq modules that were missing in my case? On Wed, Mar 19, 2014 at 6:25 PM, James Lay <jlay () slave-tothe-box net> wrote:
On 2014-03-19 14:35, Shivaramakrishnan Vaidyanathan wrote:I have it installed and recompiled.The problem is not snort is not able to see the nfq and ipq daq modules. It is able to see pcap,ipfw,dump,afpacket 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 -- Shiva On Wed, Mar 19, 2014 at 4:29 PM, James Lay <jlay () slave-tothe-box net [7]> wrote:On 2014-03-19 14:15, Shivaramakrishnan Vaidyanathan wrote:But when i try to run with daq as nfq,I get daq module nfq notfound.Though I see them built,when i use ./configure in daq. On Wed, Mar 19, 2014 at 4:08 PM, James Lay<jlay () slave-tothe-box net [1][6]> wrote:On 2014-03-19 13:17, Shiva wrote:Hi, I have installed the latest version of snort in inline modeand Ihave been having problems in accessing the machine once Ichangetheiptables entries.I am able to start the snort with noissues.Butassoon as I change the iptables, I am no longer able to accessit.Hereis 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 - usnort-gsnort -c /etc/snort/snort.conf (I believe I dont have to install extra modules for ip_queueonubuntu 12.04).Please let me know what I am doing wronghere?Anysuggestions is greatly appreciated. -- ShivaFrom an Ubuntu 12.0.4 box I have: snort --daq-list Available DAQ modules: pcap(v3): readback live multi unpriv nfq(v7): live inline multi ipfw(v3): live inline multi unpriv dump(v2): readback live inline multi unpriv afpacket(v5): live inline multi unpriv ldd `which snort` linux-gate.so.1 => (0xb7776000) libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0xb75b8000) libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb757c000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb754f000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb754a000) libnetfilter_queue.so.1 => /usr/lib/libnetfilter_queue.so.1 (0xb7546000) libsfbpf.so.0 => /usr/local/lib/libsfbpf.so.0 (0xb7520000) libpcap.so.0.8 => /usr/lib/i386-linux-gnu/libpcap.so.0.8 (0xb74e9000) libdnet.1 => /usr/lib/libdnet.1 (0xb74d9000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb74c3000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb74a8000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb72fe000) /lib/ld-linux.so.2 (0xb7777000) libnfnetlink.so.0 => /usr/lib/libnfnetlink.so.0 (0xb72f6000) And some package info: ii libnetfilter-queue-dev 0.0.17-1 Development files for libnetfilter-queue1 ii libnetfilter-queue1 0.0.17-1 Netfilter netlink-queue library ii libnfnetlink-dev 1.0.0-1 Development files for libnfnetlink0 Hope this helps. James ------------------------------------------------------------------------------ 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!
------------------------------------------------------------------------------ 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)