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

[Bug] tcpreplay 4.3.4 Multiplier < 1.0 does not work #674

Closed
sterling-TAS opened this issue Jun 21, 2021 · 2 comments · Fixed by #699
Closed

[Bug] tcpreplay 4.3.4 Multiplier < 1.0 does not work #674

sterling-TAS opened this issue Jun 21, 2021 · 2 comments · Fixed by #699
Assignees
Labels

Comments

@sterling-TAS
Copy link

Describe the bug
I am trying to replay a PCAP at a slower speed and it does not seem to work. The execution time of the command is constant unless the multiplier command-line option is greater than 1.0.

To Reproduce
tcpreplay --intf1=eth0 --multiplier=0.5 myCapFile.pcap

Expected behavior
I expect that the time for the PCAP to play to double based on my multiplier.

System (please complete the following information):

  • OS: Ubuntu
  • OS version: 18.04
  • Tcpreplay Version: 4.3.4

Additional context
It does seem to use the multiplier option only if I loop the data. The first loop runs at normal speed and the subsequent loops are at the reduced speed.

@fklassen fklassen self-assigned this Jan 28, 2022
@fklassen fklassen added the bug label Jan 28, 2022
@fklassen
Copy link
Member

fklassen commented Jan 28, 2022

Probably introduced by PRs #631 and #645 (issue #630)

fklassen added a commit that referenced this issue Jan 28, 2022
fklassen added a commit that referenced this issue Jan 28, 2022
Bug #674 - Revert "send_packet: Avoid clock drift by using time since first packet"
@fklassen
Copy link
Member

Reverted PR #631 enhancement in PR #699

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants