[Bro-Dev] #500: PktSrc::Statistics generates bogus stats when reading a trace

Bro Tracker bro at tracker.bro-ids.org
Mon Aug 1 14:50:34 PDT 2011


#500: PktSrc::Statistics generates bogus stats when reading a trace
----------------------+---------------------
  Reporter:  vern     |      Owner:  jsiwek
      Type:  Problem  |     Status:  closed
  Priority:  Normal   |  Milestone:  Bro1.6
 Component:  Bro      |    Version:
Resolution:  fixed    |   Keywords:  Preview
----------------------+---------------------
Changes (by jsiwek):

 * owner:   => jsiwek
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [d6d34f3a1fc11546a88f457a42e136a22d1e37b0/bro]:
 {{{
 #!CommitTicketReference repository="bro"
 revision="d6d34f3a1fc11546a88f457a42e136a22d1e37b0"
 Fix PktSrc::Statistics returning bogus stats.

 When reading from trace files, 'dropped' and 'link' fields are now
 just zeroed.

 When reading from an interface, the values filled in by pcap_stats()
 are now only used when that function indicates success.

 Closes #500.
 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/500#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list