appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.15k stars 268 forks source link

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

Closed kYroL01 closed 3 weeks ago

kYroL01 commented 9 months ago

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):

fklassen commented 3 weeks ago

This issue was solved in PR #873 as part of fix for bug #792.

kYroL01 commented 3 weeks ago

Thank you!!