diff options
author | est31 <MTest31@outlook.com> | 2016-03-14 10:18:29 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-03-15 17:20:09 +0100 |
commit | af30183124d40a969040d7de4b3a487feec466e4 (patch) | |
tree | 12cc4bdc529545014f8c8c9d0c3ed9d640c9ce2a /minetest.conf.example | |
parent | 2607b97b4f2b41767d7a010e9376d3e7f578cb71 (diff) | |
download | minetest-af30183124d40a969040d7de4b3a487feec466e4.tar.gz minetest-af30183124d40a969040d7de4b3a487feec466e4.tar.bz2 minetest-af30183124d40a969040d7de4b3a487feec466e4.zip |
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.
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index cd0be5296..6a9dc5ce3 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -242,6 +242,13 @@ # type: int min: 1 max: 65535 # remote_port = 30000 +# Whether to support older servers before protocol version 25. +# Enable if you want to connect to 0.4.12 servers and before. +# Servers starting with 0.4.13 will work, 0.4.12-dev servers may work. +# Disabling this option will protect your password better. +# type: bool +# send_pre_v25_init = true + # Save the map received by the client on disk. # type: bool # enable_local_map_saving = false |