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:36:52 -0400

Snort is not able to see ipq and nfq dac modules.It is seeing the rest when
I do a snort --daq-list


On Wed, Mar 19, 2014 at 4:35 PM, Shivaramakrishnan Vaidyanathan <
shivaramakrishnan740 () gmail com> 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>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 not found.
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
[6]> wrote:

On 2014-03-19 13:17, Shiva 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

I see...you're going to want to install the libnetfilter-queue-dev
package.  I also had to recompile daq and snort, and I even recompiled
libnet.

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: