-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
get_if_addr for macOS vlan iface not returning correct address #4704
Labels
Comments
Could you share conf.route ? |
I have a similar behavior with Tailscale:
Here are some helpful outputs:
|
|
@guedou For the MAC address I'm less surprised. The issue here is IP, which does look broken. It would be nice to have a reproducible setup though, I don't have a MAC :/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief description
get_if_addr(iface="vlan0") returns
0.0.0.0
instead of the IP address.Scapy version
2.6.1
Python version
3.12.3
Operating system
macOS 15.3.2
Additional environment information
No response
How to reproduce
Expect
get_if_hwaddr("vlan0")
to return10.0.2.7
, instead we see0.0.0.0
:read_routes()
has the correct information in columns 3 and 4, but it appears to be drawing from column 2, the gateway entry if I am reading this right.The IPs are indicated by
ifconfig
:Actual result
Expected result
Related resources
No response
The text was updated successfully, but these errors were encountered: