SHA256
1
0
forked from pool/tcpreplay
Commit Graph

17 Commits

Author SHA256 Message Date
Michal Kubeček
c6fdd2d1bf Accepting request 814683 from home:pluskalm:branches:network:utilities
- Update to version 4.3.3:
  * Increase cache buffers size to accomodate VLAN edits (#594)
  * Correct L2 header length to correct IP header offset (#583)
  * Fix warnings from gcc version 10 (#580)
  * Heap Buffer Overflow in randomize_iparp (#579)
  * Use after free in get_ipv6_next (#578)
  * Heap Buffer Overflow in git_ipv6_next (#576)
  * Call pcap_freecode() on pcap_compile() (#572)
  * Increase max snaplen to 262144 (#571)
  * Fix divide by zero in fuzzing (#570)
  * Unique IP repeats at very high iteration counts (#566)
  * Fails to compile on FreeBSD amd64 13.0 (#558)
  * Heap Buffer Overflow in do_checksum (#556) (#577)
  * Attempt to correct corrupt pcap files, if possible (#557)
  * Fix GCC v10 warnings (#555)
  * Remove some duplicated SOURCES entries (#551)
  * Expand /dev/bpfX hard limit to fix macOS Mojave (#550)
  * Implement –loopdelay-ms when using –loop=0 (#546)
  * Heap overflow packet2tree and get_l2len (#530)

OBS-URL: https://build.opensuse.org/request/show/814683
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=24
2020-06-16 17:24:35 +00:00
Michal Kubeček
41093f5b41 Accepting request 814047 from home:pluskalm:branches:network:utilities
- Fix building with gcc10

OBS-URL: https://build.opensuse.org/request/show/814047
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=22
2020-06-12 09:59:25 +00:00
Michal Kubeček
f70f468c27 - add bugzilla references for CVE bugs to changelog
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=20
2019-03-14 13:07:44 +00:00
Michal Kubeček
a5bd8ae410 Accepting request 684807 from home:seanlew:branches:network:utilities
Update tcpreplay

OBS-URL: https://build.opensuse.org/request/show/684807
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=19
2019-03-14 13:04:14 +00:00
Michal Kubeček
5b49cc0722 - add bugzilla references for security bugs fixed in 4.3.0
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=17
2019-01-02 07:42:34 +00:00
Michal Kubeček
183644caab Accepting request 662365 from home:seanlew:branches:network:utilities
Update tcpreplay

OBS-URL: https://build.opensuse.org/request/show/662365
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=16
2019-01-02 07:35:40 +00:00
Michal Kubeček
1a71fa38c2 Accepting request 523397 from home:jengelh:branches:network:utilities
- Trim history recap in description.

OBS-URL: https://build.opensuse.org/request/show/523397
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=14
2017-09-12 06:53:19 +00:00
Michal Kubeček
e109c66c05 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 06:15:52 +00:00
Michal Kubeček
817ae8fd35 - fix buffer overflow in tcpcapinfo utility triggered by too large packet (CVE-2017-6429 bsc#1028234)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=10
2017-03-16 10:49:20 +00:00
Michal Kubeček
10275b6a42 - update to version 4.1.2 (fixes CVE-2016-6160)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=8
2016-11-21 13:21:09 +00:00
Dominique Leuenberger
8cc92a28f3 Accepting request 357599 from network:utilities
new package for Factory, see http://lists.opensuse.org/opensuse-factory/2016-01/msg00483.html (resubmitted)

OBS-URL: https://build.opensuse.org/request/show/357599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcpreplay?expand=0&rev=1
2016-02-09 12:32:12 +00:00
Michal Kubeček
13ab311554 - add upstream changelog to docs
- minor specfile cleanup

OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=6
2016-02-03 14:29:35 +00:00
e18a3aea37 Accepting request 356971 from home:pluskalm:branches:network:utilities
- Install LICENSE
- Use url for source
- Add gpg signature
- Make building more verbose
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/356971
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=5
2016-01-31 20:55:26 +00:00
Michal Kubeček
b2f522f913 - run specfile through cleaner service to silence check scripts
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=4
2016-01-28 13:00:01 +00:00
Michal Kubeček
11cc09f2e3 - update to version 4.1.1
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=3
2016-01-28 07:34:42 +00:00
Michal Kubeček
2f2ee1d23d - upgrade to version 4.1.0
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=2
2015-07-27 07:26:54 +00:00
OBS User mrdocs
1ea53d696d Accepting request 262973 from home:mkubecek:utils
let's try to make its' way to repo-oss

OBS-URL: https://build.opensuse.org/request/show/262973
OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpreplay?expand=0&rev=1
2014-11-26 16:14:33 +00:00