You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tcprewrite is modifying MAC addresses when using the --seed option. It should only be modifying IP addresses.
This was discovered because it will set the RII/multi-cast bit of the SRC mac address, rendering it as an invalid MAC on most networks causing our switch to drop the packet. This does not happen for me without the --seed option.
I built the latest 4.5.1 release and built it on my linux machine and the issue still occurs.
This was also reported in #794 - but I have attached example input and output pcaps (with their extensions changed to txt).
System (please complete the following information):
OS: Ubuntu 20.04
Tcpreplay 4.5.1
Additional context:
This was originally a '10k-random-flows' pcap not generated by me. I shortened it to only the first 100 flows, but the MAC addresses get changed in the same way.
The text was updated successfully, but these errors were encountered:
Describe the bug
tcprewrite
is modifying MAC addresses when using the--seed
option. It should only be modifying IP addresses.This was discovered because it will set the RII/multi-cast bit of the SRC mac address, rendering it as an invalid MAC on most networks causing our switch to drop the packet. This does not happen for me without the
--seed
option.I built the latest
4.5.1
release and built it on my linux machine and the issue still occurs.This was also reported in #794 - but I have attached example input and output pcaps (with their extensions changed to txt).
first-100-flows.txt
first-100-flows-rewritten.txt
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The MAC addresses should be identical after a
tcprewrite
with only the--seed
option.Screenshots
Here are the first 21 packets' MAC addresses before and after being re-written:
System (please complete the following information):
Additional context:
This was originally a '10k-random-flows' pcap not generated by me. I shortened it to only the first 100 flows, but the MAC addresses get changed in the same way.
The text was updated successfully, but these errors were encountered: