[Snort-users] Need help in getting barnyard and Snort to work together

Paul Schmehl pauls at ...6838...
Thu Jan 31 12:02:54 EST 2008

--On Wednesday, January 30, 2008 19:01:48 -0500 sudhakar govindavajhala 
<sudhakarg79spam at ...11827...> wrote:

> Thanks Paul,  please read on.
>> 2) As I noticed, each time Snort is restarted, the log file name changes.
>> For example, snort.log.1201695424 to snort.log.12016923232.  Why?  Change in
>> log file name implies that barnyard.waldo needs to change every time there is
>> a reboot, making configurations unstable.
> That's normal behavior and has no ill effects.
> OK.  Does it mean I need to change the waldo config file each time my
> computer reboots or Snort restarts?

No.  Barnyard maintains the waldo file and understands that snort appends a 
numerical string to the end of its logfiles.

>> Can you tell me what I need to do from here to be able to automate Snort and
>> barnyard?
> Without knowing what OS you're using?  Not likely.
> SG: Red Hat EL 4

Google for it.  There are numerous documents out there that provide pre-written 
startup scripts for RedHat, but writing one yourself is trivial if you know any 
shell scripting at all.  Even if you don't, you can simply copy an existing 
script and change a few items.

Snort docs has numerous guides that include startup scripts. 

And Patrick Harper's guides were excellent: 

Paul Schmehl (pauls at ...6838...)
Senior Information Security Analyst
The University of Texas at Dallas

More information about the Snort-users mailing list