Snort mailing list archives

Re: Snort 3 Beta 3 -- sspiffy.sh init_src() function


From: Russ Combs <rcombs () sourcefire com>
Date: Mon, 6 Apr 2009 15:35:33 -0400

Thanks for reporting this issue.  To fix with the attached patch:

cd src/analysis/snort
patch -p0 < sspiffy.patch

Russ

On Sat, Apr 4, 2009 at 9:43 PM, Burks, Doug <doug.burks () morris com> wrote:

sspbeta () sourcefire com,

There seems to be a bug in the new sspiffy.sh script that wasn't there in
Beta 2.

I ran the following command:
sspiffy.sh /usr/local -c snort_orig.conf -i eth0

The script properly created snort.lua and snort.conf.  However, when
running snortsp with the resulting snort.lua, it tries to read a *file*
called "eth0".  I opened snort.lua and found the following in the init_src
function:
type="file", snaplen=1514

I changed this line to:
type="pcap", snaplen=1514

and everything works fine.

Thanks,
Doug Burks


Attachment: sspiffy.patch
Description:

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: