From keramida@ceid.upatras.gr  Tue Nov 20 15:18:55 2007
Return-Path: <keramida@ceid.upatras.gr>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9C91416A417
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Nov 2007 15:18:55 +0000 (UTC)
	(envelope-from keramida@ceid.upatras.gr)
Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36])
	by mx1.freebsd.org (Postfix) with ESMTP id 15FDC13C45D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 Nov 2007 15:18:54 +0000 (UTC)
	(envelope-from keramida@ceid.upatras.gr)
Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37])
	(authenticated bits=128)
	by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lAKFINbg031637
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 20 Nov 2007 17:18:42 +0200
Received: from kobe.laptop (kobe.laptop [127.0.0.1])
	by kobe.laptop (8.14.2/8.14.2) with ESMTP id lAKFIIlE004658;
	Tue, 20 Nov 2007 17:18:18 +0200 (EET)
	(envelope-from keramida@kobe.laptop)
Received: (from keramida@localhost)
	by kobe.laptop (8.14.2/8.14.2/Submit) id lAKFIIHT004657;
	Tue, 20 Nov 2007 17:18:18 +0200 (EET)
	(envelope-from keramida)
Message-Id: <200711201518.lAKFIIHT004657@kobe.laptop>
Date: Tue, 20 Nov 2007 17:18:18 +0200 (EET)
From: Giorgos Keramidas <keramida@freebsd.org>
Reply-To: Giorgos Keramidas <keramida@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mlaier@freebsd.org
Subject: pcap_stats() should be rate-limited
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         118150
>Category:       bin
>Synopsis:       pcap_stats() should be rate-limited
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mlaier
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 15:20:01 UTC 2007
>Closed-Date:    Sun Nov 25 19:29:40 UTC 2007
>Last-Modified:  Sun Nov 25 19:30:00 UTC 2007
>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@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:
State-Changed-From-To: open->patched 
State-Changed-By: mlaier 
State-Changed-When: Wed Nov 21 12:47:26 UTC 2007 
State-Changed-Why:  
Reported upstream, committed to HEAD, MFC in 3 days. 


Responsible-Changed-From-To: freebsd-bugs->mlaier 
Responsible-Changed-By: mlaier 
Responsible-Changed-When: Wed Nov 21 12:47:26 UTC 2007 
Responsible-Changed-Why:  
Grab this one until the patch is committed upstream. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118150 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118150: commit references a PR
Date: Wed, 21 Nov 2007 12:52:41 +0000 (UTC)

 mlaier      2007-11-21 12:52:26 UTC
 
   FreeBSD src repository
 
   Modified files:
     contrib/tcpdump      tcpdump.c 
   Log:
   Avoid excessive error message printout.
   
   PR:             bin/118150
   Reported by:    keramida
   MFC after:      3 days
   
   Revision  Changes    Path
   1.13      +1 -0      src/contrib/tcpdump/tcpdump.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: mlaier 
State-Changed-When: Sun Nov 25 19:28:51 UTC 2007 
State-Changed-Why:  
Accepted upstream and MFCed to RELENG_7.  My work here is done.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118150 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/118150: commit references a PR
Date: Sun, 25 Nov 2007 19:28:44 +0000 (UTC)

 mlaier      2007-11-25 19:28:38 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     contrib/tcpdump      tcpdump.c 
   Log:
   MFC tcpdump.c 1.13:
      Avoid excessive error message printout.
   
   PR:             bin/118150
   Approved by:    re (kensmith)
   
   Revision  Changes    Path
   1.11.2.2  +2 -1      src/contrib/tcpdump/tcpdump.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
