Up to [cvs.NetBSD.org] / pkgsrc / net / tcpreplay
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
tcpreplay: update to 4.4.4 06/04/2023 Version 4.4.4 - overflow check fix for parse_mpls (#795) - tcpreplay-edit: prevent L2 flooding of ipv6 unicast packets (#793) - CVE-2023-27786 bugs caused by strtok_r (#782 #784 #785 #786 #787 #788) - CVE-2023-27783 reachable assert in tcpedit_dlt_cleanup (#780) - add CI and C/C++ Linter and CodeQL (#773) - reachable assert in fast_edit_packet (#772) 01/01/2023 Version 4.4.3 - upgrade autogen/libopts to version 5.18.16 (#759) - avoid implicit int in configure.ac (#757) - remove invalid assert in tree (#756) - program exit after send error (#751) - make libpcap version test more robust (#750) - looping inflates some packet counters (#749)
Pullup ticket #6712 - requested by gutteridge net/tcpreplay: security fix Revisions pulled up: - net/tcpreplay/Makefile 1.29 - net/tcpreplay/distinfo 1.19 - net/tcpreplay/patches/patch-configure deleted --- Module Name: pkgsrc Committed By: gutteridge Date: Thu Dec 29 23:29:04 UTC 2022 Modified Files: pkgsrc/net/tcpreplay: Makefile distinfo Removed Files: pkgsrc/net/tcpreplay/patches: patch-configure Log Message: tcpreplay: update to 4.4.2 08/28/2022 Version 4.4.2 - remove autogen.sh from distribution tarballs (#745) - CVE-2022-37048 heap-overflow in get_l2len_protocol (#735) - replaying on a loopback interface is broken (#732) - replay edit with both --loop and --preload_pcap options (#729) - test suite bus error on armhf (#725) - CVE-2022-28487 format string vulnerability in fix_ipv6_checksums (#723) - CVE-2022-27942 heap-overflow in parse_mpls (#719) - CVE-2022-27940 CVE-2022-37047 CVE-2022-37049 heap-overflow in get_ipv6_next (#718) - CVE-2022-27939 reachable assertion in get_layer4_v6 (#717) - CVE-2022-25484 CVE-2022-27941 heap buffer overflow in get_l2len_protocol (#716) - remove bash-only test in configure script (#714)
tcpreplay: update to 4.4.2 08/28/2022 Version 4.4.2 - remove autogen.sh from distribution tarballs (#745) - CVE-2022-37048 heap-overflow in get_l2len_protocol (#735) - replaying on a loopback interface is broken (#732) - replay edit with both --loop and --preload_pcap options (#729) - test suite bus error on armhf (#725) - CVE-2022-28487 format string vulnerability in fix_ipv6_checksums (#723) - CVE-2022-27942 heap-overflow in parse_mpls (#719) - CVE-2022-27940 CVE-2022-37047 CVE-2022-37049 heap-overflow in get_ipv6_next (#718) - CVE-2022-27939 reachable assertion in get_layer4_v6 (#717) - CVE-2022-25484 CVE-2022-27941 heap buffer overflow in get_l2len_protocol (#716) - remove bash-only test in configure script (#714)
tcpreplay: update to 4.4.1 02/12/2022 Version 4.4.1 - fix support for piping PCAP files from STDIN (#708) - build failures Debian/kfreebsd (#706) - bus error when building on armhf (#705) - typo fixes (#704) - heap buffer overflow in tcpreplay (#703) - double free in Juniper DLT (#702) 01/31/2022 Version 4.4.0 - remove obsolete FORCE_ALIGN support to fix macOS 11 compile (#695) - add a security policy document (#689) - ability to specify directory of pcap files (#682) - incorrect PPS rate for long-running sessions (#679) - option --skipbroadcast not working (#677) - revert #630 to fix --multiplier issues (#674) - gcc 9.3 compiler warnings (#670) - installed netmap not automatically detected (#669) - latest macOS SDK selected by default (#668) - heap-buffer-overflow with flow_decode() (#665) - add feature VLAN Q-in-Q (#625) - add feature update Ethernet MAC on multicast IP (#563)
net: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts...): net/radsecproxy/distinfo The following distfiles could not be fetched (fetched conditionally?): ./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz ./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch ./net/djbdns/distinfo djbdns-1.05-test28.diff.xz ./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch ./net/djbdns/distinfo djbdns-1.05-multiip.diff ./net/djbdns/distinfo djbdns-cachestats.patch
net: Remove SHA1 hashes for distfiles
tcpreplay: update to 4.3.4 This release is for bug fixes only. ASAN reports memory leaks while running tests local libopts compiler warnings DLT name for DLT_C_JNPR_ETHER in documentation clean up new_cidr_map() string manipulation on error exit fix gcc 8.3.0 build warnings invalid --pps value protection packets slowly drift further and further behind when they should be sent 64 bit rollover can cause pps replay issues after several hours typo fixes DLT_NULL/DLT_LOOP support for cross-platform PF_INET6 armv5 Freescale compile heap buffer overflow in tcpreplay fast_edit_packet heap buffer overflow in tcpreplay get_next_packet CVE-2020-24266 heap buffer overflow in tcpprep get_l2len CVE-2020-24265 heap buffer overflow in tcpprep fix UNUSED macro declaration handle malformed and unsupported packets as soft errors compile failure on aarch64-linux-android tcprewrite --fixlen not working on DLT conversion fix configure --without-libdnet ensure automake version is at least 1.15 with multiplier option only first file can be sent and hang do not create tap0 if device already exists
tcpreplay: Update to 4.3.3 05/20/2020 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) 03/12/2019 Version 4.3.2 - CVE-2019-8381 memory access in do_checksum() (#538) - CVE-2019-8376 NULL pointer dereference get_layer4_v6() (#537) - CVE-2019-8377 NULL pointer dereference get_ipv6_l4proto() (#536) - Rename Ethereal to Wireshark (#545) 12/27/2018 Version 4.3.1 - Fix checkspell detected typos (#531) 11/10/2018 Version 4.3.0 - Fix maxOS TOS checksum failure (#524) - TCP sequence edits seeding (#514) - Fix issues identifed by Codacy (#493) - CVE-2018-18408 use-after-free in post_args (#489) - CVE-2018-18407 heap-buffer-overflow csum_replace4 (#488) - CVE-2018-17974 heap-buffer-overflow dlt_en10mb_encode (#486) - CVE-2018-17580 heap-buffer-overflow fast_edit_packet (#485) - CVE-2018-17582 heap-buffer-overflow in get_next_packet (#484) - Out-of-tree build (#482) - CVE-2018-13112 heap-buffer-overflow in get_l2len (#477 dup #408) - Closing stdin on pipe (#479) - Second pcap file hangs on multiplier option (#472) - Jumbo frame support for fragroute option (#466) - TCP sequence edit ACK corruption (#451) - TCP sequence number edit initial SYN packet should have zero ACK (#450) - Travis CI build fails due to new build images (#432) - Upgrade libopts to 5.18.12 to address version build issues (#430) - Add ability to change tcp SEQ/ACK numbers (#425) - Hang using loop and netmap options (#424) - tcpprep -S not working for large cache files (#423) - Unable to tcprewrite range of ports with --portmap (#422) - --maxsleep broken for values less than 1000 (#421) - -T flag breaks traffic replay timing (#419) - Respect 2nd packet timing (#418) - Avoid non-blocking behaviour when using STDIN (#416) - pcap containing >1020 packets produces invalid cache file (#415) - manpage typos (#413) - Fails to open tap0 on Zephyr (#411) - Heap-buffer-overflow in get_l2protocol (#410) - Heap-buffer-overflow in packet2tree (#409) - Heap-buffer-overflow in get_l2len (#408) - Heap-buffer-overflow in flow_decode (#407) - Rewrite zero IP total length field to match the actual packet length (#406) - Stack-buffer-overflow in tcpcapinfo (#405) - tcpprep --include option does not exclude (#404) - Negative-size-param memset in dlt_radiotap_get_80211 (#402) - tcpeplay --verbose option not working (#398) - Fix replay when using --with-testnic (#178)
Update tcpreplay to version 4.2.6. This catches up with the project which has apparently moved to github.com. With it comes fixes for two known CVEs (CVE-2016-6160, CVE-2017-6429). There is otherwise a large set of changes, see the release history on github for the details. The license changed to gnu-gpl-v3, LICENSE setting added.
Add SHA512 digests for distfiles for net category Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Make tcpreplay build on Darwin
Update tcpreplay to 3.4.4. Changes: - Set default timing method to either gtod or abstime (#404) - Fix IPv6 parsing of CIDR's (#405) - Add support for preloading the memory cache (#410) - Generate more useful error when packets are too small (#411) - Update to libopts/Autogen 5.9.9 (#412) - Ship Win32Readme.txt file (#413) - Update copyright notice to 2010 (#416) - Dramatically enhance --portmap option (#417) - Update autotools (#423) - Add support for printing statistics periodically during the run (#424) - Warn user when pcap snaplen < 65535 (#425) - Add 802.1q processing support tcpprep (#428) - Link libnl when newer versions of libpcap require it (#397) - Ship m4 directory (#398) - Upgrade to latest autotools scripts (#400) - Fix error message when running autogen.sh (#401) - Added extensive IPv6 support to tcprewrite & tcpreplay-edit (#11) - Add IPv6 fragroute support (#388) - Add IPv6 decoding support to tcpprep (#11) - Fix compile time error in err.h (#390) - Add --endpoints support in tcpreplay-edit (#393)
Update tcpreplay to 3.4.1. Changes since 3.1.1: - Sendpacket method did not match documentation (#361) - Fix compile issue on systems without err.h (#363) - Fix tcpprep --mac not processing non-IPv4 packets (#369) - Always build tcpreplay w/ editing features as tcpreplay-edit (#372) - Fix potential tcpbridge issues under OS X & *BSD (#373) - Fix crash on 4 byte strictly aligned systems (#377) - Add MTU truncation to tcprewrite/tcpreplay-edit (#379) - Add libdnet and remove libnet support for sending packets (#302) - Fix numerous 802.11 decoder bugs (#325) - Fix compile issue under Linux (#326) - Fix Mbps/sec nonsense (#327) - Fix tcprewrite crash when packets have no L3+ data (#328) - Clean up err.c/err.h code and improve performance for non-debug builds (#331) - Fix timesdiv() timer code (#332) - Improve high-performance packet sending via multiple packets/interval (#334) - Fix statistics report errors (#335) - Fix BPF filters not being used in tcpbridge (#336) - Improve tcpbridge performance (#337) - Only use two libpcap handles for tcpbridge (#338) - Fix autotools usage errors (#340) - Clean up 'make test' results (#341) - Update to AutoGen/AutoOpts 5.9.7 (#342) - Fix compiler warnings from GCC 4.2 (#344) - Fix numerous memory corruption bugs in libtcpedit DLT plugin code (#345) - Add support for editing IPv4 TOS/DiffServ/ECN (#348) - Update autotools to more recent versions (#349) - Report injection method via -V (#352) - Fix DLT_USER l2len check bug (#353) - Replace man2html w/ groff (#354) - Fix false pcap_inject() detection under Windows/Winpcap (#355) - tcpbridge now builds under Win32/Cygwin - libdnet is no longer an option for Win32/Cygwin (#57) - tcpbridge now supports --listnics (#357) - Fix (again) tcpbridge --unidir assert error (#308) - Fix tcpbridge bug where all packets that were sent were all zeros - Fix tcpbridge not honoring --include/exclude flags (#311) - Fix ip_in_cidr() debug messages (#312) - Report packets which have timestamps which go backwards in time (#315) - Clean up --sleep-accel code to use options struct (#316) - Remove really old and out of date RPM .spec file (#317) - Warn when sending on non-Ethernet interface (#318) - Re-enable tcpreplay --listnics (#319) - Fix sendpacket always reporting using PF_PACKET, even when it doesn't (#322) - Fix major packet timing issue under old versions of glibc (#324) - Fix limitation of PF_PACKET only supporting Ethernet (#123) - Fix (again) /dev/bpf detection in FreeBSD 8.0 (#292) - Document building code from Subversion under Cygwin (#304) - Fix --enable-force-* under Linux (#305) - Fix tcpbridge --unidir assert error (#308) - Improve tcpreplay timing accuracy between packets (#41) - Add tcprewrite fragroute support (#42) - Fix tcprewrite --efcs option (#277) - Updated Win32/Cygwin documentation (#280) - Add dmalloc support (#282) - Fix tcpprep broken handling of VLAN tagged frames (#290) - Fix tcprewrite crash when cache file has NO_SEND packets (#291) - Fix /dev/bpf detection in FreeBSD 8.0 (#292) - Add tcprewrite --ttl editing option (#294) - Fix autoconf AM_PROG_CC_C_O warning (#295) - Add tcpprep --reverse option to split by matching client addresses (#297) - Update version of autoconf to 1.10.1 (#298) - Improved GNU Autogen detection and warnings (#299) - Track EAGAIN errors separately from ENOBUFS (#301) - Automatically detect Winpcap on Cygwin (#303) - Fix linker error with --enable-tcpreplay-edit and --enable-dynamic-link (#288) - Fix compile errors with Sun Studio compiler (#286) - Fix crash in tcpreplay when --enable-tcpreplay-edit (#281) - Display if --enable-tcpreplay-edit in -V (#283) - Fix compile issue under Linux and other OS's (#275) - Enable source MAC spoofing for OS X (#142, #151) * Tcpreplay now requires OS X 10.5 (Leopard) - Fix crash/memory access error with tcpreplay -N (#273) - Fix tcprewrite segfault in 'make test' under Linux (#200) - Major performance improvement in tcpprep for large pcaps (#261) - Fix strsignal already defined error under Cygwin/Windows (#199) - Fix compile errors for older versions of GCC (#201) - Remove flowreplay code (#262) - Fix DLT rewrite code causing corrupted ethernet protocol type (#268) - Try to fix inet_aton() issue under Solaris (#260) - Return a more useful error message when tcpprep fails (#187) - Add Tomahawk test tool client/server detection algorithm (#186) - Improved AutoGen support (#191) - Improved documentation (#164, #198) - Added Doxygen markup (#176) - configure now honors --with-tcpdump flag (#192) - configure now defaults to --enable-64bits which breaks backwards compatibility in certain situations. Use --disable-64bits if this concerns you (#195) - Use safe_free() to detect bugs earlier in development (#197)
Update to 3.1.1 By default, no longer try to use libnet. You must now specify --enable-libnet (#148) Remove support for pcap_snapshot_override which was never added to libpcap (#140) Rewrite L2/DLT code in tcpedit/tcprewrite to be plugin based (#82) tcpprep & tcprewrite no longer require root access (#3) Remove libnids dependancy for flowreplay And many more, see the following for all the details: http://tcpreplay.synfin.net/trac/browser/trunk/docs/CHANGELOG?rev=1886
buildlink updates and patches to handle the new libnet package structure bump PKGREVISION
Update to 2.3.5, from Sergey Svishchev in PR 32460: 07/03/2005: Version 2.3.5 - Fix crash with replay live mode (-S) - Fix longstanding tcpprep auto/router mode bug 06/05/2005: Version 2.3.4 - Support libpcap <= 0.5 for OpenBSD - libpcap 0.5 doesn't have pcap_open_dead, so disable -w, -W and -D in that case - Fix configure errors regarding libpcapnav - Fix compile problem in libpcap.c with OpenBSD - Fix compile problem where libpcap and libnet are in /usr and libpcapnav is somehwere else - Don't ship .svn directories - Close stdin so we can reopen it if necessary Remove BROKEN_IN, since it builds fine for me on 3.99.15/i386.
- Update from 2.3.2 -> 2.3.3 - Add CONFIGURE_ARGS for libpcap and libnet - Disable pcapnav feature 02/09/2005: Version 2.3.3 - Fix port rewriting feature on little-endian systems - configure now properly handles --with-libnet and --with-libpcap
Add RMD160 digests.
- Update to 2.3.2 - Lots of changes, bugfixes and extra functionality as we are going from 1.x to 2.x Add support to tcpreplay and tcpprep for DLT_CHDLC (Cisco HDLC) Add endpoint mode (-e) which rewrites all traffic between two IP's Add support for rewriting src mac & Linux SLL loopback frames Add support for "pseudo NAT" (-N) for ARP and IPv4 Add -1 to replay one packet at a time (user must hit <ENTER>) Add tcpdump packet parsing to print packets as sent (-v) Add BPF filter support to tcpprep and tcpreplay (-x F:"filter") Add support for replaying live traffic Add bridge mode
Updated to version 1.3.2. Patch from Adrian Portelli via PR pkg/20360. Changes: 1.3.2: ====== - Fix portability issues with tcpprep cache files - Fix 'make test' on big-endian systems 1.3.1: ====== - Fix packaging error with libredblack - Fix configure/makefile so libredblack get's configured with tcpreplay which should prevent the packaging error from happening again - Fix possible libnet 1.0.x version detection bug 1.3.0: ====== - Re-release 1.3.beta6 as 1.3.0 1.3.beta6: ========== - Improve cross platform compatibility of test subsystem - Fix bug in Makefile which caused possible failures of clean/distclean - Fix bug with CCFLAGS when using --with-debug - Fix bug with -x/-X which would drop/send all packets in certain conditions - Update libredblack to 1.2 (latest) - Add support for OSX - Add --with-testnic and --with-testnic2 to allow end user to specify specific network cards to be used for 'make test' - Fixes SIGBUS errors on SPARC 1.3-beta5: ========== - Add testing subsystem - Fix segfault when we don't send a packet - Improve debug output support in dbg() 1.3-beta4: ========== - Updated tcpprep man page with -x and -X options - Now supports (again) the include/exclude options in the config file - Fixed -x|-X sanity check in tcpprep/tcpreplay 1.3-beta3: ========== - Fix compile of list.c under FreeBSD 4.7 and others - Add -x|-X to tcpprep - Modify cache file format to be 2 bits/packet to allow caching of -x|-X args (dropping packets) - Modularize some more code 1.3-beta2: ========== - Fix ./configure bug w/ INET_ATON and INET_ADDR - Add support for filtering packets to send based on IP address or packet number (-x & -X) - Move a lot of code from tcpreplay.c to do_packets.c - Update tcpreplay man page 1.3-beta1: ========== - Add support for randomizing IP addresses (-s) - Update tcpreplay man page - Fix problem with checksums after untruncate
Initial import of tcpreplay 1.2a into the NetBSD packages collection as net/tcpreplay. tcpreplay is a tool to replay saved tcpdump or snoop files at arbitrary speeds. It allows you to recreate real network traffic from a real network for use in testing. For example, it can be used to test Intrusion Detection Systems.
Initial revision