dump1090
dump1090 copied to clipboard
IPV6 support
Sorry, probably a stupid question, but.. If these changes are incorporatred, will it enable both IPv6 and IPv4 to work. or is it a case of either/or?
Cheers Malcolm
its enables dualstack ipv4+ipv6 support.
my test (but connected to internet by v6 only ) here - http://odroid.setun.net:8080/
Proller, I've just copied your revised anet.c onto my Raspberry pi. It compiled Ok, but when i ran it I get the message "Error opening the listening port 31001 (Raw TCP output): Address family not supported by protocol". This appears to be an error return from anetTcpServer(). I think it implies that the Raspberry pi operating system (Raspian?) doesn't support IPv6?
Any comments or suggestions? Cheers Malcolm
Did you load IPv6 capability? (sudo modprobe ipv6)
@bdavenport he shouldn't need to enable IPv6 support. The patch should make sure that IPv4 is still supported. I don't think that's the case.
@pferreir The underlying os of a raspberry pi does not load the ipv6 module on boot natively. I have seen that error msg when the underlying odds does not support the protocol/stack.
@bdavenport: I'm not saying that's not the case. Just that if the program can't access the IPv6 stack it should fall back to IPv4. That doesn't seem to be the case.
No more need in this pull. Everything works with ipv6 in https://github.com/mutability/dump1090