From 2fe2e8cdbc3bb520994ff0944188f2fa657c546a Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 1 Nov 2026 17:49:08 +0100 Subject: v4.0.0: require HELLO MAJOR.MINOR lockstep before auth --- docs/TESTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/TESTING.md') diff --git a/docs/TESTING.md b/docs/TESTING.md index 1a1d369..23e3a19 100644 --- a/docs/TESTING.md +++ b/docs/TESTING.md @@ -180,6 +180,18 @@ Use an 80-column terminal because several output lines are width-sensitive. one row with `winnings = 0`, `details.result = "abandoned"` and `details.reason = "server_restart"`. +## Manual version handshake check + +1. Connect a client and server from the same release: the client connects and + the server log shows the `HELLO` exchange. +2. Connect a 4.x client to a 3.x server (or the reverse): the client must print + `Version mismatch: client ..., server ...` and never reach the login prompt. +3. With a deliberately skew-built server (PATCH differs) the connection is + accepted and, when the server's version is newer, the client prints + `A newer version is available`. +4. Before the handshake, `openssl s_client -quiet -connect host:port` followed + by `PING` must answer `ERROR HELLO required`. + ## Manual identity / credential checklist 1. Connect through one address, `register` and `login`. `hosts` shows the -- cgit v1.2.3