Skip to content

feat: tell the attestation service how a client compressed its batches - #211

Merged
NaySurGithub merged 1 commit into
devfrom
feat/session-evidence
Nov 12, 2026
Merged

NaySurGithub merged 1 commit into
devfrom
feat/session-evidence

Conversation

@NaySurGithub

Copy link
Copy Markdown
Contributor

Ten seconds after a player logged in, the server asks the attestation service a second time, with counts of how the client compressed its first batches (Falcon-MC/Network#19). Like the first question, it only runs when allow-unofficial-clients is false, never blocks, and an answer that is late or missing changes nothing.

  • NetworkHandler::getBatchTraits reads the counts the io thread samples once a second, next to the ping.
  • ClientAttestation::inspectSession sends them as a new evidence section. What they mean for a verdict stays in the service.

It needs Falcon-MC/Network at main (#19): an existing build directory has to be configured again to fetch it.

Not built in full here: the three changed sources were only checked with the project's compile flags against the new Network headers. Not tested on a running server.

Test plan:

  1. Join with the game, play for more than ten seconds: no note in the log, no removal.
  2. Join through a proxy that re-encodes batches with another compressor or compresses every batch: a Client note line or a removal follows about ten seconds after login.

AI disclosure

Written by Claude Fable 5.2 (research in the 1.26.60 client with IDA, code).

@NaySurGithub
NaySurGithub merged commit 546b1fe into dev Nov 12, 2026
8 checks passed
@NaySurGithub
NaySurGithub deleted the feat/session-evidence branch November 12, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant