Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.3.4 #636

Merged
merged 65 commits into from
May 2, 2021
Merged

4.3.4 #636

merged 65 commits into from
May 2, 2021

Commits on Aug 13, 2019

  1. configure.ac: fix --without-libdnet

    Allow the user to disable libdnet check through --without-libdnet.
    This option is useful to cross-compile tcpreplay to avoid build failures
    if libdnet is installed on host but not on target, see
    https://bugs.buildroot.org/show_bug.cgi?id=12096
    
    Signed-off-by: Fabrice Fontaine <[email protected]>
    ffontaine committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    acee9c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

  1. Fix UNUSED Macro declaration

    Depending on compilaiton flags, UNUSED() was declaring variables with
    different names.
    Meaning the following can be either expanded to:
      UNUSED(var) -> var
      UNUSED(var) -> UNUSED_var __attribute__((unused))
    depending on the compilation flags.
    
    The code using such a variable would need to also be conditional to the
    same compilation flags ... and that's to heavy.
    Let's declare variables by the name they are given instead.
      UNUSED(var) -> var /* with/without the attribute, but always "var" */
    
    Fixes #612
    
    Signed-off-by: Gabriel Ganne <[email protected]>
    GabrielGanne committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    dec5b4b View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. fix heap-buffer-overflow when DLT_JUNIPER_ETHER

    The test logic on datalen was inverted.
    
    Processing truncated packats should now raise a warning like the
    following:
      Warning: <pcap> was captured using a snaplen of 4 bytes.  This may mean you have truncated packets.
    
    Fixes #616 #617
    
    Signed-off-by: Gabriel Ganne <[email protected]>
    GabrielGanne committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    d311085 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. docs: fix simple typo, hierarcicaly -> hierarchically

    There is a small typo in libopts/autoopts/options.h, libopts/configfile.c, libopts/restore.c.
    
    Should read `hierarchically` rather than `hierarcicaly`.
    timgates42 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    c3213f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. fixed simple typo, to short -> too short

    Dave DeAngelis committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    a126b65 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. send_packet: Avoid clock drift by using time since first packet

    Prior to this change, time between packets was calculated as deltas
    and over time errors would quickly add up. The work here switches
    to use the wall time since the first packet was sent as the reference
    which is compared to the PCAP packet timestamp relative to the first
    packet. In this way there are no errors and clock drift is avoided.
    As a result tcpreplay can now be used to play back very time sensitive
    captures such as video streams with PCR.
    Dave-Craig-Brightsign committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    ec50def View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Configuration menu
    Copy the full SHA
    ebed7dd View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Configuration menu
    Copy the full SHA
    6e3c099 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #635 from appneta/Bug_#634_DLT1_gcc_8.3.0_warnings

    Bug #634 fix gcc 8.3.0 complier warnings
    fklassen authored Mar 12, 2021
    Configuration menu
    Copy the full SHA
    1b48126 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #614 from GabrielGanne/unused-macro-definition

    Fix UNUSED Macro declaration
    fklassen authored Mar 12, 2021
    Configuration menu
    Copy the full SHA
    1621e1d View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2021

  1. Bug #616 add checks for datalen for DLT_JUNIPER_ETHER

    Also did some fixes to Juniper Ethernet protocols to fix some bugs
    and support various types of Juniper Ethernet protocol types. Used
    Wireshark sources to figure out all the different packet types that
    Juniper uses.
    
    Unable to test all types because of lack of JNPER DLT pcaps.
    
    Also applied a fix for DLT_RAW to prevent similar issues.
    fklassen committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    8323a7f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #637 from appneta/Bug_#616_CVE-2020-24265

    Bug #616 Add checks for datalen for DLT_JUNIPER_ETHER
    fklassen authored Mar 13, 2021
    Configuration menu
    Copy the full SHA
    6fb578d View commit details
    Browse the repository at this point in the history
  3. Bug_#617_CVE-2020-24266 fixed by #616

    Bug #616 Bug_#617_CVE-2020-24265 includes updates that fixes
    this issue. See PR #637 for details.
    fklassen committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    f86f2cd View commit details
    Browse the repository at this point in the history
  4. Merge pull request #638 from appneta/Bug_#617_CVE-2020-24266

    Bug #617 CVE-2020-24266 fix tcpprep get_l2len()
    fklassen authored Mar 13, 2021
    Configuration menu
    Copy the full SHA
    765f012 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ab6bd3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e100d14 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #639 from appneta/Bug_#619_buffer_overflow_get_nex…

    …t_packet
    
    Bug #619 buffer overflow get_next_packet()
    fklassen authored Mar 13, 2021
    Configuration menu
    Copy the full SHA
    93b7db1 View commit details
    Browse the repository at this point in the history
  8. Bug #620 apply get.c functions fixed in #617

    Add safety and failure reporting for packet captures with
    caplen too small.
    fklassen committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    61db8ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1624f84 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a23726e View commit details
    Browse the repository at this point in the history
  11. Merge pull request #642 from appneta/Bug_#624_DLT_NULL_cross_platform…

    …_PF_INET6
    
    Bug #624 DLT_NULL/DLT_LOOP support for multi-platform PF_INET6 values
    fklassen authored Mar 13, 2021
    Configuration menu
    Copy the full SHA
    2ff7fd4 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2021

  1. Configuration menu
    Copy the full SHA
    66275ea View commit details
    Browse the repository at this point in the history
  2. Bug #553 limit maintainer builds to automake version 1.15 plus

    Centos 7 uses automake version 1.13.4 wich is unable to generate
    proper [include directives](https://www.gnu.org/software/automake/manual/html_node/Include.html).
    
    To build on Cento 7 use [release version](https:/appneta/tcpreplay/releases/latest).
    fklassen committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    a7d77f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    feeed93 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #643 from appneta/Bug_#553_Centos_7_maintainer_com…

    …pile
    
    Bug #553 Centos 7 disable maintainer compile
    fklassen authored Mar 14, 2021
    Configuration menu
    Copy the full SHA
    148d6c7 View commit details
    Browse the repository at this point in the history
  5. Bug #629 Compensate for overflow on high pps tests

    Change calculation after high packet sent count. The updated
    calculation will not work well for something like `--pps=0.1`
    but that would take many years to overflow, even on 32-bit
    machines.
    fklassen committed Mar 14, 2021
    Configuration menu
    Copy the full SHA
    c474681 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #644 from appneta/Bug_#629_pps_64bit_rollover

    Bug #629 Compensate for overflow on high pps tests
    fklassen authored Mar 14, 2021
    Configuration menu
    Copy the full SHA
    211ff7c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Merge pull request #627 from ddeangelis/typo_fix

    fixed simple typo, to short -> too short
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    e663f19 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #626 from timgates42/bugfix_typo_hierarchically

    docs: fix simple typo, hierarcicaly -> hierarchically
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    a9ef8f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbea526 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #618 from GabrielGanne/juniper-frames-fix

    fix heap-buffer-overflow when DLT_JUNIPER_ETHER
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    7ccde8c View commit details
    Browse the repository at this point in the history
  5. Update minor code format nit

    comply with Tcpreplay code style
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    5ddc051 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #631 from davecraig/master

    send_packet: Avoid clock drift by using time since first packet
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    3fba855 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #633 from idogoshen/bugfix/pps_invalid_value

    Bug #632 fix pps invalid value protection
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    98ece3e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d4a3999 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #645 from appneta/Bug_#630_send_dual_packets

    Bug #630 apply updates made in PR #631 into send_dual_packets()
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    4353ccc View commit details
    Browse the repository at this point in the history
  10. Merge pull request #567 from ffontaine/master

    configure.ac: fix --without-libdnet
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    6cf8975 View commit details
    Browse the repository at this point in the history
  11. Bug #472 Reset timestamps for multiplier between files

    This issue became more evident with #630. First file has proper
    deltas, second file sends with no delay.
    
    Tested with 2 ping.pcap files and obverved proper delays.
    fklassen committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    937af0f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d566af0 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #646 from appneta/Bug_#472_multiplier_only_first_f…

    …ile_works
    
    Bug #472 Reset timestamps for multiplier between files
    fklassen authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    7c77625 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Configuration menu
    Copy the full SHA
    270340e View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. tcprewrite: fix DLT name for DLT_C_JNPR_ETHER in documentation

    Code says `jnpr_eth`, but documentation says `jnpr_ether`.
    
    Signed-off-by: Vincent Bernat <[email protected]>
    vincentbernat committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    e0de9b4 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Merge pull request #648 from guijan/master

    clean up string manipulation in error exit
    fklassen authored Apr 1, 2021
    Configuration menu
    Copy the full SHA
    23d4ee0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #649 from vincentbernat/fix/dlt_jnpr_eth

    tcprewrite: fix DLT name for DLT_C_JNPR_ETHER in documentation
    fklassen authored Apr 1, 2021
    Configuration menu
    Copy the full SHA
    bb70a74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90c07cf View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Configuration menu
    Copy the full SHA
    ca592ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1173e21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8743cf1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e93f64b View commit details
    Browse the repository at this point in the history
  5. add myself to CREDIT

    guijan committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    079bac8 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2021

  1. Bug #658 fix libopts warnings

    fklassen committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    6ecdd0f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #659 from appneta/Bug_#658_libopts_warnings

    Bug #658 fix libopts warnings
    fklassen authored Apr 25, 2021
    Configuration menu
    Copy the full SHA
    2ac6ee9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #653 from guijan/patch2

    remove duplicate #include "lib/strlcpy.h"
    fklassen authored Apr 25, 2021
    Configuration menu
    Copy the full SHA
    23e3d43 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #654 from guijan/patch3

    replace memset followed by strncpy with strlcpy
    fklassen authored Apr 25, 2021
    Configuration menu
    Copy the full SHA
    13f8f44 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7589ed7 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #655 from guijan/patch4

    add myself to CREDIT
    fklassen authored Apr 25, 2021
    Configuration menu
    Copy the full SHA
    d2254e4 View commit details
    Browse the repository at this point in the history
  7. 1 Configuration menu
    Copy the full SHA
    0d6b6bc View commit details
    Browse the repository at this point in the history
  8. Merge pull request #660 from appneta/Bug_#651_fails_open_device_tap0

    Bug #411 #651 - don't create tap0 if it already exists
    fklassen authored Apr 25, 2021
    Configuration menu
    Copy the full SHA
    ed62271 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Configuration menu
    Copy the full SHA
    0a65668 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad8a180 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #663 from appneta/Bug_#662_ASAN_detected_memory_leaks

    Bug #662 ASAN detected memory leaks
    fklassen authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    8f2cf1e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c418ff View commit details
    Browse the repository at this point in the history
  5. Merge pull request #664 from appneta/Bug_#582_fixlen_option_fails_on_…

    …dlt_conversion
    
    Bug #582 calculate L2 length based on exporter DLT
    fklassen authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    4d304bd View commit details
    Browse the repository at this point in the history
  6. version 4.3.4-rc1

    fklassen committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    fc3135e View commit details
    Browse the repository at this point in the history

Commits on May 2, 2021

  1. version 4.3.4

    fklassen committed May 2, 2021
    Configuration menu
    Copy the full SHA
    1affd0f View commit details
    Browse the repository at this point in the history