Releases: appneta/tcpreplay
v4.5.1
Announcing v4.5.1
This release contains contributions from a record number of new contributors. This is greatly appreciated since I am a team of one, and do Tcpreplay maintenance in my spare time.
There are many bug fixes and new features. Most notable features:
- AF_XDP socket support - if you have a newer Linux kernel, you will be able to transmit at line rates without having to install 3rd party kernel modules (e.g. netmap, PF_RING)
-w
tcpreplay option - this overrides the-i
option, and allows you to write to a PCAP file rather than an interface--include
and--exclude
tcpreplay options - allows replay of a list of specific packet numbers to replay. This may slow things down, so consider using in combination with-w
.--fixhdrlen
tcpreplay option - added to control action on packet length changes-W
tcpreplay option - suppress warnings when replaying- SLL2( Linux "cooked" capture encapsulation v2)
- Haiku support
What's Changed
- Add support for LINUX_SLL2 by @btriller in #728
- Feature #727 - Linux SLL v2 by @fklassen in #820
- Bug #779 - honour overflow for all PPS values by @fklassen in #821
- AF_XDP socket extension using libxdp api by @plangarbalint in #797
- Feature #822 - AF_XDP socket extension by @fklassen in #823
- Nanosec accurate packet processing by @plangarbalint in #796
- Handle IPv6 fragment extension header by @ChuckCottrill in #832
- Bug #837 - handle IPv6 fragment extension header by @fklassen in #838
- Feature #796 - nanosecond packet processing by @fklassen in #836
- configure.ac: unify search dirs for pcap and add lib32 by @shr-project in #819
- Feature #839 - add pull request template by @fklassen in #840
- ipv6 - add check for extension header length by @GabrielGanne in #842
- Bug #827 PR #842 IPv6 extension header - staging by @fklassen in #859
- add check for empty cidr by @GabrielGanne in #843
- Bug #824 and PR #843: check for empty CIDR by @fklassen in #860
- Add option to turn on/off fix packet header length by @ChuckCottrill in #846
- Bug #703 #844 PR #846: optionally fix packet header length --fixhdrlen by @fklassen in #861
- Bug 863: fix nansecond timestamp regression by @fklassen in #865
- autotools - AC_HELP_STRING is obsolete in 2.70 by @GabrielGanne in #856
- some Haiku support by @infrastation in #847
- configure.ac: do not run conftest in case of cross compilation by @ChenQi1989 in #849
- dlt_jnpr_ether_cleanup: check config before cleanup by @Marsman1996 in #851
- Fix recursive tcpedit cleanup by @GabrielGanne in #855
- Bug #813: back out PR #855 by @fklassen in #866
- Bug #867 - run regfree() on close by @fklassen in #868
- Bug #869 tcpprep memory leak include exclude by @fklassen in #870
- Bug #811 - add check for invalid jnpr header length by @fklassen in #872
- Bug #792 avoid assertion and other fixes by @fklassen in #873
- Bug #844 tap: ignore TUNSETIFF EBUSY errors by @fklassen in #874
- Bug #876 - add missing free_umem_and_xsk function by @fklassen in #877
- Feature #878 - add -w / --suppress-warning option by @fklassen in #879
- Bug #835 false unsupported dlt warnings on 802.3 (Ethernet I) and LLC by @fklassen in #880
- Feature #884 include exclude options by @fklassen in #885
- Feature #853 direct traffic to pcap by @fklassen in #871
- Feature #853 restore missing -P command by @fklassen in #887
- Bug #888: check for map == NULL in cidr.c by @fklassen in #889
New Contributors
- @btriller made their first contribution in #728
- @plangarbalint made their first contribution in #797
- @ChuckCottrill made their first contribution in #832
- @shr-project made their first contribution in #819
- @infrastation made their first contribution in #847
- @ChenQi1989 made their first contribution in #849
Full Changelog: v4.4.4...v4.5.1
v4.4.4
This is Tcpreplay suite 4.4.4 This release contains bug fixes only.
What's Changed
- dlt_jnpr_ether_cleanup: check subctx before cleanup by @Marsman1996 in #781
- Bug #780 assert tcpedit dlt cleanup by @fklassen in #800
- Fix bugs caused by strtok_r by @Marsman1996 in #783
- Bug #782 #784 #785 #786 #787 #788 strtok r isuses by @fklassen in #801
- Update en10mb.c by @david-guti in #793
- PR #793 ip6 unicast flood by @fklassen in #802
- Bug #719 fix overflow check for parse_mpls() by @fklassen in #804
- PR #793 - update tests for corrected IPv6 MAC by @fklassen in #805
- PR #793 - update tests for vlandel by @fklassen in #806
- Feature #773 gh actions ci by @fklassen in #807
New Contributors
- @Marsman1996 made their first contribution in #781
- @david-guti made their first contribution in #793
Full Changelog: v4.4.3...v4.4.4
Download the release by clicking the tcpreplay* assets below ...
v4.4.3
This is Tcpreplay suite 4.4.3 This release contains bug fixes only.
What's Changed
- Feature #759: Upgrade autogen/libopts to 5.18.16 by @fklassen in #760
- Bug #751 don't exit after send error by @fklassen in #761
- Bug #750: configure: libpcap version robustness by @fklassen in #764
- Bug #749 flow stats: avoid overstating flow packet count by @fklassen in #765
- Bug #750 more libpcap version updates by @fklassen in #766
- Bug #767 tests: support for out-of-tree tests by @fklassen in #768
- Bug #750 - fix macOS test failure by @fklassen in #770
- 4.4.3 by @fklassen in #769 and #771
Full Changelog: v4.4.2...v4.4.3
Download the release by clicking the tcpreplay* assets below ...
v4.4.2
This is Tcpreplay suite 4.4.2
This release contains bug fixes only.
What's Changed
- Bug #716 heap-buffer-overflow in get_l2len_protocol() by @fklassen in #738
- Bug #721 fixed typo in tcpliveplay.c by @jonathan-dev in #721
- Bug #717 avoid assertion in get_layer4_v6 by @fklassen in #739
- Bug #718 improved heap-overflow protection by @fklassen in #740
- Bug #719 better overflow protection in parse_mpls by @fklassen in #741
- Bug #725 FORCE_ALIGN on arm by @fklassen in #742
- Bug #729 tcpreplay_edit: disallow both -K and -l options by @fklassen in #743
- Bug #735 heap-overflow in get_l2len_protocol by @fklassen in #744
- Bug #745 remove autogen.sh from distribution tarballs by @fklassen in #747
New Contributors
- @jonathan-dev made their first contribution in #721
Full Changelog: v4.4.1...v4.4.2
v4.4.1
This is Tcpreplay suite 4.4.1
This release contains bug fixes only.
What's Changed
- Bug #708 fix support for feeding PCAP files from STDIN by @fklassen in #709
- Bug #705 fix Debian/kfreebsd build by @fklassen in #707
- Bug #704 fix typos by @fklassen in #710
- Bug #703 safeguard against corrupt packet lengths in checksum functions by @fklassen in #712
- Bug #702 fix double free in Juniper DLT by @fklassen in #711
Full Changelog: v4.4.0...v4.4.1
Download the release by clicking the tcpreplay* assets below ...
Tcpreplay version 4.4
This is Tcpreplay suite 4.4.0
This release contains several bug fixes and enhancements.
What's Changed
- Update strlcpy.c and strlcat.c by @guijan in #656
- 4.3.4 by @fklassen in #636
- Apply #616 fix to flows.c, fix #665 by @dumprop in #666
- Bug #670: update Travis CI to focal by @fklassen in #672
- Bug #669: LINUX installed netmap auto detection by @fklassen in #673
- Feature #626 - Support for Q-in-Q VLAN tags by @fklassen in #675
- Bug #677 skipbroadcast by @fklassen in #678
- Bug #689: add security policy document by @fklassen in #691
- Directories of pcaps as arguments by @halver94 in #682
- PR #682 stage PR from @halver94 by @fklassen in #692
- Bug #679 fix PPS calc for long-running sessions by @fklassen in #693
- Bug #668 Improve SDK selection by @fklassen in #694
- Bug #696 fix directory include feature by @fklassen in #697
- Bug #695 mac os tests fail by @fklassen in #698
- Bug #674 - Revert "send_packet: Avoid clock drift by using time since first packet" by @fklassen in #699
- Feature #563 mac update on multicast by @fklassen in #700
New Contributors
Full Changelog: v4.3.4...v4.4.0
Download the release by clicking the tcpreplay* assets below ...
Tcpreplay version 4.3.4
This release is for bug fixes only.
- ASAN reports memory leaks while running tests (#662)
- local libopts compiler warnings (#658)
- DLT name for DLT_C_JNPR_ETHER in documentation (#649)
- clean up new_cidr_map() string manipulation on error exit (#648)
- fix gcc 8.3.0 build warnings (#634)
- invalid --pps value protection (#632)
- packets slowly drift further and further behind when they should be sent (#630)
- 64 bit rollover can cause pps replay issues after several hours (#629)
- typo fixes (#626) (#627)
- DLT_NULL/DLT_LOOP support for cross-platform PF_INET6 (#624)
- armv5 Freescale compile (#623)
- heap buffer overflow in tcpreplay fast_edit_packet (#620)
- heap buffer overflow in tcpreplay get_next_packet (#619)
- CVE-2020-24266 heap buffer overflow in tcpprep get_l2len (#617)
- CVE-2020-24265 heap buffer overflow in tcpprep (#616)
- fix UNUSED macro declaration (#614)
- handle malformed and unsupported packets as soft errors (#613)
- compile failure on aarch64-linux-android (#612)
- tcprewrite --fixlen not working on DLT conversion (#582)
- fix configure --without-libdnet (#567)
- ensure automake version is at least 1.15 (#553)
- with multiplier option only first file can be sent and hang (#472)
- do not create tap0 if device already exists (#411) (#651)
Download the release by clicking the tcpreplay* assets below ...
Tcpreplay version 4.3.3
This release contains bug fixes only:
- 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)
Download the release by clicking the tcpreplay* assets below ...
Tcpreplay version 4.3.2
This release contains bug fixes only:
- 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)
Download the release by clicking the tcpreplay* assets above ...