Harden lookup counters #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/harden-lookup-counters"
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?
Follow-up to Taskuler Security's Re-review 2 (R2-2, R2-3, R2-5). Built on web #16 (the screening server code lives there; #18's branch doesn't include it). Merge after #14–#18. #14–#18 are unchanged. No deploy.
What changes (screening server only):
IPAPI_MAX_NETWORKS_PER_DAY). Past that, new networks get "unavailable"..corruptand lookups pause until 00:00 UTC. The same happens if the file disappears after the first start.daily-counters.jsonanddaily-counters.json.init.net.isIP. Every IPv4-mapped form and NAT64 (64:ff9b::/96) counts as its IPv4 address, for limits, lookups and the Tor list.bad_client_ip.SCREEN_RATE_LIMIT_48), on top of the per-/64 limit.No user-facing text changes.
Checked:
npm test173/173 on this branch, bothtscpasses and the testnet build pass.