[Snort-devel] No stats

Chris Green cmg at ...402...
Fri May 30 07:56:07 EDT 2003


Martin Olsson <elof at ...969...> writes:

> Why have all the nice information and statistics been removed from snort
> v2.0.0?
>

I don't think they have...

Ok, you must be talking about during daemon mode...

Not sure why:

Change In snort.c

    /* Print Statistics */
    if(!pv.test_mode_flag)
    {
        fpShowEventStats();
        DropStats(0);
    }

to
    /* Print Statistics */
    if(!pv.test_mode_flag)
    {
        fpShowEventStats();
        pv.quiet_flag = 0;
        DropStats(0);
        pv.quiet_flag = 1;
    }

Not entirely sure what all quiet_flag should control in this mode and
why it's set by default in daemon mode.

Anyone want to go do the CVS digging to assign blame? 
-- 
Chris Green <cmg at ...402...>
Let not the sands of time get in your lunch.




More information about the Snort-devel mailing list