-
-
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
OSError: illegal IP address string passed to inet_pton when IPv6 is disabled #4563
Comments
scapy uses |
Thanks for the report. Could you share the complete stack trace?Sent from my iPhoneOn 8 Oct 2024, at 11:45, Martijn de Milliano ***@***.***> wrote:
scapy uses socket.has_ipv6 as part of its logic, but socket.has_ipv6 is True even when the system is started with ipv6.disable=1.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Duplicate of #4541 |
Sorry for not having spotted that this is a duplicate of #4541, I did make an effort to find whether this issue had already been reported but it somehow didn't show up in my search results, therefore I thought that nobody had reported this yet. I confirm that #4560 is also a fix for the case that I reported. Thanks for looking into this. |
Brief description
Scapy fails to load when IPv6 support is disabled in the kernel.
Scapy version
2.6.0
Python version
3.10.12
Operating system
Ubuntu 22.04.5 LTS
Additional environment information
No response
How to reproduce
ipv6.disable=1
in the kernel command line.Actual result
When scapy is started, many modules are imported, which all fail with the message
Expected result
When scapy is started, no error message is displayed.
Related resources
No response
The text was updated successfully, but these errors were encountered: