Snort mailing list archives

Re: Multiple log files


From: waldo kitty <wkitty42 () windstream net>
Date: Fri, 09 Jan 2015 21:26:14 -0500

On 1/9/2015 9:49 AM, test engineer wrote:
Thanks Waldo, yes they are pcaps (to be specific).  The odd thing is I'm running
8 snort processes. (in a test environment)

/usr/sbin/snort -A fast -U -b -d -e -D -i dag0:0 -c /etc/snort/snort.conf -l
/var/log/snort
/usr/sbin/snort -A fast -U -b -d -e -D -i dag0:2 -c /etc/snort/snort.conf -l
/var/log/snort
/usr/sbin/snort -A fast -U -b -d -e -D -i dag0:4 -c /etc/snort/snort.conf -l
/var/log/snort
etc... up to dag0:14.

Based on your comment, there should be 8 log (pcap) files but there is not  The
question I'm trying to answer is why are there
2 or sometimes 3 pcap files?  Also...only one of the pcap files collects data,
the others are empty.

timing, man... timing... those numbers? they're a unix timestamp, IIRC ;)

what has probably happened is that more than one instance has created/attached 
to the same pcap file at the same time...

you need to have each one using its own logging directory OR you need to figure 
out how to have each one use its own ID (that you have assigned when starting 
each instance) as part of the log file names it creates... not just these pcap 
files but any other log files, too...


eg:
snort-01.log.1420562102
snort-02.log.1420562102
snort-04.log.1420562102
snort-06.log.1420562102
snort-10.log.1420562102
snort-14.log.1420562102
snort-20.log.1420562102


-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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: