Home page logo
/

snort logo Snort mailing list archives

Re: Multiple Snort instances processing Pcap files
From: Y M <snort () outlook com>
Date: Thu, 30 May 2013 00:50:32 +0300

I just reread your original post.

What does your syslog say?

Is there a requirement to run multiple instances of snort? Would using --pcap-dir=your/pcap/directory instead of -r be 
more sufficient?

--pcap-dir would read pcap files in the directory you choose. In this case, one instance will be able to read all pcap 
files stored in the given directory.
________________________________
From: Y M<mailto:snort () outlook com>
Sent: ‎5/‎30/‎2013 12:26 AM
To: Parker, Jonathan E.<mailto:jep () g-c-i net>; Shawn Lee<mailto:dashawn () gmail com>
Cc: snort-users () lists sourceforge net<mailto:snort-users () lists sourceforge net>
Subject: Re: [Snort-users] Multiple Snort instances processing Pcap files

What exactly happens as the number of instances increases? Does Snort process(s) terminate unexpectedly? Or do you get 
inconsistent readings?
________________________________
From: Parker, Jonathan E.<mailto:jep () g-c-i net>
Sent: ‎5/‎30/‎2013 12:02 AM
To: Shawn Lee<mailto:dashawn () gmail com>
Cc: snort-users () lists sourceforge net<mailto:snort-users () lists sourceforge net>
Subject: Re: [Snort-users] Multiple Snort instances processing Pcap files

Hey, thanks for the reply.

- Snort 2.9.4.5
- No definitive number of processes where failing starts that I can determine.  It seems to have more trouble the more 
instances I run.
- My snort.conf file is fairly large and I don't have a quick way to get it to my "internets" workstation.  But pcaps 
are processed just fine with my snort.conf if I process one file at a time.  Could there be something that becomes an 
issue re: snort.conf if one runs multiple instances.

I saw another reply that maybe it is a threading issue - I didn't know Snort was single threaded - just started using 
it.  Perhaps that is my issue.

Thanks - Jon
________________________________
From: Shawn Lee [dashawn () gmail com]
Sent: Wednesday, May 29, 2013 4:39 PM
To: Parker, Jonathan E.
Cc: snort-users () lists sourceforge net
Subject: Re: [Snort-users] Multiple Snort instances processing Pcap files

What version of snort? Is there a number or processes in parallel that it starts failing at? What is your snort config?


On Wed, May 29, 2013 at 10:53 AM, Parker, Jonathan E. <jep () g-c-i net<mailto:jep () g-c-i net>> wrote:
I've developed a script (CentOS) to process .pcap files as they arrive in a directory.  It starts an instance of Snort 
to process the file (snort -y -r <pcap file> -c snort.conf -l <a unique directory for the given .pcap>).  I'm having 
occasional issues when multiple instances of Snort are running at the same time, the processing terminates for some 
files with the message "Error during Snort processing".  If I process the file w/o other instances of Snort running, it 
works fine.  It seems to get worse (more failures) the more instances of Snort I have running at once.

Any ideas on what might be causing this issue?

Thanks - Jon

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net<mailto: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!

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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!
------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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!
------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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!

  By Date           By Thread  

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