minetest/src/network
est31 af30183124 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.
2016-03-15 17:20:09 +01:00
..
CMakeLists.txt Clean up and tweak build system 2015-03-27 15:00:48 -04:00
clientopcodes.cpp Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
clientopcodes.h [Patch 2/4] Network rework: packet writing, sending and cleanups 2015-02-16 11:00:55 +01:00
clientpackethandler.cpp Fix player teleportation bug whilst sneaking 2016-03-14 08:44:28 +00:00
connection.cpp Always use errorstream for DEBUG_EXCEPTION_HANDLER 2015-10-14 02:33:30 -04:00
connection.h Clean up threading 2015-08-23 22:04:06 -04:00
networkpacket.cpp Fix for commit 87dcee6 It uses the wrong variable and only covers some use cases. This change covers all use cases. 2016-01-04 07:50:39 +01:00
networkpacket.h Fix critical vulnerabilities and bugs with NetworkPacket 2015-08-06 00:10:57 -04:00
networkprotocol.h Add option to not send pre v25 init packet 2016-03-15 17:20:09 +01:00
serveropcodes.cpp Finalize init packets and enable protocol v25 2015-05-16 21:17:28 +02:00
serveropcodes.h [Patch 2/4] Network rework: packet writing, sending and cleanups 2015-02-16 11:00:55 +01:00
serverpackethandler.cpp Much better API for auth.{cpp, h} 2016-03-15 05:55:49 +01:00