1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-13 12:55:04 -05:00
minetest/builtin
est31 d767f025cb Client: disable pre v25 init sending by default
Disable the ability to connect to old servers by default to
improve password security.

If people still want to connect to old (0.4.12 and earlier)
servers, they can flip the send_pre_v25_init setting.

Add the ability to detect if we've tried to connect
to a server which only supports the pre v25 init protocol,
and show an apropriate error message. Most times the error
will already be catched at the serverlist level, the
detection mechanism only acts as last resort, because the
"Connection timed out" error message that would be shown
otherwise would be very confusing.

Automatic "fixing" of this condition is not desired,
as it would allow for downgrade attacks.

As already 161 of the 167 servers on the serverlist
support the new srp based auth protocol (> 96%),
the breakage should be minimal.

Follow up of commit

af30183124 "Add option to not send pre v25 init packet"

Also change the pessimistic assumption of masterlist
server versions to optimistic, in order to avoid buggy
behaviour (favourites not in the serverlist would be
denied to connect to, etc).
2016-08-22 20:23:28 +02:00
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
common Only allow strings to be passed to minetest.global_exists (#4253) 2016-06-28 06:34:22 +02:00
fstk Faster insertion into table 2016-03-06 23:42:04 +00:00
game Move on join and on leave messages to lua (#4460) 2016-08-22 20:21:48 +02:00
mainmenu Client: disable pre v25 init sending by default 2016-08-22 20:23:28 +02:00
profiler Builtin/profiler: Replace game profiler (#4245) 2016-07-12 21:51:10 +02:00
init.lua Mainmenu: Refactor tab UI code 2016-04-08 02:25:04 -04:00
settingtypes.txt Client: disable pre v25 init sending by default 2016-08-22 20:23:28 +02:00