appneta/tcpreplay

[Bug] Possible bug on tcprewrite version 4.4.4 for Ethernet layer

kYroL01 opened this issue · 2 comments

Describe the bug
With tcprewrite version 4.4.4 I could not change the Linux cooked capture layer (SLL) to Ethernet layer, while it's working fine with version 4.3.1

To Reproduce
Steps to reproduce the behavior:

  1. Take a pcap with Linux cooked capture (DLT_LINUX_SLL 113)
  2. Run the command tcprewrite --dlt=enet --enet-dmac=12:ab:34:89:fb:10 --enet-smac=00:1e:79:9e:f8:00 -i old.pcap -o new.pcap
  3. Open the new.pcap with wireshark and you don't see the layers detected correctly

Screenshots
Version 4.4.4
ScreenShot_20230918155304

Version 4.3.1
ScreenShot_20230918155554

System (please complete the following information):

  • OS: Debian 11
  • Tcprewrite Version [e.g. 4.4.4]