Skip to content

add A2S (Source Engine query) UDP handler - #199

Merged
glaslos merged 1 commit into
mainfrom
a2s-udp-handler
Oct 5, 2026
Merged

glaslos merged 1 commit into
mainfrom
a2s-udp-handler

Conversation

@glaslos

@glaslos glaslos commented Oct 5, 2026

Copy link
Copy Markdown
Member

Parse Valve A2S queries on udp/27015 (and via the generic udp peek) into command/request_type/query/challenge frames. Answer challenge-less A2S_INFO and PLAYER/RULES -1 with a 9-byte S2C_CHALLENGE so the scanner's follow-up is captured; never send info/player/rules data and never reply with more bytes than the request, so the sensor cannot amplify.

Parse Valve A2S queries on udp/27015 (and via the generic udp peek) into
command/request_type/query/challenge frames. Answer challenge-less
A2S_INFO and PLAYER/RULES -1 with a 9-byte S2C_CHALLENGE so the scanner's
follow-up is captured; never send info/player/rules data and never reply
with more bytes than the request, so the sensor cannot amplify.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@glaslos
glaslos merged commit 2c015cc into main Oct 5, 2026
1 check passed
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