-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed as not planned
Description
Brief description
When sending specific packets with sr1
scapy does not capture the response packet even though Wireshark shows it clearly reaching the client.
This only happens with specific packets. What I was able to find is that it only happens for responses of packets that I send that do not have the SYN nor ACK flags.
Scapy version
2.5.0
Python version
3.10
Operating system
Windows 11 10.0.22621
Additional environment information
No response
How to reproduce
Here are two examples:
# Packet with no flags, from 10.0.0.8 to 10.0.0.8
p1 = '4500003c7f7a40004006a7320a0000080a0000089ef70087ba7e023ee01eef3fa0000080038a000003030a0102040109080affffffff000000000402'
# Packet with the FIN, PSH, URG flags
p2 = '4500003cddf90000400688b30a0000080a0000089efc0050ba7e023ee01eef3fa029ffffff12000003030f0102040109080affffffff000000000402'
sr1(IP(bytes.fromhex(p1))
sr1(IP(bytes.fromhex(p2))
Actual result
Begin emission:.
.Finished sending 1 packets..
........................................................................................
Expected result
The packet should be captured by scapy as shown by Wireshark.
Related resources
No response
mxmlnhppmnn
Metadata
Metadata
Assignees
Labels
No labels