snort-users October 2010 archive
Main Archive Page > Month Archives  > snort-users archives
snort-users: Re: [Snort-users] Barnyard2 and multiple sensors

Re: [Snort-users] Barnyard2 and multiple sensors

From: Eoin Miller <eoin.miller_at_nospam>
Date: Thu Oct 21 2010 - 14:52:56 GMT
To: Russell Fulton <>

On 10/20/10 11:40 PM, Russell Fulton wrote:
> Hi Folks
> I am at the point where I need to have more than one snort instance running on a given sensor so we can take advantage of multiple CPUs and thus I will be producing multiple unified2 files on a sensor. Logically there is still just one sensor -- can barnyard2 merge input from more than one input file? I've googled and rtfm'ed and could not find anything that suggested that this is possible. I hope I missed something :)
> Russell
I setup each Snort instance to log to 1mb unified2 files and then I have
a perl script do an LS in the directory every 30 or so seconds, if it
sees two or more files from the same instance, then it fires up
barnyard2 to process the file. There is some slight lag in the alerts
getting to the sensor doing it this way, but it works pretty well for us.

I can toss you a copy of the script, init script and a little more info
on the Snort output setup if you like.

-- Eoin

Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
Snort-users mailing list
Go to this URL to change user options or unsubscribe:
Snort-users list archive: