Snort mailing list archives

Stats addition to Snort 2.2.0


From: "Bill Parker" <dogbert () netnevada net>
Date: Mon, 30 Aug 2004 22:09:18 -0700

Hi All,

    I added some additional functionality to snort when it exits from daemon mode in the form of this:

Aug 30 20:56:15 nermal snort: Snort received 2653 packets 
Aug 30 20:56:15 nermal snort:     Analyzed: 2653(100.000%) 
Aug 30 20:56:15 nermal snort:     Dropped: 0(0.000%) 
Aug 30 20:56:15 nermal snort:   
Aug 30 20:56:15 nermal snort: Snort Total Run Time (in seconds) was: 15   <--- new stuff
Aug 30 20:56:15 nermal snort: Snort Analyzed 176 Packets Per Second     <--- new stuff
Aug 30 20:56:15 nermal snort:

If anyone would like to see how I did this, i'd be happy to post my modifications (don't laugh too hard, it's my first 
attempt at coding "C" in a LONG time, so i'm really rusty) :)

Bill

Current thread: