0ad/source/network
wraitii 7bfcd9f78b Additional entropy when hashing match passwords.
The purpose of our client-side hashing for lobby game passwords is to
prevent malicious hosts from getting valuable passwords from clients
(e.g. accidentally typing their lobby password instead of the game, or
even their email password, etc).
However, the hashing was deterministic (and rather simple), making it
possible to compute rainbow tables and recover user passwords anyways.

By adding more variation, including some that cannot so easily be
controlled by the host (the client name), this becomes impractical. The
password hashing function used is rather fast, but given the base low
probability of mistypes, this seems fine.

Differential Revision: https://code.wildfiregames.com/D3459
This was SVN commit r25459.
2021-05-18 14:47:36 +00:00
..
scripting Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
tests StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
fsm.cpp Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
fsm.h Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
NetClient.cpp Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
NetClient.h Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
NetClientTurnManager.cpp Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
NetClientTurnManager.h Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
NetFileTransfer.cpp Split NetFileTransfer message parsing into one function per case, refs #5212. 2019-09-17 14:18:46 +00:00
NetFileTransfer.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
NetHost.cpp Automatically replace %hs/%ls with %s in CLogger format strings. 2015-01-22 20:36:24 +00:00
NetHost.h Hide ip and port from users until they want to join, add optional password 2021-01-20 18:31:39 +00:00
NetMessage.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
NetMessage.h Fix few typos found with the Debian lintian tool. 2017-10-28 22:34:57 +00:00
NetMessages.h MP: don't enforce game init attributes synchronization in PREGAME. 2021-03-22 10:13:27 +00:00
NetMessageSim.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
NetServer.cpp Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
NetServer.h Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
NetServerTurnManager.cpp Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
NetServerTurnManager.h Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
NetSession.cpp Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
NetSession.h Netcode: Identify controller client via a secret key 2021-02-27 17:44:59 +00:00
NetStats.cpp Clean up ThreadUtil, use standard C++11 constructs instead of custom ones. 2019-06-06 19:30:48 +00:00
NetStats.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
NMTCreator.h Net Server: Verify password in Authenticate 2021-01-23 18:04:36 +00:00
Serialization.h Strip trailing whitespace from network code. 2015-12-21 13:58:32 +00:00
StringConverters.h Provide JSON-compatible string escaping 2011-11-04 01:18:34 +00:00
StunClient.cpp StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00
StunClient.h StunClient code cleanup: use enet functions, endianness 2021-05-17 15:14:10 +00:00