Allowlist the iplocate DB patterns #10
Reference in New Issue
Block a user
Delete Branch "benvin/iplocate-patterns-allowlist"
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
The iplocate patterns from #9 were added to
mutable_patternsonly. Live testing showed that is not the allowlist: requests to the iplocate paths return 403 'access denied', and so do existingmutable_patterns-only paths (branch archives, webadmin), whilepatternsentries (uv) return 200. Sopatternsis the allowlist;mutable_patternsonly tags TTL.Changes
patterns(the allowlist), keeping them inmutable_patternsso the daily-updated branch content is re-checked rather than cached immutably.After apply
/api/v1/remote/github/iplocate/ip-address-databases/raw/main/ip-to-asn/ip-to-asn.csv.zipshould return 200 (currently 403).