dump1090 icon indicating copy to clipboard operation
dump1090 copied to clipboard

IPV6 support

Open proller opened this issue 12 years ago • 8 comments

proller avatar Apr 16 '13 12:04 proller

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

MalcolmRobb avatar Apr 19 '13 17:04 MalcolmRobb

its enables dualstack ipv4+ipv6 support.

my test (but connected to internet by v6 only ) here - http://odroid.setun.net:8080/

proller avatar Apr 22 '13 11:04 proller

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

MalcolmRobb avatar May 11 '13 23:05 MalcolmRobb

Did you load IPv6 capability? (sudo modprobe ipv6)

mindlesstux avatar May 12 '13 00:05 mindlesstux

@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 avatar Dec 21 '13 14:12 pferreir

@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.

mindlesstux avatar Dec 21 '13 14:12 mindlesstux

@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.

pferreir avatar Dec 22 '13 11:12 pferreir

No more need in this pull. Everything works with ipv6 in https://github.com/mutability/dump1090

proller avatar Nov 19 '16 10:11 proller