2016-01-28 14:00:01 +01:00
|
|
|
#
|
|
|
|
# spec file for package tcpreplay
|
|
|
|
#
|
2023-01-02 10:09:20 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2016-01-28 14:00:01 +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.
|
|
|
|
|
2020-06-12 11:59:25 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-01-28 14:00:01 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: tcpreplay
|
2023-08-06 22:18:37 +02:00
|
|
|
Version: 4.4.4
|
2016-01-28 14:00:01 +01:00
|
|
|
Release: 0
|
2016-01-31 21:55:26 +01:00
|
|
|
Summary: Network analysis and testing tools
|
2019-01-02 08:35:40 +01:00
|
|
|
License: GPL-3.0-only
|
2016-01-31 21:55:26 +01:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2022-12-03 18:16:05 +01:00
|
|
|
URL: https://tcpreplay.appneta.com/
|
2021-05-14 11:09:51 +02:00
|
|
|
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
|
2016-01-31 21:55:26 +01:00
|
|
|
Source2: %{name}.keyring
|
Accepting request 513613 from home:pluskalm:branches:network:utilities
- Update to version 4.2.6:
- Update dependencies to support (libnl3 and dbus-1)
old: network:utilities/tcpreplay
new: home:pluskalm:branches:network:utilities/tcpreplay rev None
Index: tcpreplay.changes
===================================================================
--- tcpreplay.changes (revision 11)
+++ tcpreplay.changes (revision 6)
@@ -1,4 +1,54 @@
-------------------------------------------------------------------
+Mon Jul 31 17:49:44 UTC 2017 - mpluskal@suse.com
+
+- Update to version 4.2.6:
+ * Test fails on sparc64 (#393)
+- Changes for version 4.2.5:
+ * Fix issues found by scan-build (#384)
+ * Improve --portmap help message (#381)
+ * AFL detected security crash in fuzz feature (#380)
+ * Coverity static scan detected issues (#374)
+ * Fuzz should not be overwritting Layer 3 (#372)
+ * Add --fuzz-factor option to specify fuzz ratio (#371)
+ * Warnings when building on old distributions (#368)
+ * Fix more Lintian detected spelling errors (#365)
+ * Fuzz test failure on ARM and MIPS (#364)
+- Changes for version 4.2.4:
+ * Fix Lintian detected spelling errors (#362)
+- Changes for version 4.2.3:
+ * Archive (remove) QuickTX until maintainer found (#357)
+ * Ubuntu precise 32bit_build (#356)
+- Changes for version 4.2.2:
+ * Archive (remove) QuickTX (#357)
+ * Missing symbol pcap_version on macOS 10.12.4 (#356)
+- Changes for version 4.2.1:
+ * Fix reporting of rates < 1Mbps (#348)
+ * Option --unique-ip not working properly (#346)
+- Changes for version 4.2.0:
+ * MAC rewriting capabilities (#313)
+ * Fix several issues identified by Coverity (#305)
+ * Packet destortion --fuzz-seed option by Gabriel Ganne (#302)
+ * Add --unique-ip-loops option to modify IPs every few loops
+ (#296)
+ * Netmap startup delay increase (#290)
+ * tcpcapinfo buffer overflow vulnerablily (#278)
+ * Update git-clone instructions by Kyle McDonald (#277)
+ * Allow fractions for --pps option (#270)
+ * Print per-loop stats with --stats=0 (#269)
+ * Add protection against packet drift by Guillaume Scott (#268)
+ * Print flow stats periodically with --stats output (#262)
+ * Include Travis-CI build support by Ilya Shipitsin (#264) (#285)
+ * tcpreplay won't replay all packets in a pcap file with --netmap
+ (#255)
+ * First and last packet times in --stats output (#239)
+ * Switch to wire speed after 30 minutes at 6 Gbps (#210)
+ * tcprewrite fix checksum properly for fragmented packets (#190)
+- Drop no longer needed patch (already in upstream):
+ * 278-fail-if-capture-has-a-packet-that-is-too-large.patch
+- Use %make_install macro
+- Update dependencies to support (libnl3 and dbus-1)
+
+-------------------------------------------------------------------
Thu Mar 16 10:29:56 UTC 2017 - mkubecek@suse.cz
- 278-fail-if-capture-has-a-packet-that-is-too-large.patch:
Index: tcpreplay.spec
===================================================================
--- tcpreplay.spec (revision 11)
+++ tcpreplay.spec (revision 6)
@@ -17,7 +17,7 @@
Name: tcpreplay
-Version: 4.1.2
+Version: 4.2.6
Release: 0
Summary: Network analysis and testing tools
License: GPL-3.0
@@ -26,9 +26,12 @@
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
-Patch1: 278-fail-if-capture-has-a-packet-that-is-too-large.patch
+BuildRequires: dbus-1-devel
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
+%if 0%{?suse_version} > 1110
+BuildRequires: libnl3-devel
+%endif
BuildRequires: tcpdump
Requires: tcpdump
# only needed for suse_version < 1130 (i.e. SLE11)
@@ -46,7 +49,6 @@
%prep
%setup -q
-%patch1 -p1
%build
%configure \
@@ -54,7 +56,7 @@
make %{?_smp_mflags} V=1
%install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
+%make_install
%files
%defattr(-,root,root)
Index: tcpreplay-4.2.6.tar.gz
===================================================================
Binary file tcpreplay-4.2.6.tar.gz (revision 6) added
Index: tcpreplay-4.2.6.tar.gz.asc
===================================================================
--- tcpreplay-4.2.6.tar.gz.asc (added)
+++ tcpreplay-4.2.6.tar.gz.asc (revision 6)
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJZGxhxAAoJEOniFJeTveF+YEsIAI1WOWtXuMhZsLmV016VyZg8
+DZWQ/wNj92sjyaENyt7Dubxf3pLwDA4SXRkOrtmaJjwukTwh0erqalbVWCdsDo0V
+1ZFH4ixHghMQft4O4Y6tb1H2U34b2mc47kX9aFCPX8IFm7Co+dUwCXFCZVqWoam/
+Cl9qpQz7dBrgNWixeG75+1u7XB3Q+LfxyhKUvGkXl8nkB87fW4nhm20+Xnu7Ci9L
+R0Wn4hMVBknhD6AR4OqDn5ZhwGTB7XjEn9w6vzjtTqXgSdaOBL9imEbIzIy9hpds
+i87CZvyfzNPyZQgF1lwU9oUgTqDHEQ6K9HX9ISSBpoC89J5CrIuhD5qRIevaoGI=
+=YQvF
+-----END PGP SIGNATURE-----
Index: 278-fail-if-capture-has-a-packet-that-is-too-large.patch
===================================================================
--- 278-fail-if-capture-has-a-packet-that-is-too-large.patch (revision 11)
+++ 278-fail-if-capture-has-a-packet-that-is-too-large.patch (deleted)
@@ -1,45 +0,0 @@
-From: Fred Klassen <fklassen@appneta.com>
-Date: Sun, 26 Feb 2017 20:45:59 -0800
-Subject: * #278 fail if capture has a packet that is too large
-Patch-mainline: v4.2.0-beta1
-Git-commit: d689d14dbcd768c028eab2fb378d849e543dcfe9
-References: CVE-2017-6429 bsc#1028234
-
-* Update CHANGELOG
-
----
- src/tcpcapinfo.c | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/src/tcpcapinfo.c b/src/tcpcapinfo.c
-index 775f1625b00f..96928820fe94 100644
---- a/src/tcpcapinfo.c
-+++ b/src/tcpcapinfo.c
-@@ -281,6 +281,15 @@ main(int argc, char *argv[])
- caplen = pcap_ph.caplen;
- }
-
-+ if (caplentoobig) {
-+ printf("\n\nCapture file appears to be damaged or corrupt.\n"
-+ "Contains packet of size %u, bigger than snap length %u\n",
-+ caplen, pcap_fh.snaplen);
-+
-+ close(fd);
-+ break;
-+ }
-+
- /* check to make sure timestamps don't go backwards */
- if (last_sec > 0 && last_usec > 0) {
- if ((pcap_ph.ts.tv_sec == last_sec) ?
-@@ -306,7 +315,7 @@ main(int argc, char *argv[])
- }
-
- close(fd);
-- continue;
-+ break;
- }
-
- /* print the frame checksum */
---
-2.12.0
-
Index: tcpreplay-4.1.2.tar.gz
===================================================================
Binary file tcpreplay-4.1.2.tar.gz (revision 11) deleted
Index: tcpreplay-4.1.2.tar.gz.asc
===================================================================
--- tcpreplay-4.1.2.tar.gz.asc (revision 11)
+++ tcpreplay-4.1.2.tar.gz.asc (deleted)
@@ -1,11 +0,0 @@
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-
-iQEcBAABAgAGBQJYMLPjAAoJEOniFJeTveF+ftEIAIDP5vE/Qv/jX+qrqLhUIFWX
-Tw//HUh6q4hWNkA54jpk6XjMJ8lkdXRcn9CDIqF19fXlDIMZGIBAJVRwQhrfmUos
-5oUuqhqfTS1H7qXh5aW63mRTDLcXR/B7PKF3LChHdGWGTVvEloLTiPVh6/mA8kRS
-ft5NSYPOYNn0OXYEpDeMhNBb4auGa2VkeSdCAf+5I7OV5o1EszhWq3jXjyL7Zefz
-0gxpGApj/rO48wZxJPXZ2Hv4E0rfL4lHbBKgzH6TbP1TpHkwTmMiulKWyrvmBa7q
-vzV0blEONORniabbpo6STYu4ePlZ0mTnajJJotC6FM9jflWZ+Lf40UbEbtvb8GA=
-=O8aa
------END PGP SIGNATURE-----
OBS-URL: https://build.opensuse.org/request/show/513613
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=12
2017-08-01 08:15:52 +02:00
|
|
|
BuildRequires: dbus-1-devel
|
2016-01-28 14:00:01 +01:00
|
|
|
BuildRequires: libdnet-devel
|
|
|
|
BuildRequires: libpcap-devel
|
2020-06-12 11:59:25 +02:00
|
|
|
BuildRequires: tcpdump
|
|
|
|
Requires: tcpdump
|
2021-05-14 11:09:51 +02:00
|
|
|
%if 0%{?suse_version} >= 1130
|
Accepting request 513613 from home:pluskalm:branches:network:utilities
- Update to version 4.2.6:
- Update dependencies to support (libnl3 and dbus-1)
old: network:utilities/tcpreplay
new: home:pluskalm:branches:network:utilities/tcpreplay rev None
Index: tcpreplay.changes
===================================================================
--- tcpreplay.changes (revision 11)
+++ tcpreplay.changes (revision 6)
@@ -1,4 +1,54 @@
-------------------------------------------------------------------
+Mon Jul 31 17:49:44 UTC 2017 - mpluskal@suse.com
+
+- Update to version 4.2.6:
+ * Test fails on sparc64 (#393)
+- Changes for version 4.2.5:
+ * Fix issues found by scan-build (#384)
+ * Improve --portmap help message (#381)
+ * AFL detected security crash in fuzz feature (#380)
+ * Coverity static scan detected issues (#374)
+ * Fuzz should not be overwritting Layer 3 (#372)
+ * Add --fuzz-factor option to specify fuzz ratio (#371)
+ * Warnings when building on old distributions (#368)
+ * Fix more Lintian detected spelling errors (#365)
+ * Fuzz test failure on ARM and MIPS (#364)
+- Changes for version 4.2.4:
+ * Fix Lintian detected spelling errors (#362)
+- Changes for version 4.2.3:
+ * Archive (remove) QuickTX until maintainer found (#357)
+ * Ubuntu precise 32bit_build (#356)
+- Changes for version 4.2.2:
+ * Archive (remove) QuickTX (#357)
+ * Missing symbol pcap_version on macOS 10.12.4 (#356)
+- Changes for version 4.2.1:
+ * Fix reporting of rates < 1Mbps (#348)
+ * Option --unique-ip not working properly (#346)
+- Changes for version 4.2.0:
+ * MAC rewriting capabilities (#313)
+ * Fix several issues identified by Coverity (#305)
+ * Packet destortion --fuzz-seed option by Gabriel Ganne (#302)
+ * Add --unique-ip-loops option to modify IPs every few loops
+ (#296)
+ * Netmap startup delay increase (#290)
+ * tcpcapinfo buffer overflow vulnerablily (#278)
+ * Update git-clone instructions by Kyle McDonald (#277)
+ * Allow fractions for --pps option (#270)
+ * Print per-loop stats with --stats=0 (#269)
+ * Add protection against packet drift by Guillaume Scott (#268)
+ * Print flow stats periodically with --stats output (#262)
+ * Include Travis-CI build support by Ilya Shipitsin (#264) (#285)
+ * tcpreplay won't replay all packets in a pcap file with --netmap
+ (#255)
+ * First and last packet times in --stats output (#239)
+ * Switch to wire speed after 30 minutes at 6 Gbps (#210)
+ * tcprewrite fix checksum properly for fragmented packets (#190)
+- Drop no longer needed patch (already in upstream):
+ * 278-fail-if-capture-has-a-packet-that-is-too-large.patch
+- Use %make_install macro
+- Update dependencies to support (libnl3 and dbus-1)
+
+-------------------------------------------------------------------
Thu Mar 16 10:29:56 UTC 2017 - mkubecek@suse.cz
- 278-fail-if-capture-has-a-packet-that-is-too-large.patch:
Index: tcpreplay.spec
===================================================================
--- tcpreplay.spec (revision 11)
+++ tcpreplay.spec (revision 6)
@@ -17,7 +17,7 @@
Name: tcpreplay
-Version: 4.1.2
+Version: 4.2.6
Release: 0
Summary: Network analysis and testing tools
License: GPL-3.0
@@ -26,9 +26,12 @@
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
-Patch1: 278-fail-if-capture-has-a-packet-that-is-too-large.patch
+BuildRequires: dbus-1-devel
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
+%if 0%{?suse_version} > 1110
+BuildRequires: libnl3-devel
+%endif
BuildRequires: tcpdump
Requires: tcpdump
# only needed for suse_version < 1130 (i.e. SLE11)
@@ -46,7 +49,6 @@
%prep
%setup -q
-%patch1 -p1
%build
%configure \
@@ -54,7 +56,7 @@
make %{?_smp_mflags} V=1
%install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
+%make_install
%files
%defattr(-,root,root)
Index: tcpreplay-4.2.6.tar.gz
===================================================================
Binary file tcpreplay-4.2.6.tar.gz (revision 6) added
Index: tcpreplay-4.2.6.tar.gz.asc
===================================================================
--- tcpreplay-4.2.6.tar.gz.asc (added)
+++ tcpreplay-4.2.6.tar.gz.asc (revision 6)
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJZGxhxAAoJEOniFJeTveF+YEsIAI1WOWtXuMhZsLmV016VyZg8
+DZWQ/wNj92sjyaENyt7Dubxf3pLwDA4SXRkOrtmaJjwukTwh0erqalbVWCdsDo0V
+1ZFH4ixHghMQft4O4Y6tb1H2U34b2mc47kX9aFCPX8IFm7Co+dUwCXFCZVqWoam/
+Cl9qpQz7dBrgNWixeG75+1u7XB3Q+LfxyhKUvGkXl8nkB87fW4nhm20+Xnu7Ci9L
+R0Wn4hMVBknhD6AR4OqDn5ZhwGTB7XjEn9w6vzjtTqXgSdaOBL9imEbIzIy9hpds
+i87CZvyfzNPyZQgF1lwU9oUgTqDHEQ6K9HX9ISSBpoC89J5CrIuhD5qRIevaoGI=
+=YQvF
+-----END PGP SIGNATURE-----
Index: 278-fail-if-capture-has-a-packet-that-is-too-large.patch
===================================================================
--- 278-fail-if-capture-has-a-packet-that-is-too-large.patch (revision 11)
+++ 278-fail-if-capture-has-a-packet-that-is-too-large.patch (deleted)
@@ -1,45 +0,0 @@
-From: Fred Klassen <fklassen@appneta.com>
-Date: Sun, 26 Feb 2017 20:45:59 -0800
-Subject: * #278 fail if capture has a packet that is too large
-Patch-mainline: v4.2.0-beta1
-Git-commit: d689d14dbcd768c028eab2fb378d849e543dcfe9
-References: CVE-2017-6429 bsc#1028234
-
-* Update CHANGELOG
-
----
- src/tcpcapinfo.c | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/src/tcpcapinfo.c b/src/tcpcapinfo.c
-index 775f1625b00f..96928820fe94 100644
---- a/src/tcpcapinfo.c
-+++ b/src/tcpcapinfo.c
-@@ -281,6 +281,15 @@ main(int argc, char *argv[])
- caplen = pcap_ph.caplen;
- }
-
-+ if (caplentoobig) {
-+ printf("\n\nCapture file appears to be damaged or corrupt.\n"
-+ "Contains packet of size %u, bigger than snap length %u\n",
-+ caplen, pcap_fh.snaplen);
-+
-+ close(fd);
-+ break;
-+ }
-+
- /* check to make sure timestamps don't go backwards */
- if (last_sec > 0 && last_usec > 0) {
- if ((pcap_ph.ts.tv_sec == last_sec) ?
-@@ -306,7 +315,7 @@ main(int argc, char *argv[])
- }
-
- close(fd);
-- continue;
-+ break;
- }
-
- /* print the frame checksum */
---
-2.12.0
-
Index: tcpreplay-4.1.2.tar.gz
===================================================================
Binary file tcpreplay-4.1.2.tar.gz (revision 11) deleted
Index: tcpreplay-4.1.2.tar.gz.asc
===================================================================
--- tcpreplay-4.1.2.tar.gz.asc (revision 11)
+++ tcpreplay-4.1.2.tar.gz.asc (deleted)
@@ -1,11 +0,0 @@
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-
-iQEcBAABAgAGBQJYMLPjAAoJEOniFJeTveF+ftEIAIDP5vE/Qv/jX+qrqLhUIFWX
-Tw//HUh6q4hWNkA54jpk6XjMJ8lkdXRcn9CDIqF19fXlDIMZGIBAJVRwQhrfmUos
-5oUuqhqfTS1H7qXh5aW63mRTDLcXR/B7PKF3LChHdGWGTVvEloLTiPVh6/mA8kRS
-ft5NSYPOYNn0OXYEpDeMhNBb4auGa2VkeSdCAf+5I7OV5o1EszhWq3jXjyL7Zefz
-0gxpGApj/rO48wZxJPXZ2Hv4E0rfL4lHbBKgzH6TbP1TpHkwTmMiulKWyrvmBa7q
-vzV0blEONORniabbpo6STYu4ePlZ0mTnajJJotC6FM9jflWZ+Lf40UbEbtvb8GA=
-=O8aa
------END PGP SIGNATURE-----
OBS-URL: https://build.opensuse.org/request/show/513613
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=12
2017-08-01 08:15:52 +02:00
|
|
|
BuildRequires: libnl3-devel
|
2021-05-14 11:09:51 +02:00
|
|
|
%else
|
2016-02-03 15:29:35 +01:00
|
|
|
# only needed for suse_version < 1130 (i.e. SLE11)
|
2021-05-14 11:09:51 +02:00
|
|
|
BuildRequires: xz
|
|
|
|
%endif
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%description
|
2017-09-12 08:53:19 +02:00
|
|
|
Tcpreplay is a suite of utilities for editing and replaying
|
|
|
|
previously captured network traffic. It was originally designed to
|
2014-11-26 17:14:33 +01:00
|
|
|
replay malicious traffic patterns to Intrusion Detection/Prevention
|
2017-09-12 08:53:19 +02:00
|
|
|
Systems, and is meanwhile capable of replaying to web servers. It
|
|
|
|
supports switches, routers and IP Flow/NetFlow appliances.
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%prep
|
2016-01-31 21:55:26 +01:00
|
|
|
%setup -q
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%build
|
2016-01-31 21:55:26 +01:00
|
|
|
%configure \
|
|
|
|
--enable-dynamic-link
|
2022-12-03 18:16:05 +01:00
|
|
|
%make_build
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 513613 from home:pluskalm:branches:network:utilities
- Update to version 4.2.6:
- Update dependencies to support (libnl3 and dbus-1)
old: network:utilities/tcpreplay
new: home:pluskalm:branches:network:utilities/tcpreplay rev None
Index: tcpreplay.changes
===================================================================
--- tcpreplay.changes (revision 11)
+++ tcpreplay.changes (revision 6)
@@ -1,4 +1,54 @@
-------------------------------------------------------------------
+Mon Jul 31 17:49:44 UTC 2017 - mpluskal@suse.com
+
+- Update to version 4.2.6:
+ * Test fails on sparc64 (#393)
+- Changes for version 4.2.5:
+ * Fix issues found by scan-build (#384)
+ * Improve --portmap help message (#381)
+ * AFL detected security crash in fuzz feature (#380)
+ * Coverity static scan detected issues (#374)
+ * Fuzz should not be overwritting Layer 3 (#372)
+ * Add --fuzz-factor option to specify fuzz ratio (#371)
+ * Warnings when building on old distributions (#368)
+ * Fix more Lintian detected spelling errors (#365)
+ * Fuzz test failure on ARM and MIPS (#364)
+- Changes for version 4.2.4:
+ * Fix Lintian detected spelling errors (#362)
+- Changes for version 4.2.3:
+ * Archive (remove) QuickTX until maintainer found (#357)
+ * Ubuntu precise 32bit_build (#356)
+- Changes for version 4.2.2:
+ * Archive (remove) QuickTX (#357)
+ * Missing symbol pcap_version on macOS 10.12.4 (#356)
+- Changes for version 4.2.1:
+ * Fix reporting of rates < 1Mbps (#348)
+ * Option --unique-ip not working properly (#346)
+- Changes for version 4.2.0:
+ * MAC rewriting capabilities (#313)
+ * Fix several issues identified by Coverity (#305)
+ * Packet destortion --fuzz-seed option by Gabriel Ganne (#302)
+ * Add --unique-ip-loops option to modify IPs every few loops
+ (#296)
+ * Netmap startup delay increase (#290)
+ * tcpcapinfo buffer overflow vulnerablily (#278)
+ * Update git-clone instructions by Kyle McDonald (#277)
+ * Allow fractions for --pps option (#270)
+ * Print per-loop stats with --stats=0 (#269)
+ * Add protection against packet drift by Guillaume Scott (#268)
+ * Print flow stats periodically with --stats output (#262)
+ * Include Travis-CI build support by Ilya Shipitsin (#264) (#285)
+ * tcpreplay won't replay all packets in a pcap file with --netmap
+ (#255)
+ * First and last packet times in --stats output (#239)
+ * Switch to wire speed after 30 minutes at 6 Gbps (#210)
+ * tcprewrite fix checksum properly for fragmented packets (#190)
+- Drop no longer needed patch (already in upstream):
+ * 278-fail-if-capture-has-a-packet-that-is-too-large.patch
+- Use %make_install macro
+- Update dependencies to support (libnl3 and dbus-1)
+
+-------------------------------------------------------------------
Thu Mar 16 10:29:56 UTC 2017 - mkubecek@suse.cz
- 278-fail-if-capture-has-a-packet-that-is-too-large.patch:
Index: tcpreplay.spec
===================================================================
--- tcpreplay.spec (revision 11)
+++ tcpreplay.spec (revision 6)
@@ -17,7 +17,7 @@
Name: tcpreplay
-Version: 4.1.2
+Version: 4.2.6
Release: 0
Summary: Network analysis and testing tools
License: GPL-3.0
@@ -26,9 +26,12 @@
Source0: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/appneta/tcpreplay/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
-Patch1: 278-fail-if-capture-has-a-packet-that-is-too-large.patch
+BuildRequires: dbus-1-devel
BuildRequires: libdnet-devel
BuildRequires: libpcap-devel
+%if 0%{?suse_version} > 1110
+BuildRequires: libnl3-devel
+%endif
BuildRequires: tcpdump
Requires: tcpdump
# only needed for suse_version < 1130 (i.e. SLE11)
@@ -46,7 +49,6 @@
%prep
%setup -q
-%patch1 -p1
%build
%configure \
@@ -54,7 +56,7 @@
make %{?_smp_mflags} V=1
%install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
+%make_install
%files
%defattr(-,root,root)
Index: tcpreplay-4.2.6.tar.gz
===================================================================
Binary file tcpreplay-4.2.6.tar.gz (revision 6) added
Index: tcpreplay-4.2.6.tar.gz.asc
===================================================================
--- tcpreplay-4.2.6.tar.gz.asc (added)
+++ tcpreplay-4.2.6.tar.gz.asc (revision 6)
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJZGxhxAAoJEOniFJeTveF+YEsIAI1WOWtXuMhZsLmV016VyZg8
+DZWQ/wNj92sjyaENyt7Dubxf3pLwDA4SXRkOrtmaJjwukTwh0erqalbVWCdsDo0V
+1ZFH4ixHghMQft4O4Y6tb1H2U34b2mc47kX9aFCPX8IFm7Co+dUwCXFCZVqWoam/
+Cl9qpQz7dBrgNWixeG75+1u7XB3Q+LfxyhKUvGkXl8nkB87fW4nhm20+Xnu7Ci9L
+R0Wn4hMVBknhD6AR4OqDn5ZhwGTB7XjEn9w6vzjtTqXgSdaOBL9imEbIzIy9hpds
+i87CZvyfzNPyZQgF1lwU9oUgTqDHEQ6K9HX9ISSBpoC89J5CrIuhD5qRIevaoGI=
+=YQvF
+-----END PGP SIGNATURE-----
Index: 278-fail-if-capture-has-a-packet-that-is-too-large.patch
===================================================================
--- 278-fail-if-capture-has-a-packet-that-is-too-large.patch (revision 11)
+++ 278-fail-if-capture-has-a-packet-that-is-too-large.patch (deleted)
@@ -1,45 +0,0 @@
-From: Fred Klassen <fklassen@appneta.com>
-Date: Sun, 26 Feb 2017 20:45:59 -0800
-Subject: * #278 fail if capture has a packet that is too large
-Patch-mainline: v4.2.0-beta1
-Git-commit: d689d14dbcd768c028eab2fb378d849e543dcfe9
-References: CVE-2017-6429 bsc#1028234
-
-* Update CHANGELOG
-
----
- src/tcpcapinfo.c | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/src/tcpcapinfo.c b/src/tcpcapinfo.c
-index 775f1625b00f..96928820fe94 100644
---- a/src/tcpcapinfo.c
-+++ b/src/tcpcapinfo.c
-@@ -281,6 +281,15 @@ main(int argc, char *argv[])
- caplen = pcap_ph.caplen;
- }
-
-+ if (caplentoobig) {
-+ printf("\n\nCapture file appears to be damaged or corrupt.\n"
-+ "Contains packet of size %u, bigger than snap length %u\n",
-+ caplen, pcap_fh.snaplen);
-+
-+ close(fd);
-+ break;
-+ }
-+
- /* check to make sure timestamps don't go backwards */
- if (last_sec > 0 && last_usec > 0) {
- if ((pcap_ph.ts.tv_sec == last_sec) ?
-@@ -306,7 +315,7 @@ main(int argc, char *argv[])
- }
-
- close(fd);
-- continue;
-+ break;
- }
-
- /* print the frame checksum */
---
-2.12.0
-
Index: tcpreplay-4.1.2.tar.gz
===================================================================
Binary file tcpreplay-4.1.2.tar.gz (revision 11) deleted
Index: tcpreplay-4.1.2.tar.gz.asc
===================================================================
--- tcpreplay-4.1.2.tar.gz.asc (revision 11)
+++ tcpreplay-4.1.2.tar.gz.asc (deleted)
@@ -1,11 +0,0 @@
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-
-iQEcBAABAgAGBQJYMLPjAAoJEOniFJeTveF+ftEIAIDP5vE/Qv/jX+qrqLhUIFWX
-Tw//HUh6q4hWNkA54jpk6XjMJ8lkdXRcn9CDIqF19fXlDIMZGIBAJVRwQhrfmUos
-5oUuqhqfTS1H7qXh5aW63mRTDLcXR/B7PKF3LChHdGWGTVvEloLTiPVh6/mA8kRS
-ft5NSYPOYNn0OXYEpDeMhNBb4auGa2VkeSdCAf+5I7OV5o1EszhWq3jXjyL7Zefz
-0gxpGApj/rO48wZxJPXZ2Hv4E0rfL4lHbBKgzH6TbP1TpHkwTmMiulKWyrvmBa7q
-vzV0blEONORniabbpo6STYu4ePlZ0mTnajJJotC6FM9jflWZ+Lf40UbEbtvb8GA=
-=O8aa
------END PGP SIGNATURE-----
OBS-URL: https://build.opensuse.org/request/show/513613
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=12
2017-08-01 08:15:52 +02:00
|
|
|
%make_install
|
2014-11-26 17:14:33 +01:00
|
|
|
|
|
|
|
%files
|
2022-12-03 18:16:05 +01:00
|
|
|
%license docs/LICENSE
|
2016-02-03 15:29:35 +01:00
|
|
|
%doc docs/CHANGELOG
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
2014-11-26 17:14:33 +01:00
|
|
|
|
2016-01-28 14:00:01 +01:00
|
|
|
%changelog
|