59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
145 lines
8.4 KiB
Markdown
145 lines
8.4 KiB
Markdown
# Verification record
|
|
|
|
2026-10-14, local gateway workspace. GNU C++ 16.2.1, CMake 4.4.4,
|
|
OpenSSL 3.6.5, Python 3.14.7. No game service, client, Wine prefix, certificate,
|
|
reference tree or production database was modified or contacted.
|
|
|
|
## Backend milestone
|
|
|
|
Debug build succeeded with `-Wall -Wextra -Wpedantic -Werror` for library/probe.
|
|
`./build/protocol-tests`: **240 offline checks passed**. Includes golden legacy
|
|
challenge/frame/header-cipher/GUID bytes, endian floats, 20 roster slots, empty
|
|
roster, every truncation of a nonempty roster, oversize headers, malformed strings,
|
|
invalid SRP public values and a world SHA1 proof calculated independently in Python.
|
|
|
|
`ctest --test-dir build --output-on-failure`: **2/2 tests passed**. Loopback fixture
|
|
covers nonempty and empty rosters; invalid M2; PIN; zero server public value; wrong
|
|
SRP group; rejected login challenge/proof/world auth; Warden request; roster before
|
|
authentication; truncated roster; and refusal of a non-loopback address. Both SRP
|
|
proofs and the world digest are calculated independently by the fixture. Multiple
|
|
server packets exercise persistent cipher state; peer sends are fragmented into
|
|
single bytes (TCP may coalesce them). These are protocol-fixture results, not a
|
|
real Tortoise integration result or observed Forever compatibility.
|
|
|
|
Failures fixed: compiler misleading-indentation warning; incorrect hand-written
|
|
world-proof expectation replaced by independently calculated digest; fixture now
|
|
accepts TCP reset when the client correctly rejects a group before reading the
|
|
remaining challenge. Reader explicitly forbids construction from temporary byte
|
|
vectors to prevent dangling spans. Sandbox initially denied sockets; tests were
|
|
rerun with approved escalation for ephemeral loopback networking.
|
|
|
|
## Pending verification / blockers
|
|
|
|
- Real local Tortoise auth/roster: needs disposable account and ports plus authorized
|
|
build-integrity and addon inputs. No credentials were provided. No account is
|
|
created and no config/integrity policy is changed by the project.
|
|
- Forever frontend and 70334 wire map/layout: source contains hypotheses and older
|
|
build comments. Need approved local captures/fixtures against the preserved
|
|
working setup before claiming exact compatibility.
|
|
- Character-list translation and world entry: not implemented. Cosmetic IDs,
|
|
GUID identity, instance connection, update fields and initialization sequencing
|
|
require independent codecs and content mapping.
|
|
|
|
## Additional offline Forever milestone and final regression
|
|
|
|
Final offline executable: **287 checks passed**. Added an AES-256-GCM envelope
|
|
vector generated independently with Python cryptography's AESGCM (no AAD,
|
|
32-byte key 00..1f, LE counter 0 + CLNT magic IV, opcode 0x440014 + `fixture`,
|
|
first 12 bytes of the authentication tag). Tests cover direction isolation,
|
|
multiple packets, replay, altered tag/ciphertext, every envelope truncation,
|
|
plaintext mode and counter retention across encryption activation. No Forever
|
|
network endpoint or real-client acceptance is claimed.
|
|
|
|
A deterministic independent Python SRP server vector uses a=1 (natural A length
|
|
one byte) and a salt with two high zero bytes; it verifies padded wire A, K, M1 and
|
|
M2. Source reinspection of `_SetVSFields` caught and fixed x derivation to hash
|
|
natural-length salt. This documents the source behavior; the realmd challenge
|
|
parser currently requires the normal fixed 32-byte salt field.
|
|
|
|
The backend fixture now also tests an unencrypted pre-auth world rejection,
|
|
matching the server's early-failure path. Final fixture total: **14 scenarios**,
|
|
including non-loopback refusal. Added bounded connection deadlines and cleanup
|
|
of credential/session-key buffers on exceptions; cipher contexts cannot be copied.
|
|
Boost arithmetic temporaries still lack complete secret-memory hardening.
|
|
|
|
Debug and AddressSanitizer/UndefinedBehaviorSanitizer builds both pass **2/2 CTest
|
|
entries**, including the fixture. Sanitizer flags: `-fsanitize=address,undefined
|
|
-fno-omit-frame-pointer`. LeakSanitizer initially failed because the sandbox prevents
|
|
process inspection; running the same suite with approved escalation resolved that
|
|
environmental failure, with no reported sanitizer errors.
|
|
|
|
Reproduce the sanitizer build:
|
|
|
|
```sh
|
|
cmake -S . -B build-sanitized -DCMAKE_BUILD_TYPE=Debug \
|
|
'-DCMAKE_CXX_FLAGS=-fsanitize=address,undefined -fno-omit-frame-pointer' \
|
|
'-DCMAKE_EXE_LINKER_FLAGS=-fsanitize=address,undefined'
|
|
cmake --build build-sanitized -j2
|
|
ctest --test-dir build-sanitized --output-on-failure
|
|
```
|
|
|
|
## Actual-client milestone after expanded local authorization
|
|
|
|
Real Tortoise SRP/world authentication, server-side disposable character creation
|
|
and enumeration succeeded. The actual 64-bit Forever **70334** client then
|
|
completed local HTTPS/Battle.net login and encrypted gateway authentication,
|
|
triggered a fresh Turtle authentication/enumeration, and displayed the three
|
|
translated Turtle characters in character selection. See
|
|
[LOCAL_INTEGRATION.md](LOCAL_INTEGRATION.md) and its screenshot/trace/provenance.
|
|
This result is a real-client integration result, independent of fixture tests.
|
|
|
|
The bound Forever test account has zero character rows. No alternative game
|
|
client or copied Forever character rows were used. Appearance falls back to the
|
|
client's default human model; equipment/customization fidelity and world entry
|
|
are not implemented.
|
|
|
|
Offline suite now reports **298 checks passed**, including a 70,000-byte
|
|
hotfix envelope, independent packet bounds, realm-scoped GUID golden bytes,
|
|
regionwide enum flags/counts and unsupported race rejection. The real-client
|
|
failures drove the SRP shape, hotfix-size and streaming compression fixes.
|
|
|
|
Final regression: Debug **2/2 CTest entries passed**, sanitized **2/2 passed**
|
|
(including 298 offline checks and the existing 14 backend fixture scenarios).
|
|
Operator scripts pass `python3 -m py_compile ops/*.py`; `git diff --check` passes.
|
|
The final provider HTTPS challenge independently returned valid JSON with
|
|
`use_srp` exactly boolean true, SRP version 2 and all original parameter fields.
|
|
No sanitizer errors were reported. The new relay path's integration evidence is
|
|
its actual-client test; a dedicated simulated frontend relay fixture is not yet
|
|
implemented and should not be inferred from the backend fixture count.
|
|
|
|
## Latest actual-world regression (2026-10-14)
|
|
|
|
The earlier roster-only limitations above are historical. Actual WowB.exe70334
|
|
now enters Turtle Northshire, moves/jumps, exchanges say/system chat, acknowledges
|
|
Turtle same-map teleports, renders static mailboxes and a limited NPC subset, and
|
|
displays Turtle-provided NPC template names. Temporary mailbox creation/destruction
|
|
is also verified through actual client commands and screenshots. See WORLD_ENTRY.md
|
|
and its evidence files for scope; quests/combat and full gameplay remain incomplete.
|
|
|
|
Latest debug and ASan/UBSan CTest:2/2 passed each,742 offline checks and14
|
|
loopback backend scenarios. Optional serializer tests:3 self/skill,1 NPC structure,
|
|
2 orientation,2 static object,4 native query comparisons. The real lifecycle
|
|
harness matched GUID17370386180891926440 and destruction at305.21s with34/34
|
|
persistent template rows; screenshots were visually reviewed after the fade.
|
|
No fixture or byte comparison is treated as real client compatibility evidence.
|
|
|
|
Latest resumed regression:778 offline checks; debug and sanitizer CTest2/2 each.
|
|
Actual verified-field login succeeded twice with current credentials, and actual
|
|
NPC/mailbox visibility-range removal/re-creation succeeded. Real Turtle0x2FB
|
|
compressed movement was decoded to0xDD, independently of the offline fixtures;
|
|
NPC spline translation remains pending. Checkpoints8a56592 andbb4d08c preserve
|
|
the actual login and visibility fixes.
|
|
|
|
2026-10-14 population milestone: debug CTest3/3,778 protocol checks,
|
|
5 additional live-template serializer/generation checks and8 static GO type
|
|
checks pass. Real WowB shows Turtle guards/vendors and named targets.
|
|
Within250 yards,238/238 creatures and49/49 static GOs were accounted for.
|
|
See [OBJECT_POPULATION.md](OBJECT_POPULATION.md) for evidence and limits.
|
|
|
|
Latest NPC motion milestone (supersedes earlier pending-spline notes): **841**
|
|
offline checks; debug and ASan/UBSan CTest**3/3 each**;8 real/golden spline
|
|
native byte comparisons. Existing self/NPC/GO/query fixtures pass. Actual WowB
|
|
patrol movement is visually verified using five packet-triggered frames, while
|
|
Turtle Gatewaytest remains at its saved position. See [NPC_SPLINES.md](NPC_SPLINES.md).
|
|
No unit, schema or sent-packet check is treated as visual proof.
|