Home page logo

snort logo Snort mailing list archives

Re: running snort
From: Balla István <balla.bmf () gmail com>
Date: Wed, 1 May 2013 22:39:34 +0200

sorry. snort.u2 is the log output format (unified2) with the appended
identifier: .1234557...
but why is that snort cannot read it with ./snort -r ./log/snort.u2.12345678

ERROR: Can't initialize DAQ pcap (-1) - unknown file format

2013/5/1 Balla István <balla.bmf () gmail com>

thanks for the answer Joel. snort is running as a daemon now. I wonder if
you could provide a flow file with malicious traffic patterns (not so
malicious, since my snort is not fine tuned yet :) that snort can read in
readback mode to test it.

**are detection and prevention functioning while reading back a flow or
any traffic file?


other thing: following a basic deployment documentation i added the
followings to rc.local:

/usr/local/bin/barnyard2 -c /usr/local/snort/etc/barnyard2.conf \
-G /usr/local/snort/etc/gen-msg.map \
-S /usr/local/snort/etc/sid-msg.map \
-d /var/log/snort \
-f snort.u2 \
-w /var/log/snort/barnyard2.waldo \

it runs cool but what is *-f snort.u2
i don t find it anywhere in the file system...


2013/4/30 Joel Esler <jesler () sourcefire com>

On Apr 30, 2013, at 3:43 PM, Balla István <balla.bmf () gmail com> wrote:

 please point to the appropriate chapter in snort manual (long one) where
Decoding Ethernet is explained (and how to modify)

"Decoding Ethernet" means "Snort is running now!".  I suggest you add
"-D" to your Snort command line to make Snort run as a daemon and then deal
with the logs it produces.

**one more thing: is "-h anyiphere" necessary in the line command once I
set ipvar HOME_NET variable in snort.conf?

-h is for the command line.  If you are setting HOME_NET in your
snort.conf, then no, you don't need it in your command line.

*Joel Esler*
Senior Research Engineer, VRT
OpenSource Community Manager

Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

Please visit http://blog.snort.org to stay current on all the latest Snort news!

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]