scapy icon indicating copy to clipboard operation
scapy copied to clipboard

Send after sniff makes packet loss

Open pu-learn opened this issue 1 year ago • 1 comments

Brief description

I'm using asyncsniffer to sniff on 3 adapters on my pc. I create two packet to send in new sub-thread, both of them are sent once per second. When I send the first packet from adapter 1 to adapter 2, every packets can be sniffed. When I send the second packet from adapter 2 to adapter 1 after sending the first, both adapter 1 and 2 can only sniff the packets send from themselves, but none from peer adapter.

Scapy version

2.5.0

Python version

3.11

Operating system

Windows 10

Additional environment information

No response

How to reproduce

1.use asyncsniffer to sniff on adapter 1 and adapter 2 2.send packets with rate of 1 pps from adapter 1 to adapter 2. 3.send packets with rate of 1 pps from adapter 2 to adapter 1.

Actual result

both adapter 1 and 2 can only sniff the packets send from themselves, but none from peer adapter.

Expected result

Both adapters can sniff packets outbound and inbound

Related resources

No response

pu-learn avatar Aug 19 '24 07:08 pu-learn

Please provide a reproducible example, I'm not sure I understand the issue properly.

gpotter2 avatar Sep 02 '24 18:09 gpotter2

Closing for inactivity.

gpotter2 avatar Oct 20 '24 23:10 gpotter2