bin/118150: pcap_stats() should be rate-limited

Giorgos Keramidas keramida at FreeBSD.org
Tue Nov 20 07:20:02 PST 2007


>Number:         118150
>Category:       bin
>Synopsis:       pcap_stats() should be rate-limited
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 15:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kobe 8.0-CURRENT FreeBSD 8.0-CURRENT #0:
Sun Nov 18 19:34:36 EET 2007 build at kobe:/home/build/obj/home/build/src/sys/KOBE i386

>Description:

When tcpdump reads captured data from a file, hitting ^T results in an
endless stream of:

pcap_stats: Statistics aren't available from savefiles

presumably one for each packet processed.  These can generate a *lot* of
output when processing large pcap input files, so we should try to limit
their number or even better, to print the error just once.

>How-To-Repeat:
>Fix:

(working on it)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list