-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Scapy is not working when IP is used as range in the ARP packet #2400
Comments
Did you retry against master ? |
Thanks, @gpotter2 I tried master and range representation, in summary, shows right. |
These all above screenshots are from arch linux, I tried in debian based os and it worked fine. I think there was something wrong with my system, not with scapy. |
even i have same issue. can anyone tell me how to fix this |
am facing the same with Kali Linux if creating ARP request with a single IP it works fine but with a range its getting me ????? |
upgrading scapy to its latest version will solve the issue - stackoverflow |
Python Version: 3.8.1 & 2.7.17(Tried Both)
Scapy Version: 2.4.3
Where Working?
It is working fine with a single IP address.
Where Not Working?
When passing the IP range in the constructor, it never worked.
But when we assign IP range, it works sometimes.
Tried Methods?
Tried in the script, like
Tried in terminal using scapy, whose screenshot attached above
EDIT: I tried to analyze packets sent by the main device using Wireshark on one of the devices present in the network.
I find that in spite of showing range as ??, sometime ARP request covers whole range 0-256 and programs stop successfully. But sometimes it stops at 192.168.43.170 and keeps sending the request for 192.168.43.1. And this also blocks the internet.
I don't know why at 192.168.43.170 because my gateway is at 192.168.43.1 and devices are at 192.168.43.98 and 192.168.43.198
Wireshark Output
The text was updated successfully, but these errors were encountered: