ops: Assert Host allowlist reject in validate-check #55
No reviewers
Labels
No labels
blocked
bug
draft
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
s1d3sw1ped/steamcache2!55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ops/host-allowlist-reject-assert"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Empty-upstream Host allowlist is load-bearing: if that gate regresses, the cache becomes an open LAN reverse proxy again. Unit tests already cover
hostAllowedForDirectFetch, butmake validate-checkdid not probe the live reject path.What
make validate-checkto GET/depot/allowlist-probe/chunkwithHost: evil.exampleand Steam UA; require HTTP 400 andInvalid URLTest
go test ./steamcache/ -run "TestHostAllowedForDirectFetch|TestDirectFetchRejectsNonSteamHost"— passRisks / rollback
Makefile + docs only. Revert commit.
Fixes #37