Bug Fix Advisory libpcap bug fix and enhancement update

Advisory: RHBA-2013:1727-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2013-11-20
Last updated on: 2013-11-20
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Workstation (v. 6)

Details

Updated libpcap packages that fix several bugs and add various enhancements are
now available for Red Hat Enterprise Linux 6.

The Packet Capture library (pcap) provides a high level interface to packet
capture systems. All packets on the network, even those destined for other
hosts, are accessible through this mechanism. It also supports saving captured
packets to a 'savefile', and reading packets from a 'savefile'. libpcap provides
implementation-independent access to the underlying packet capture facility
provided by the operating system.

The libpcap packages have been upgraded to upstream version 1.4.1, which
provides a number of bug fixes and enhancements over the previous version.
(BZ#916749)

This update also fixes the following bugs:

* Previously, the libpcap library generated wrong filtering code for Berkeley
Packet Filter (BPF) infrastructure. As a consequence, the in-kernel packet
filter was discarding some packets which should have been received by userspace
process. Moreover, the tcpdump utility produced incorrect output when a
fragmentation of IPv6 packet occurred because of the MTUlink. To fix this bug,
the code which deals with BPF filter generation has been fixed to check for
fragmentation headers in IPv6 PDUs before checking for the final protocol. As a
result, the kernel filter no longer discards IPv6 fragments when source-site
fragmentation occurs during IPv6 transmission and tcpdump receives all packets.
(BZ#723108)

* Prior to this update, libpcap was unable to open a capture device with small
values of SnapLen, which caused libpcap to return an error code and tcpdump to
exit prematurely. Calculation of frames for memory mapping packet capture
mechanism has been adjusted not to truncate packets to smaller values than
actual SnapLen, thus fixing the bug. As a result, libpcap no longer returns
errors when trying to open a capture device with small values of SnapLen, and
applications using libpcap are able to process packets. (BZ#731789)

Users of libpcap are advised to upgrade to these updated packages, which fix
these bugs and add these enhancements.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.src.rpm
File outdated by:  RHBA-2015:1288
    MD5: 390051083bc03f7441c57ac45c8fa0ab
SHA-256: 709d9c19811b7d49eadca7f2f49fb2583db2aa1f6580f5c4e4f4b8c87ea308ab
 
IA-32:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
 
x86_64:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: a7d71036063b2dbeef3fe138716b0dc5
SHA-256: 431bb88e5b2ec5bbbac36a6ed5ae0a4bdaa0c46ac833beff3b65ab593a7b7712
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 7c6e73c0221cf06e0d5a1b724ebb898b
SHA-256: d2a4294a0b82ddffe73aa7dc4eb2780894caac7183cbc39ea5b3fdc2dedaec39
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 647e34ffc9060838fd439762b5151090
SHA-256: b864ef37ab40ad0d6440eb893f9f2bd4bbc8415fb3d43d14fcaa2e6ec8cbdaff
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.src.rpm
File outdated by:  RHBA-2015:1288
    MD5: 390051083bc03f7441c57ac45c8fa0ab
SHA-256: 709d9c19811b7d49eadca7f2f49fb2583db2aa1f6580f5c4e4f4b8c87ea308ab
 
x86_64:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: a7d71036063b2dbeef3fe138716b0dc5
SHA-256: 431bb88e5b2ec5bbbac36a6ed5ae0a4bdaa0c46ac833beff3b65ab593a7b7712
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 7c6e73c0221cf06e0d5a1b724ebb898b
SHA-256: d2a4294a0b82ddffe73aa7dc4eb2780894caac7183cbc39ea5b3fdc2dedaec39
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 647e34ffc9060838fd439762b5151090
SHA-256: b864ef37ab40ad0d6440eb893f9f2bd4bbc8415fb3d43d14fcaa2e6ec8cbdaff
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.src.rpm
File outdated by:  RHBA-2015:1288
    MD5: 390051083bc03f7441c57ac45c8fa0ab
SHA-256: 709d9c19811b7d49eadca7f2f49fb2583db2aa1f6580f5c4e4f4b8c87ea308ab
 
IA-32:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
 
PPC:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.ppc.rpm
File outdated by:  RHBA-2015:1288
    MD5: 4c6acbff12ba4f0de3e02d4f340cbb7d
SHA-256: d91b4bf1baf1dd4f0cb323468726d5d8e0a823fcdde3f88c68d7f293d159c465
libpcap-1.4.0-1.20130826git2dbcaa1.el6.ppc64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 8f6a0b1c5bed1031f14e13050ca9bf14
SHA-256: 822987337171b6aa02e96bd5ada282acb6c29e8c62a3c29bf93fe7e63f74b5f1
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.ppc.rpm
File outdated by:  RHBA-2015:1288
    MD5: 2a42edc6e5ea80328e4776617fc287e7
SHA-256: f2b2660d96986d9742d2a490023282efaae7e4971575f354cbffdd169ac30b92
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.ppc64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 50142aa52ccfee9d0b440a05febe2259
SHA-256: 00b8ad1198f824e7b2fe58236b61a8bda3692b83708b56f3d58f0048c9517e48
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.ppc.rpm
File outdated by:  RHBA-2015:1288
    MD5: c8e52edef80b0dbdd80f65dd84496f5e
SHA-256: 3c96d44538247711e9d875b9f2ed3e17e4825967a91d310a2f2f8161e840c216
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.ppc64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 4d4e367a83bd1951d6db321d9580a8dd
SHA-256: 34dc967fa074730aec367ca23dc1b5a4709f17cb3f20ed63cd68088f112a429f
 
s390x:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.s390.rpm
File outdated by:  RHBA-2015:1288
    MD5: baa5b86dfd3b9e8ee931f7f61d718b9c
SHA-256: fab2f8699c354c05c349bdf2e335441fe885b5fc923910836043666a1dfba56f
libpcap-1.4.0-1.20130826git2dbcaa1.el6.s390x.rpm
File outdated by:  RHBA-2015:1288
    MD5: 743965dd60cdde6f66aafec849328131
SHA-256: 564c1dd1de1f717d226f35c7398f93cec01fb0c667153b1f516e670360725f71
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.s390.rpm
File outdated by:  RHBA-2015:1288
    MD5: e1dedc0c917be5014bf4711086d5ec7b
SHA-256: f2ac3a96d9fa63a466bed43af98a0198fa708282969663382a887107a14c62d5
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.s390x.rpm
File outdated by:  RHBA-2015:1288
    MD5: d9ef96079de0784673abda9a03820e6f
SHA-256: 0b112e7baf5f7504e7d9f9ebd80e9cb1bdc2a394ea2b1c0c68d81db435bb72f9
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.s390.rpm
File outdated by:  RHBA-2015:1288
    MD5: 6a8ee04cf5f25aba540139e30d8bb58f
SHA-256: c8663259dfe16719dc31c7f08680dde9db0b2727864f93d8fb88b1bcc4150e01
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.s390x.rpm
File outdated by:  RHBA-2015:1288
    MD5: d172bdeef83ac2694354ee54ceaf9489
SHA-256: 20cd8109e7883ec13fdf8bf16a7fda49bc73b0f378e1bdbd1b0a94585c14a68a
 
x86_64:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: a7d71036063b2dbeef3fe138716b0dc5
SHA-256: 431bb88e5b2ec5bbbac36a6ed5ae0a4bdaa0c46ac833beff3b65ab593a7b7712
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 7c6e73c0221cf06e0d5a1b724ebb898b
SHA-256: d2a4294a0b82ddffe73aa7dc4eb2780894caac7183cbc39ea5b3fdc2dedaec39
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 647e34ffc9060838fd439762b5151090
SHA-256: b864ef37ab40ad0d6440eb893f9f2bd4bbc8415fb3d43d14fcaa2e6ec8cbdaff
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.src.rpm
File outdated by:  RHBA-2015:1288
    MD5: 390051083bc03f7441c57ac45c8fa0ab
SHA-256: 709d9c19811b7d49eadca7f2f49fb2583db2aa1f6580f5c4e4f4b8c87ea308ab
 
IA-32:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
 
x86_64:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: dad06cd6b1c89726ecdeb3e4a90df818
SHA-256: 36bcb0658ccab9331fe6b9d3ab42c9b9f34f9a6ced801898390aa02c2a6b4f84
libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: a7d71036063b2dbeef3fe138716b0dc5
SHA-256: 431bb88e5b2ec5bbbac36a6ed5ae0a4bdaa0c46ac833beff3b65ab593a7b7712
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: 357d75cfa5d535360ddcb4d9957d15c7
SHA-256: 613495a83977ae9c29c5bab709c9a76b4073866c7ef6a57205daba886dea6bae
libpcap-debuginfo-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 7c6e73c0221cf06e0d5a1b724ebb898b
SHA-256: d2a4294a0b82ddffe73aa7dc4eb2780894caac7183cbc39ea5b3fdc2dedaec39
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.i686.rpm
File outdated by:  RHBA-2015:1288
    MD5: cee944ee34148359ae799226f9d04e31
SHA-256: a11f57816b99ca43fc09ae417210efe7287d6f4f84abade1524b5034c1ab74d6
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
File outdated by:  RHBA-2015:1288
    MD5: 647e34ffc9060838fd439762b5151090
SHA-256: b864ef37ab40ad0d6440eb893f9f2bd4bbc8415fb3d43d14fcaa2e6ec8cbdaff
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

723108 - tcpdump icmp6 option can't catch icmpv6 package larger than 1460
731789 - Bug with snaplen in libpcap



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/