2007-01-04 17:28:36 +01:00
|
|
|
#
|
2009-01-19 02:20:11 +01:00
|
|
|
# spec file for package tcpdump (Version 4.0.0)
|
2007-01-04 17:28:36 +01:00
|
|
|
#
|
2009-01-19 02:20:11 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products 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.
|
|
|
|
|
2007-01-04 17:28:36 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-01-19 02:20:11 +01:00
|
|
|
|
2007-01-04 17:28:36 +01:00
|
|
|
Name: tcpdump
|
2009-01-19 02:20:11 +01:00
|
|
|
BuildRequires: libpcap-devel libsmi-devel openssl-devel
|
|
|
|
Version: 4.0.0
|
2007-07-14 17:31:42 +02:00
|
|
|
Release: 1
|
2008-01-10 03:17:46 +01:00
|
|
|
AutoReqProv: on
|
2007-07-14 17:31:42 +02:00
|
|
|
License: BSD 3-Clause
|
2007-01-04 17:28:36 +01:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2008-01-10 03:17:46 +01:00
|
|
|
Url: http://www.tcpdump.org/
|
2007-01-04 17:28:36 +01:00
|
|
|
Summary: A Packet Sniffer
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}-qeth
|
2009-01-19 02:20:11 +01:00
|
|
|
Patch0: %{name}-%{version}-prototypes.patch
|
|
|
|
Patch1: %{name}-%{version}-autoconf.patch
|
|
|
|
Patch2: %{name}-%{version}-aliasing.patch
|
|
|
|
Patch3: %{name}-%{version}-uninitialized.patch
|
2007-01-04 17:28:36 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
|
|
|
|
%build
|
2007-03-03 14:37:07 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -Wall -DGUESS_TSO -fstack-protector"
|
|
|
|
%configure \
|
2009-01-19 02:20:11 +01:00
|
|
|
--enable-ipv6
|
2007-01-04 17:28:36 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%ifarch s390 s390x
|
2009-01-19 02:20:11 +01:00
|
|
|
install -D -m 755 $RPM_SOURCE_DIR/tcpdump-qeth $RPM_BUILD_ROOT%{_sbindir}
|
2007-01-04 17:28:36 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-01-19 02:20:11 +01:00
|
|
|
%doc CHANGES CREDITS LICENSE README *.awk
|
2007-01-04 17:28:36 +01:00
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
|
2007-03-03 14:37:07 +01:00
|
|
|
%changelog
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Jan 14 2009 prusnak@suse.cz
|
|
|
|
- updated to 4.0.0
|
|
|
|
* Add support for Bluetooth Sniffing
|
|
|
|
* Add support for Realtek Remote Control Protocol (openrrcp.org.ru)
|
|
|
|
* Add support for 802.11 AVS
|
|
|
|
* Add support for SMB over TCP
|
|
|
|
* Add support for 4 byte BGP AS printing
|
|
|
|
* Add support for compiling on case-insensitive file systems
|
|
|
|
* Add support for ikev2 printing
|
|
|
|
* Update support for decoding AFS
|
|
|
|
* Update DHCPv6 printer
|
|
|
|
* Use newer libpcap API's (allows -B option on all platforms)
|
|
|
|
* Add -I to turn on monitor mode
|
|
|
|
* Bugfixes in lldp, lspping, dccp, ESP, NFS printers
|
|
|
|
* Cleanup unused files and various cruft
|
|
|
|
- dropped obsoleted juniper.patch (included in update)
|
|
|
|
* Tue Jan 08 2008 prusnak@suse.cz
|
2008-01-10 03:17:46 +01:00
|
|
|
- updated to 3.9.8
|
|
|
|
* Rework ARP printer
|
|
|
|
* Rework OSPFv3 printer
|
|
|
|
* Add support for Frame-Relay ARP
|
|
|
|
* Decode DHCP Option 121 (RFC 3442 Classless Static Route)
|
|
|
|
* Decode DHCP Option 249 (MS Classless Static Route) the same as Option 121
|
|
|
|
* TLV: Add support for Juniper .pcap extensions
|
|
|
|
* Print EGP header in new-world-order style
|
|
|
|
* Converted print-isakmp.c to NETDISSECT
|
|
|
|
* Moved AF specific stuff into af.h
|
|
|
|
* Test subsystem now table driven, and saves outputs and diffs to one place
|
|
|
|
* Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
|
|
|
|
libpcap files on an OS other than where the file was generated
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Jul 26 2007 prusnak@suse.cz
|
2007-07-27 02:12:04 +02:00
|
|
|
- updated to 3.9.7
|
|
|
|
* NFS: Print unsigned values as such
|
|
|
|
* RX: parse safely
|
|
|
|
* BGP: fixes for IPv6-less builds
|
|
|
|
* 801.1ag: use standard codepoint
|
|
|
|
* use /dev/bpf on systems with such a device
|
|
|
|
* 802.11: print QoS data, avoid dissect of no-data frame, ignore padding
|
|
|
|
* smb: make sure that we haven't gone past the end of the captured data
|
|
|
|
* smb: squelch an uninitialized complaint from coverity
|
|
|
|
* NFS: from NetBSD; don't interpret the reply as a possible NFS reply if it got MSG_DENIED
|
|
|
|
* BGP: don't print TLV values that didn't fit, from www.digit-labs.org
|
|
|
|
* revised INSTALL.txt about libpcap dependancy
|
|
|
|
- dropped obsolete patch:
|
|
|
|
* bgp-overflow.diff (fixed in update)
|
|
|
|
* 802_11-overflow.diff (included in update)
|
|
|
|
- changed libpcap to libpcap-devel in BuildRequires
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Jul 12 2007 prusnak@suse.cz
|
2007-07-14 17:31:42 +02:00
|
|
|
- update to 3.9.6
|
|
|
|
* added support for:
|
|
|
|
- OIF RSVP Extensions UNI 1.0 Rev. 2 and additional RSVP objects
|
|
|
|
- Message-id NACK c-type
|
|
|
|
- 802.3ah loopback ctrl msg
|
|
|
|
- Multiple-STP as per 802.1s
|
|
|
|
- rapid-SPT as per 802.1w
|
|
|
|
- CFM Link-trace msg, Link-trace-Reply msg,
|
|
|
|
- unidirectional link detection
|
|
|
|
- the olsr protocol as per RFC 3626 plus the LQ extensions from olsr.org
|
|
|
|
- variable-length checksum in DCCP, as per section 9 of RFC 4340
|
|
|
|
- per-VLAN spanning tree and per-VLAN rapid spanning tree
|
|
|
|
- Multiple-STP as per 802.1s
|
|
|
|
- the cisco propriatry 'dynamic trunking protocol'
|
|
|
|
- the cisco proprietary VTP protocol
|
|
|
|
- additional values in pflog
|
|
|
|
* changes to both TCP and IP Printer Output
|
|
|
|
* fixed a potential buffer overflow in the 802.11 printer
|
|
|
|
* print basic info about a few more Cisco LAN protocols
|
|
|
|
* mDNS cleanup
|
|
|
|
* ICMP MPLS rework of the extension code
|
|
|
|
* use the correct codepoint for the OSPF simple text auth token entry
|
|
|
|
* use safeputs to print the password
|
|
|
|
* update dhcp6 options table as per IETF standardization activities
|
|
|
|
- fixed overflow in bgp (bgp-overflow.patch) [#291356]
|
2009-01-19 02:20:11 +01:00
|
|
|
* Fri Mar 02 2007 prusnak@suse.cz
|
2007-03-03 14:37:07 +01:00
|
|
|
- fixed one byte overflow (802_11-overflow.diff) [#250163]
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Jan 03 2007 prusnak@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- update to 3.9.5
|
|
|
|
* Fixes for 64bit compiling
|
|
|
|
* Updated list of DNS RR typecodes
|
|
|
|
* Add basic support for keyed authentication TCP option
|
|
|
|
* Fix printing for 4.4BSD/NetBSD NFS Filehandles
|
|
|
|
* Add support for:
|
|
|
|
- Frame-Relay ARP
|
|
|
|
- parsing Juniper .pcap files
|
|
|
|
- FRF.16 Multilink Frame-Relay (DLT_MFR)
|
|
|
|
- PIMv2 checksum verification
|
|
|
|
- further dissection of the IPCP Compression Option
|
|
|
|
- Cisco's proposed VQP protocol
|
|
|
|
- Cisco style NLPID encapsulation
|
|
|
|
- PPP over Frame-Relay
|
|
|
|
- Address-Withdraw and Label-Withdraw Msgs
|
|
|
|
- BFD Discriminator TLV
|
|
|
|
- BGP signaled VPLS
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Jan 12 2006 mjancar@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- compile with -fstack-protector
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Jan 09 2006 mjancar@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- update to 3.9.4
|
|
|
|
- drop obsolete patches
|
|
|
|
* tcpdump-3.9.4-overflow.diff
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Sep 01 2005 mjancar@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- enable support for TSO packets (#114159)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Fri Aug 05 2005 cthiel@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- fixed buffer overflow in addrtoname.c:499
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Aug 02 2005 mjancar@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- update to 3.9.3
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Aug 05 2004 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- updated to version 3.8.3
|
|
|
|
- removed obsoleted patches (isakmp-fix2, isakmp-fix3, radius-fix)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Mar 29 2004 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- fixed overflow in ISAKMP (CAN-2004-0183) [#36828]
|
2009-01-19 02:20:11 +01:00
|
|
|
* Fri Feb 06 2004 ro@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- fix configure.in (test for pcap_debug was broken)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Jan 20 2004 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- updated to version 3.8.1
|
|
|
|
* fixed security bug in L2TP (CAN-2003-1029)
|
|
|
|
- removed obsoleted patches (isakmp-buffer-overflow-fix, compile)
|
|
|
|
- fixed security bugs in these parsers: RADIUS (CAN-2004-0055),
|
|
|
|
ISAKMP (CAN-2004-0057) [#33763]
|
2009-01-19 02:20:11 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- build as user
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Jan 06 2004 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- fixed two remotely exploitable buffer overflows in the ISAKMP parser
|
|
|
|
[#33763] (CAN-2003-0989)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Jul 24 2003 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- updated to version 3.7.2
|
|
|
|
- removed obsoleted patches (tcpdump-nfs-fix, tcpdump-isakmp, tcpdump-bgp)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed May 07 2003 ro@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- make it compile with current glibc headers
|
|
|
|
(move include of netinet/in.h further up)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Mar 05 2003 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- fixed security bugs in parsing ISAKMP, BGP and NFS
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Oct 01 2002 froh@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- s390/s390x: dumping of qeth interfaces needs some filtering, which
|
|
|
|
is accomplished by the new 'tcpdump-qeth' (#15626, #22085)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon May 20 2002 postadal@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- fixed bug in displaying NFS traffic
|
|
|
|
- updated to version 3.7.1
|
|
|
|
* support more protocols
|
|
|
|
* better Linux libc5 compat
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Apr 03 2002 postadal@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- fixed to compile with autoconf-2.53
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Jun 18 2001 cihlar@suse.cz
|
2007-01-04 17:28:36 +01:00
|
|
|
- updated to version 3.6.2
|
|
|
|
- removed obsolete patches
|
|
|
|
- compile against package libpcap
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Feb 06 2001 ro@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- tcpclice.c: include time.h
|
|
|
|
- smbutil.c: include time.h
|
2009-01-19 02:20:11 +01:00
|
|
|
* Fri Jan 19 2001 bk@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- Turn off PACKET_RX_RING too. It is not available in lx_sus22 and
|
|
|
|
not enabled in our 2.4 kernel configs and causes a warning on
|
|
|
|
every start and possible trouble. See bug #5178
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Jan 11 2001 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- Turn off PACKET_TRECV. It's not enabled in our kernel and causes some
|
|
|
|
problems.
|
2009-01-19 02:20:11 +01:00
|
|
|
* Fri Nov 24 2000 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- Add mb() for ppc
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Nov 14 2000 ro@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- groups sorted
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Nov 14 2000 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- add some protocols to make it build on 6.1 again
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Nov 13 2000 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- add membar fix for sparc
|
2009-01-19 02:20:11 +01:00
|
|
|
* Sat Nov 11 2000 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- fix some buffer overflows.
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu May 18 2000 schwab@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- Fix missing declaration.
|
|
|
|
- Fix broken includes.
|
|
|
|
- Get rid of Makefile.Linux and clean up spec file.
|
|
|
|
- Update config.{sub,guess}.
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu May 11 2000 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- add security fix for endless dns looping. From Guy Harris.
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Mar 02 2000 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- move man pages to /usr/share/man
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Dec 22 1999 ak@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- fix promiscuous mode bug
|
2009-01-19 02:20:11 +01:00
|
|
|
* Fri Dec 03 1999 bk@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- disabled NO_SMP_DEBUG changes by ank(did not compile on sparc)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Sat Nov 06 1999 bk@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- Integrated changes from ak:
|
|
|
|
strip tcpdump and a fix a -p crash bug (pcap-maddr-fix)
|
2009-01-19 02:20:11 +01:00
|
|
|
* Wed Oct 27 1999 bk@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- Andi Kleen added patches from Alexey Kuznetsov. Features e.g.:
|
|
|
|
- device independent libpcap, Kernel support for new link-layers, e.g. ISDN
|
|
|
|
(libpcap uses PF_PACKET,SOCK_DGRAM instead of PF_INET,SOCK_PACKET)
|
|
|
|
- IPv6 and APM support, SMB updates
|
|
|
|
- libpcap support for "In Kernel Packet Filtering" (CONFIG_FILTER)
|
|
|
|
- made a libpcapn subpackage which holds the new libpcap for developers.
|
|
|
|
- Added fix to reestablish old output format of tcpdump from Andi Kleen.
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2009-01-19 02:20:11 +01:00
|
|
|
* Tue Sep 29 1998 ro@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- print_i4l : include net/ethernet.h instead of netinet/if_ether.h for glibc
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Mar 02 1998 florian@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- update to version 3.4a6
|
2009-01-19 02:20:11 +01:00
|
|
|
* Mon Jul 07 1997 florian@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- update to version 3.4a5
|
|
|
|
- added isdn-patches
|
|
|
|
- update to version 3.4a3
|
2009-01-19 02:20:11 +01:00
|
|
|
* Sun Apr 13 1997 florian@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- update to new version 3.3.1a2 with automatic detection of packet types
|
2009-01-19 02:20:11 +01:00
|
|
|
* Thu Jan 02 1997 florian@suse.de
|
2007-01-04 17:28:36 +01:00
|
|
|
- added the changes distributed with samba
|
|
|
|
- added isdn patches
|