From 47e1814c2b8358a902bad1d9ed3ba7a2aa562f825ccce025f693cd37b9521299 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 14 Jul 2007 15:31:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpdump?expand=0&rev=3 --- tcpdump-3.9.5.tar.bz2 | 3 -- ...diff => tcpdump-3.9.6-802_11-overflow.diff | 0 ...iasing.diff => tcpdump-3.9.6-aliasing.diff | 0 ...toconf.diff => tcpdump-3.9.6-autoconf.diff | 0 tcpdump-3.9.6-bgp-overflow.diff | 20 +++++++++++ ...juniper.diff => tcpdump-3.9.6-juniper.diff | 0 ...ypes.diff => tcpdump-3.9.6-prototypes.diff | 0 ...d.diff => tcpdump-3.9.6-uninitialized.diff | 0 tcpdump-3.9.6.tar.bz2 | 3 ++ tcpdump.changes | 29 +++++++++++++++ tcpdump.spec | 36 ++++++++++++++++--- 11 files changed, 84 insertions(+), 7 deletions(-) delete mode 100644 tcpdump-3.9.5.tar.bz2 rename tcpdump-3.9.5-802_11-overflow.diff => tcpdump-3.9.6-802_11-overflow.diff (100%) rename tcpdump-3.9.5-aliasing.diff => tcpdump-3.9.6-aliasing.diff (100%) rename tcpdump-3.9.5-autoconf.diff => tcpdump-3.9.6-autoconf.diff (100%) create mode 100644 tcpdump-3.9.6-bgp-overflow.diff rename tcpdump-3.9.5-juniper.diff => tcpdump-3.9.6-juniper.diff (100%) rename tcpdump-3.9.5-prototypes.diff => tcpdump-3.9.6-prototypes.diff (100%) rename tcpdump-3.9.5-uninitialized.diff => tcpdump-3.9.6-uninitialized.diff (100%) create mode 100644 tcpdump-3.9.6.tar.bz2 diff --git a/tcpdump-3.9.5.tar.bz2 b/tcpdump-3.9.5.tar.bz2 deleted file mode 100644 index 555bc49..0000000 --- a/tcpdump-3.9.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4df54734d1f3dc78b606a1811d26ab2f30cf49bef243e22c4ae9d7a27224e5f -size 589246 diff --git a/tcpdump-3.9.5-802_11-overflow.diff b/tcpdump-3.9.6-802_11-overflow.diff similarity index 100% rename from tcpdump-3.9.5-802_11-overflow.diff rename to tcpdump-3.9.6-802_11-overflow.diff diff --git a/tcpdump-3.9.5-aliasing.diff b/tcpdump-3.9.6-aliasing.diff similarity index 100% rename from tcpdump-3.9.5-aliasing.diff rename to tcpdump-3.9.6-aliasing.diff diff --git a/tcpdump-3.9.5-autoconf.diff b/tcpdump-3.9.6-autoconf.diff similarity index 100% rename from tcpdump-3.9.5-autoconf.diff rename to tcpdump-3.9.6-autoconf.diff diff --git a/tcpdump-3.9.6-bgp-overflow.diff b/tcpdump-3.9.6-bgp-overflow.diff new file mode 100644 index 0000000..66066dd --- /dev/null +++ b/tcpdump-3.9.6-bgp-overflow.diff @@ -0,0 +1,20 @@ +--- print-bgp.c ++++ print-bgp.c +@@ -669,7 +669,7 @@ + tlen-=15; + + /* ok now the variable part - lets read out TLVs*/ +- while (tlen>0) { ++ while (tlen>0 && strlen <= buflen) { + if (tlen < 3) + return -1; + TCHECK2(pptr[0], 3); +@@ -684,7 +684,7 @@ + tlv_type, + tlv_len); + ttlv_len=ttlv_len/8+1; /* how many bytes do we need to read ? */ +- while (ttlv_len>0) { ++ while (ttlv_len>0 && strlen <= buflen) { + TCHECK(pptr[0]); + strlen+=snprintf(buf+strlen,buflen-strlen, "%02x",*pptr++); + ttlv_len--; diff --git a/tcpdump-3.9.5-juniper.diff b/tcpdump-3.9.6-juniper.diff similarity index 100% rename from tcpdump-3.9.5-juniper.diff rename to tcpdump-3.9.6-juniper.diff diff --git a/tcpdump-3.9.5-prototypes.diff b/tcpdump-3.9.6-prototypes.diff similarity index 100% rename from tcpdump-3.9.5-prototypes.diff rename to tcpdump-3.9.6-prototypes.diff diff --git a/tcpdump-3.9.5-uninitialized.diff b/tcpdump-3.9.6-uninitialized.diff similarity index 100% rename from tcpdump-3.9.5-uninitialized.diff rename to tcpdump-3.9.6-uninitialized.diff diff --git a/tcpdump-3.9.6.tar.bz2 b/tcpdump-3.9.6.tar.bz2 new file mode 100644 index 0000000..3044db9 --- /dev/null +++ b/tcpdump-3.9.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24c350e1c5ba24d2cb47e975477b22fb9e041cded2ae489f82eee9136d37d61b +size 589766 diff --git a/tcpdump.changes b/tcpdump.changes index fe091ce..fa8aa7d 100644 --- a/tcpdump.changes +++ b/tcpdump.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Thu Jul 12 11:37:08 CEST 2007 - prusnak@suse.cz + +- 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] + ------------------------------------------------------------------- Fri Mar 2 11:44:35 CET 2007 - prusnak@suse.cz diff --git a/tcpdump.spec b/tcpdump.spec index e474072..b087f72 100644 --- a/tcpdump.spec +++ b/tcpdump.spec @@ -1,5 +1,5 @@ # -# spec file for package tcpdump (Version 3.9.5) +# spec file for package tcpdump (Version 3.9.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,10 +12,10 @@ Name: tcpdump BuildRequires: libpcap libsmi openssl-devel -Version: 3.9.5 -Release: 7 +Version: 3.9.6 +Release: 1 Autoreqprov: on -License: BSD License and BSD-like +License: BSD 3-Clause Group: Productivity/Networking/Diagnostic URL: http://www.tcpdump.org/ Summary: A Packet Sniffer @@ -27,6 +27,7 @@ Patch2: %{name}-%{version}-aliasing.diff Patch3: %{name}-%{version}-uninitialized.diff Patch4: %{name}-%{version}-juniper.diff Patch5: %{name}-%{version}-802_11-overflow.diff +Patch6: %{name}-%{version}-bgp-overflow.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -44,6 +45,7 @@ rm -rf win32 %patch3 %patch4 %patch5 +%patch6 %build %{suse_update_config -f} @@ -73,6 +75,32 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/* %changelog +* Thu Jul 12 2007 - prusnak@suse.cz +- 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] * Fri Mar 02 2007 - prusnak@suse.cz - fixed one byte overflow (802_11-overflow.diff) [#250163] * Wed Jan 03 2007 - prusnak@suse.cz