-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
srp is missing response (Centos 5.11) #2447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you retrieve the PCAP file from Scapy identifies the second frame as an answer to the first one:
|
The PCAP is indeed from eth1.
|
It looks like that the packet is not reached by Scapy. It should at least be in |
The master branch fails differently:
|
After commenting out the problematic setsockopt line that caused the
|
Does this trigger the issue |
indeed (again, only after commenting out the unrelated bug in master) |
Could you copy/paste the complete output? I am trying to identify the cause of the issue. |
The traceback under 2.4.3:
The traceback under master:
|
It seems that your issue is related to your kernel version and the support of VLAN in Scapy. According to http://manpages.ubuntu.com/manpages/bionic/man7/packet.7.html, your Linux 2.6.18 won't work. Could you share the output of these variables https://github.com/secdev/scapy/blob/master/scapy/supersocket.py#L90 ? |
|
Thanks. Does replacing the line with |
Yes! And also solves the original flow! |
Can you confirm that the only thing that you modified is removing |
Yes, exactly as you requested. |
Thanks. I will try to provide a fix to master soon. |
Thanks! Please take in mind also the not compatible setsockopt. |
Yes, you have indeed raised two issues:
Does this patch work for the second one?
|
Here is the patch for the
|
Once you confirm the fixes, I will provide a PR. |
Both patches work!
|
could you try PR #2460 ? it is a slightly different patch. |
PR #2460 doesn't work
|
I updated the PR to fix the typo. Does it work now? |
It works @guedou |
Brief description
Sending a simple TCP SYN packet results in no response according to scapy.
How is decided if a packet is a response to another?
Environment
How to reproduce
Actual result
Expected result
Related resources
scapy_srp_missing_response.pcap.zip
The text was updated successfully, but these errors were encountered: