Report which public blocklists list an address in the IP lookup (closes #158) #184

Merged
clawbot merged 1 commits from issue-158-ip-blocklists into next 2026-10-27 06:35:18 +01:00
1 Commits
Author SHA1 Message Date
sneak 64a83f9c57 Report which public blocklists list an address in the IP lookup (closes #158)
check / check (push) Waiting to run
A new package, internal/blocklist, downloads seven public lists on a
schedule: DShield, Feodo Tracker, FireHOL abusers and level 3, Spamhaus
DROP for IPv4 and IPv6, and the Tor exit list. It keeps the last good
copy of each in memory and on disk. A download sends back the
Last-Modified and ETag the publisher gave for the copy, also kept on
disk.

Every IP lookup result carries blocklists. An address with no live route
now gets a result too, without route fields, so the lookup no longer
answers 404. A successful answer carries Cache-Control, private for the
caller's own address. The address sets come from go4.org/netipx.

Model: opus-5-5
2026-10-27 05:21:21 +00:00