Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1361214

Summary: netsniff-ng: wrong stats when pkt_type filter is enabled
Product: Red Hat Enterprise Linux 7 Reporter: Paolo Abeni <pabeni>
Component: netsniff-ngAssignee: Eric Garver <egarver>
Status: CLOSED ERRATA QA Contact: xmu
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: mleitner, pabeni, xmu
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 06:14:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Paolo Abeni 2016-07-28 14:06:02 UTC
When a packet type filter is used, netsniff-ng shows wrong results for both 'dropped' and 'unread' packets on exit.

see:
https://bugzilla.redhat.com/show_bug.cgi?id=1354445#c6
the first scenario, for a reproducer

Comment 1 Paolo Abeni 2016-07-29 09:35:30 UTC
fixed upstream with the commit:

commit da6e1d1108ad22d68ccbff07fb569afebb265bf7
Author: Paolo Abeni <pabeni@redhat.com>
Date:   Wed Jul 27 15:59:08 2016 +0200

    netsniff-ng: Account skipped packets as 'seen' and 'dropped'

Comment 9 errata-xmlrpc 2016-11-04 06:14:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2419.html