2007-01-04 17:28:36 +01:00
|
|
|
#
|
Accepting request 94135 from network:utilities
- update to 4.2.0
* patch that adds missing ppi.h
* Summary for 4.2.0
- merged 802.15.4 decoder from Dmitry Eremin-Solenikov <dbaryshkov
at gmail dot com>
- updates to forces for new port numbers
- Use "-H", not "-h", for the 802.11s option. (-h always help)
- Better ICMPv6 checksum handling.
- add support for the RPKI/Router Protocol, per -ietf-sidr-rpki-rtr-12
- get rid of uuencoded pcap test files, git can do binary.
- sFlow changes for 64-bit counters.
- fixes for PPI packet header handling and printing.
- Add DCB Exchange protocol (DCBX) version 1.01.
- Babel dissector, from Juliusz Chroboczek and Grégoire Henry.
- improvements to radiotap for rate values > 127.
- Many improvements to ForCES decode, including fix SCTP TML port
- updated RPL type code to RPL-17 draft
- Improve printout of DHCPv6 options.
- added support and test case for QinQ (802.1q VLAN) packets
- Handle DLT_IEEE802_15_4_NOFCS like DLT_IEEE802_15_4.
- Build fixes for Sparc and other machines with alignment restrictions.
- Merged changes from Debian package.
- PGM: Add ACK decoding and add PGMCC DATA and FEEDBACK options.
- Build fixes for OSX (Snow Leopard and others)
- Add support for IEEE 802.15.4 packets
* Summary for 4.1.2 tcpdump release
- If -U is specified, flush the file after creating it, so it's
not zero-length
- Fix TCP flags output description, and some typoes, in the man
page (forwarded request 94001 from vitezslav_cizek)
OBS-URL: https://build.opensuse.org/request/show/94135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpdump?expand=0&rev=15
2011-11-29 12:52:36 +01:00
|
|
|
# spec file for package tcpdump
|
2007-01-04 17:28:36 +01:00
|
|
|
#
|
2019-07-23 16:11:18 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-04 17:28:36 +01:00
|
|
|
#
|
2009-01-19 02:20:11 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-06 18:31:15 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-04 17:28:36 +01:00
|
|
|
#
|
|
|
|
|
2009-01-19 02:20:11 +01:00
|
|
|
|
2019-10-04 14:00:58 +02:00
|
|
|
%define min_libpcap_version 1.9.1
|
2007-01-04 17:28:36 +01:00
|
|
|
Name: tcpdump
|
2019-10-04 14:00:58 +02:00
|
|
|
Version: 4.9.3
|
2012-01-03 15:53:20 +01:00
|
|
|
Release: 0
|
2007-01-04 17:28:36 +01:00
|
|
|
Summary: A Packet Sniffer
|
2012-01-03 15:53:20 +01:00
|
|
|
License: BSD-3-Clause
|
2019-10-15 10:18:39 +02:00
|
|
|
URL: https://www.tcpdump.org/
|
2019-10-04 14:00:58 +02:00
|
|
|
Source: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz
|
2010-04-06 22:48:57 +02:00
|
|
|
Source1: tcpdump-qeth
|
2019-10-04 14:00:58 +02:00
|
|
|
Source2: https://www.tcpdump.org/release/%{name}-%{version}.tar.gz.sig
|
|
|
|
Source3: https://www.tcpdump.org/tcpdump-workers.asc#/%{name}.keyring
|
2018-12-06 18:31:15 +01:00
|
|
|
# PATCH-FIX-OPENSUSE tcpdump-CVE-2018-19519.patch - Initialize buf in print-hncp.c:print_prefix
|
2019-10-04 14:00:58 +02:00
|
|
|
Patch0: tcpdump-CVE-2018-19519.patch
|
2014-08-15 21:55:11 +02:00
|
|
|
BuildRequires: libpcap-devel >= %{min_libpcap_version}
|
2010-04-06 22:48:57 +02:00
|
|
|
BuildRequires: libsmi-devel
|
2017-08-22 11:29:12 +02:00
|
|
|
BuildRequires: openssl-devel
|
2014-08-15 21:55:11 +02:00
|
|
|
Requires: libpcap >= %{min_libpcap_version}
|
2007-01-04 17:28:36 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This program can "read" all or only certain packets going over the
|
|
|
|
ethernet. It can be used to debug specific network problems.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2017-09-13 14:03:36 +02:00
|
|
|
%patch0 -p1
|
2007-01-04 17:28:36 +01:00
|
|
|
|
|
|
|
%build
|
2019-10-15 10:18:39 +02:00
|
|
|
# guessing TCO needed in print-ip.c
|
|
|
|
export CFLAGS="%{optflags} -DGUESS_TSO"
|
2007-03-03 14:37:07 +01:00
|
|
|
%configure \
|
2009-01-19 02:20:11 +01:00
|
|
|
--enable-ipv6
|
2019-10-15 10:18:39 +02:00
|
|
|
%make_build
|
2007-01-04 17:28:36 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 454244 from home:pmonrealgonzalez:branches:network:utilities
- version update to 4.9.0 bsc#1020940
* CVE-2016-7922 The AH parser in tcpdump before 4.9.0 has a buffer overflow in print-ah.c:ah_print().
* CVE-2016-7923 The ARP parser in tcpdump before 4.9.0 has a buffer overflow in print-arp.c:arp_print().
* CVE-2016-7924 The ATM parser in tcpdump before 4.9.0 has a buffer overflow in print-atm.c:oam_print().
* CVE-2016-7925 The compressed SLIP parser in tcpdump before 4.9.0 has a buffer overflow in print-sl.c:sl_if_print().
* CVE-2016-7926 The Ethernet parser in tcpdump before 4.9.0 has a buffer overflow in print-ether.c:ethertype_print().
* CVE-2016-7927 The IEEE 802.11 parser in tcpdump before 4.9.0 has a buffer overflow in print-802_11.c:ieee802_11_radio_print().
* CVE-2016-7928 The IPComp parser in tcpdump before 4.9.0 has a buffer overflow in print-ipcomp.c:ipcomp_print().
* CVE-2016-7929 The Juniper PPPoE ATM parser in tcpdump before 4.9.0 has a buffer overflow in print-juniper.c:juniper_parse_header().
* CVE-2016-7930 The LLC parser in tcpdump before 4.9.0 has a buffer overflow in print-llc.c:llc_print().
* CVE-2016-7931 The MPLS parser in tcpdump before 4.9.0 has a buffer overflow in print-mpls.c:mpls_print().
* CVE-2016-7932 The PIM parser in tcpdump before 4.9.0 has a buffer overflow in print-pim.c:pimv2_check_checksum().
* CVE-2016-7933 The PPP parser in tcpdump before 4.9.0 has a buffer overflow in print-ppp.c:ppp_hdlc_if_print().
* CVE-2016-7934 The RTCP parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:rtcp_print().
* CVE-2016-7935 The RTP parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:rtp_print().
* CVE-2016-7936 The UDP parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:udp_print().
* CVE-2016-7937 The VAT parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:vat_print().
* CVE-2016-7938 The ZeroMQ parser in tcpdump before 4.9.0 has an integer overflow in print-zeromq.c:zmtp1_print_frame().
* CVE-2016-7939 The GRE parser in tcpdump before 4.9.0 has a buffer overflow in print-gre.c, multiple functions.
* CVE-2016-7940 The STP parser in tcpdump before 4.9.0 has a buffer overflow in print-stp.c, multiple functions.
* CVE-2016-7973 The AppleTalk parser in tcpdump before 4.9.0 has a buffer overflow in print-atalk.c, multiple functions.
* CVE-2016-7974 The IP parser in tcpdump before 4.9.0 has a buffer overflow in print-ip.c, multiple functions.
* CVE-2016-7975 The TCP parser in tcpdump before 4.9.0 has a buffer overflow in print-tcp.c:tcp_print().
* CVE-2016-7983 The BOOTP parser in tcpdump before 4.9.0 has a buffer overflow in print-bootp.c:bootp_print().
* CVE-2016-7984 The TFTP parser in tcpdump before 4.9.0 has a buffer overflow in print-tftp.c:tftp_print().
* CVE-2016-7985 The CALM FAST parser in tcpdump before 4.9.0 has a buffer overflow in print-calm-fast.c:calm_fast_print().
* CVE-2016-7986 The GeoNetworking parser in tcpdump before 4.9.0 has a buffer overflow in print-geonet.c, multiple functions.
* CVE-2016-7992 The Classical IP over ATM parser in tcpdump before 4.9.0 has a buffer overflow in print-cip.c:cip_if_print().
* CVE-2016-7993 A bug in util-print.c:relts_print() could cause a buffer overflow in multiple protocol parsers (DNS, DVMRP, HSRP, IGMP, lightweight resolver protocol, PIM).
* CVE-2016-8574 The FRF.15 parser in tcpdump before 4.9.0 has a buffer overflow in print-fr.c:frf15_print().
OBS-URL: https://build.opensuse.org/request/show/454244
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=35
2017-02-02 17:04:10 +01:00
|
|
|
%make_install
|
2007-01-04 17:28:36 +01:00
|
|
|
%ifarch s390 s390x
|
2016-03-30 10:57:24 +02:00
|
|
|
install -D -m 755 %{SOURCE1} %{buildroot}%{_sbindir}
|
2007-01-04 17:28:36 +01:00
|
|
|
%endif
|
2014-08-15 21:55:11 +02:00
|
|
|
rm %{buildroot}/%{_sbindir}/tcpdump.%{version}
|
2007-01-04 17:28:36 +01:00
|
|
|
|
2014-08-15 21:55:11 +02:00
|
|
|
%check
|
|
|
|
make check %{?_smp_mflags}
|
2007-01-04 17:28:36 +01:00
|
|
|
|
|
|
|
%files
|
2019-07-23 16:11:18 +02:00
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGES CREDITS README* *.awk
|
Accepting request 454244 from home:pmonrealgonzalez:branches:network:utilities
- version update to 4.9.0 bsc#1020940
* CVE-2016-7922 The AH parser in tcpdump before 4.9.0 has a buffer overflow in print-ah.c:ah_print().
* CVE-2016-7923 The ARP parser in tcpdump before 4.9.0 has a buffer overflow in print-arp.c:arp_print().
* CVE-2016-7924 The ATM parser in tcpdump before 4.9.0 has a buffer overflow in print-atm.c:oam_print().
* CVE-2016-7925 The compressed SLIP parser in tcpdump before 4.9.0 has a buffer overflow in print-sl.c:sl_if_print().
* CVE-2016-7926 The Ethernet parser in tcpdump before 4.9.0 has a buffer overflow in print-ether.c:ethertype_print().
* CVE-2016-7927 The IEEE 802.11 parser in tcpdump before 4.9.0 has a buffer overflow in print-802_11.c:ieee802_11_radio_print().
* CVE-2016-7928 The IPComp parser in tcpdump before 4.9.0 has a buffer overflow in print-ipcomp.c:ipcomp_print().
* CVE-2016-7929 The Juniper PPPoE ATM parser in tcpdump before 4.9.0 has a buffer overflow in print-juniper.c:juniper_parse_header().
* CVE-2016-7930 The LLC parser in tcpdump before 4.9.0 has a buffer overflow in print-llc.c:llc_print().
* CVE-2016-7931 The MPLS parser in tcpdump before 4.9.0 has a buffer overflow in print-mpls.c:mpls_print().
* CVE-2016-7932 The PIM parser in tcpdump before 4.9.0 has a buffer overflow in print-pim.c:pimv2_check_checksum().
* CVE-2016-7933 The PPP parser in tcpdump before 4.9.0 has a buffer overflow in print-ppp.c:ppp_hdlc_if_print().
* CVE-2016-7934 The RTCP parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:rtcp_print().
* CVE-2016-7935 The RTP parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:rtp_print().
* CVE-2016-7936 The UDP parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:udp_print().
* CVE-2016-7937 The VAT parser in tcpdump before 4.9.0 has a buffer overflow in print-udp.c:vat_print().
* CVE-2016-7938 The ZeroMQ parser in tcpdump before 4.9.0 has an integer overflow in print-zeromq.c:zmtp1_print_frame().
* CVE-2016-7939 The GRE parser in tcpdump before 4.9.0 has a buffer overflow in print-gre.c, multiple functions.
* CVE-2016-7940 The STP parser in tcpdump before 4.9.0 has a buffer overflow in print-stp.c, multiple functions.
* CVE-2016-7973 The AppleTalk parser in tcpdump before 4.9.0 has a buffer overflow in print-atalk.c, multiple functions.
* CVE-2016-7974 The IP parser in tcpdump before 4.9.0 has a buffer overflow in print-ip.c, multiple functions.
* CVE-2016-7975 The TCP parser in tcpdump before 4.9.0 has a buffer overflow in print-tcp.c:tcp_print().
* CVE-2016-7983 The BOOTP parser in tcpdump before 4.9.0 has a buffer overflow in print-bootp.c:bootp_print().
* CVE-2016-7984 The TFTP parser in tcpdump before 4.9.0 has a buffer overflow in print-tftp.c:tftp_print().
* CVE-2016-7985 The CALM FAST parser in tcpdump before 4.9.0 has a buffer overflow in print-calm-fast.c:calm_fast_print().
* CVE-2016-7986 The GeoNetworking parser in tcpdump before 4.9.0 has a buffer overflow in print-geonet.c, multiple functions.
* CVE-2016-7992 The Classical IP over ATM parser in tcpdump before 4.9.0 has a buffer overflow in print-cip.c:cip_if_print().
* CVE-2016-7993 A bug in util-print.c:relts_print() could cause a buffer overflow in multiple protocol parsers (DNS, DVMRP, HSRP, IGMP, lightweight resolver protocol, PIM).
* CVE-2016-8574 The FRF.15 parser in tcpdump before 4.9.0 has a buffer overflow in print-fr.c:frf15_print().
OBS-URL: https://build.opensuse.org/request/show/454244
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpdump?expand=0&rev=35
2017-02-02 17:04:10 +01:00
|
|
|
%{_mandir}/man?/*
|
2014-08-15 21:55:11 +02:00
|
|
|
%{_sbindir}/tcpdump
|
2016-04-15 12:19:22 +02:00
|
|
|
%ifarch s390 s390x
|
|
|
|
%{_sbindir}/tcpdump-qeth
|
|
|
|
%endif
|
2007-01-04 17:28:36 +01:00
|
|
|
|
2007-03-03 14:37:07 +01:00
|
|
|
%changelog
|