mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add option to not send pre v25 init packet
The legacy init packet (pre v25) sends information about the client's password that a server could use to log in to other servers if the username and password are the same. All the other benefits of SRP of protocol v25 are missed if the legacy init packet is still sent during connection creation. This patch adds an option to not send the v25 init packet. Not sending the v25 packet means breaking compat with pre v25 servers, but as the option is not enabled by default, no servers are affected unless the user explicitly flips the switch. More than 90% of the servers on the serverlist support post v25 protocols. The patch also fixes a bug with greying out of non compliant servers being done wrongly, the min and max params were mixed.
This commit is contained in:
parent
2607b97b4f
commit
af30183124
10 changed files with 71 additions and 24 deletions
|
@ -98,6 +98,8 @@ fake_function() {
|
|||
gettext("Address to connect to.\nLeave this blank to start a local server.\nNote that the address field in the main menu overrides this setting.");
|
||||
gettext("Remote port");
|
||||
gettext("Port to connect to (UDP).\nNote that the port field in the main menu overrides this setting.");
|
||||
gettext("Support older servers");
|
||||
gettext("Whether to support older servers before protocol version 25.\nEnable if you want to connect to 0.4.12 servers and before.\nServers starting with 0.4.13 will work, 0.4.12-dev servers may work.\nDisabling this option will protect your password better.");
|
||||
gettext("Saving map received from server");
|
||||
gettext("Save the map received by the client on disk.");
|
||||
gettext("Connect to external media server");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue