Anti-gamerfood measures:

- clients don't send server passwords as plaintext: the server sends a nonce which the client encrypt using the password as the key
- IPs are visible in netstats
- amount of client jobpreferences limited to 3 at the servers side
- sanitizing client names
This commit is contained in:
Regalis
2016-08-19 18:18:07 +03:00
parent 5dc8a5f8b7
commit ef0098d52a
7 changed files with 430 additions and 333 deletions

View File

@@ -13,9 +13,9 @@ namespace Barotrauma.Networking
{
Unknown,
Login, LoggedIn, LogOut,
Login, LoggedIn,
PlayerJoined, PlayerLeft, KickedOut,
PlayerJoined, PlayerLeft,
RequestNetLobbyUpdate,