[Coral-dev] Printing packet stats: 0 packets received?
Jeff Terrell
jeff.terrell at acm.org
Thu Jul 8 18:00:35 PDT 2010
On Thu, Jul 8, 2010 at 7:32 PM, Ken Keys <kkeys at caida.org> wrote:
> The problem is that libpcap does not report packets recieved or
> dropped when reading from a tracefile, but only when reading from
> a live interface. This isn't stated in the CoralReef documentation,
> but CoralReef gets the stats from libpcap, so it has the same
> limitation. (When reading from a live pcap interface, the only
> stats available will be pkts_recv and pkts_drop; the others will
> always be zero.)
Ah...well, that would explain it! So I guess the problem lies with
libpcap. If I find some time, I might shoot those guys an email about
it. I'll keep you all posted if I find anything.
As always, thanks, Ken. :-)
-Jeff T.
More information about the Coral-dev
mailing list