Snort mailing list archives

Re: Initializing Output Plugins!


From: Erek Adams <erek () theadamsfamily net>
Date: Sun, 6 Oct 2002 14:06:26 -0700 (PDT)

On Sun, 6 Oct 2002, Sander Smeenk wrote:

Ofcourse I did, quite obvious -q should stop these messages, but it
doesn't... I added the -q flag, but still it prints these messages:

[22:33] [root@knopje: .. debian/snort/snort-1.9.0] # /etc/init.d/snort start
Starting Network Intrusion Detection System: snortInitializing Output Plugins!
.
[22:33] [root@knopje: .. debian/snort/snort-1.9.0] #

Ok, have a look at plugbase.c:540-543.

     540     if(!pv.quiet_flag)
     541     {
     542         LogMessage("Initializing Output Plugins!\n");
     543     }

If the quiet flag is not set, then it would print that.  But since you're
setting it it shouldn't be printing.

What I'm guessing is that you're running it without the -D flag.  From the
code of LogMessage in util.c:552-572 it seems it makes three checks.  If quiet
and daemon, then return.  If daemon, go to syslog otherwise print to stderr.
That would fit for what you're describing.

If you _are_ running with the -D flag, then there's something else going on.

-----
Erek Adams
Nifty-Type-Guy
TheAdamsFamily.Net



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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: