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
Testing RakLib IPv6 support #1937
Conversation
This needs to take into account that PHP can be compiled without IPv6 support. It should either bail or not open the IPv6 interface if IPv6 is not available. |
Added two new server.properties options: - server-ipv6: defaults to "::" - server-portv6: defaults to the same value as "server-port"
|
This pull request is very useful if all problems are solved, which is possible to solve. Please consider doing this first because many vps/dedicated providers give more ipv6 than ipv4, and those default ports are kinda a new priority now. Thanks. |
It's not as trivial as it looks. There are a lot of internals that are entirely unprepared for IPv6. While this allows players to join via an IPv6 interface, there are a lot of other things that still need to be addressed. |
Please explain what this pull request is blocking on. It is almost two years old. |
There are some problems with /ban-ip as already mentioned, but the bigger problem is error handling. Currently, the server will crash if either IPv4 or IPv6 fails to bind. With this in mind, it should be possible to disable all but one network interface. |
Introduction
see pmmp/RakLib#22 for the library changes.