Skip to content
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

IPv6 causes problems (master server and game) #807

Open
lxkurko opened this issue Feb 19, 2017 · 3 comments
Open

IPv6 causes problems (master server and game) #807

lxkurko opened this issue Feb 19, 2017 · 3 comments

Comments

@lxkurko
Copy link
Contributor

lxkurko commented Feb 19, 2017

If IPv6 is enabled for the game server and the master server (only HTTP master server tested), the game server gets registered with IPv6 address. However, the master server doesn't apparently handle IPv6 address format correctly, and error messages like this appear in the game console:

H: Menu_SvrList_RefreshServer(): cannot parse server addr xxxx:yyyy:zzzz:q:23400

I did some packet analysis and it seems that the master server gives a truncated address as shown above, and the port specification seems to be wrong too (IPv6 port should be marked with square brackets). I'm not sure how the game would work if it got a correctly formatted IPv6 address from the master server. However, entering an IPv6 address manually doesn't seem to work as the address field has a limit for the address length.

@pelya
Copy link
Collaborator

pelya commented Feb 21, 2018

IPv6 was disabled for HTTP masterservers in cde6571 as a workaround. I will add proper IPv6 support sometime later.

@lxkurko
Copy link
Contributor Author

lxkurko commented Aug 18, 2018

I spotted these errors when using 0.58 rc5. Local network was IPv4 only.

n: DNS: resolved server.az2000.de to 88.152.148.24 IPv6 
n: DNS: resolved liero.1337.cx to 69.12.73.163 IPv6 [2607:fcd0:100:1903::5da2:f18e]
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6
W: error while sending data to liero.1337.cx:23450 over IPv6

@pelya
Copy link
Collaborator

pelya commented Aug 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants