2 Commits

Author SHA1 Message Date
cf5632e5d6
feat(ipcohort-contains): add --format pretty|tsv|csv|json
Auto-detects format when --format is empty: pretty when stdout is a TTY,
tsv when piped/redirected. JSON emits an array of {ip, found} objects;
CSV adds an 'ip,status' header row.
2026-04-30 17:27:10 -06:00
846cfe0070
feat(net/ipcohort): IP block/allow cohort filter
New package for matching IPs against cohort lists (single IPs and
networks, in separate files or combined) with inbound/outbound/whitelist
semantics. Supports the bitwire-it/ipblocklist data shape out of the box
and is meant to be paired with gitshallow or httpcache for periodic
refresh. Includes README, ipcohort-contains CLI, and tests.
2026-04-30 17:07:06 -06:00