[netflow-tools] softflowd statistics bug

Damien Miller djm at mindrot.org
Wed Sep 28 10:36:22 EST 2005


On Tue, 27 Sep 2005, Robin Breathe wrote:

> Damien,
>
> In softflowd.c, it is falsely assumed that every expired flow will lead
> to 2 exports.
> This has made testing of the other bug (in flowd) a little harder as
> softflowd reports that it has exported more flows than it really has.
>
> Line 782: ft->flows_exported += num_expired * 2;
> Line 786: ft->flows_dropped += num_expired * 2;
>
> In the case of a unidirectional flow, this is not the case.

I think this is fixed in the development version, of which I have just set 
up public snapshot releases. Have a look at:

http://www2.mindrot.org/softflowd_snap/

-d




More information about the netflow-tools mailing list