tcpreplay icon indicating copy to clipboard operation
tcpreplay copied to clipboard

[Bug] tcpreplay on Debian 12 does not seem to work on tap interfaces

Open Zlika opened this issue 8 months ago • 0 comments

On Debian 11 (tcpreplay 4.3.3) I used the following procedure to replay a pcap file on a tap interface:

sudo ip tuntap add mode tap tap0
sudo ip addr add 10.11.12.1/24 dev tap0
sudo ip link set dev tap0 up

sudo tcpreplay -i tap0 --stat=1 file.pcap

I was then able to capture the replay on the same computer using Wireshark, listening on the tap0 interface.

I've just migrated to Debian 12 (tcpreplay 4.4.3) and this is not working anymore. I can still create the tap0 interface and run tcpreplay without any error, but Wireshark does not capture anything on the tap0 interface. I don't know if it is a bug of tcpreplay or if something has changed elsewhere in Debian networking stack, but I don't know how to debug this problem. Thank you for your help.

Zlika avatar Oct 21 '23 15:10 Zlika