Snort mailing list archives

Re: problem with alert_syslog and internal statistics...


From: Matt Kettler <mkettler () evi-inc com>
Date: Thu, 13 Feb 2003 14:43:31 -0500

I'm pretty sure that the sigusr1 code doesn't use your settings for the alert output. Reading from util.c, SigUSR1Wrap() calls DropStats() which calls LogMessage() which does:

        syslog(LOG_DAEMON | LOG_NOTICE, "%s", buf);


At 10:55 AM 2/13/2003 -0800, Bob Hoffmaster wrote:
Internal statistics are not being written to the syslog facility.

(I have been searching the archives for this problem, but, no luck)

Snort alert messages and PID are successfully being written to the
/var/adm/messages

BUT when I 'kill -USR1 <snort pid>', the internal statistics summary
information is not written to the /var/adm/messages file.

Starting snort this way: 'snort -c /snort.conf' and/or 'snort -N -c
/snort.conf

my snort.conf has this entry:
        output alert_syslog: LOG_AUTH LOG_ALERT LOG_PID

my syslog.conf file (Solaris OS) has this entry:
        *.alert         /var/adm/messages

Any suggestions would be appreciated.
Bob Hoffmaster



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
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: