From c6a6e7c60b32bc3e2abecc04b525ad5172280b55 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 9 Jul 2023 11:05:04 +0100 Subject: [PATCH] Update low lavel changes document --- README.md | 1 - docs/jgrpp-low-level-changes.md | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e05f93dd3..bc7e1e5e3c 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,6 @@ See [installation.md](/installation.md) for instructions on how to install. * [Give money to company, instead of player](https://www.tt-forums.net/viewtopic.php?f=33&t=63899), broadcast money transfer notifications to all players. * Add setting to enable non-admin multiplayer clients to rename towns. * Add a password mechanism to change network game settings from a network client. -* Change network protocol to send server/join and rcon passwords in hashed form instead of in clear text. * Various changes to reduce the probability of desyncs and improve desync reporting/diagnostics. * Add support for zstd savegame compression for autosaves and network joins. * Increase the number of settings which can be changed in multiplayer. diff --git a/docs/jgrpp-low-level-changes.md b/docs/jgrpp-low-level-changes.md index ae235a5d47..d98f2353c8 100644 --- a/docs/jgrpp-low-level-changes.md +++ b/docs/jgrpp-low-level-changes.md @@ -15,7 +15,7 @@ This document does not describe the player-visible changes/additions described i * Support using sigaction and sigaltstack for more information and correct handling of stack overflow crashes (Unix). * Attempt to log stack overflow and heap corruption exceptions (Windows). * Demangle C++ symbols (Unix). -* Attempt to handle segfaults which occur within the crashlog handler (Unix). +* Attempt to handle crashes which occur within the crashlog handler, by skipping or only partially writing the faulting section. * Emit a "crash" log, savegame and screenshot on multiplayer desync. * Add crash/desync information to output screenshot and savegame files. * Multiplayer server and client exchange desync logs after a desync occurs. @@ -100,6 +100,8 @@ This document does not describe the player-visible changes/additions described i * Paginate UDP packets longer than the MTU across multiple packets. * Use larger "packets" where useful in TCP connections. * Send vehicle caches from network server to clients to avoid desyncs caused by non-deterministic NewGRFs. +* Change network protocol to send server/join and rcon passwords in an encrypted form (key exchange) instead of in clear text. +* Encrypt the contents of rcon messages to the server and any responses. ### Sprites/blitter