Skip to content

[Bug] tcprewrite --skipbroadcast option not working #677

@fklassen

Description

@fklassen

Describe the bug
It appears that this flag is ignored. I tested all the way back to version 3.4.4 and it wasn't working there either

To Reproduce
Flag fails on L2 and L3. This tests L2.

  1. Run the following on a PCAP file that contains an ARP broadcast
tcprewrite -b -s 55 -i arp.pcap \  
--enet-dmac=00:12:13:14:15:16,00:22:33:44:55:66 \
--enet-smac=00:22:33:44:55:66,00:12:13:14:15:16 \
-o arp-out.pcap \
-v -A"-ve"
  1. Inspect resultant file

Expected behavior
Broadcast MAC address ff:ff:ff:ff:ff:ff should not be altered

Actual results
MAC address modified

System (please complete the following information):

  • OS: Linux Debian
  • OS version: Buster
  • Tcpreplay Version 4.4.0 beta1

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions