Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nft-blocklist
command
Command nft-blocklist maintains nftables blocklist sets from curated threat-intelligence feeds.
|
Command nft-blocklist maintains nftables blocklist sets from curated threat-intelligence feeds. |
|
internal
|
|
|
app
Package app orchestrates the update pipeline.
|
Package app orchestrates the update pipeline. |
|
config
Package config defines the strongly typed configuration schema for nft-blocklist: a main config.yaml plus per-feed YAML files in feeds.d/.
|
Package config defines the strongly typed configuration schema for nft-blocklist: a main config.yaml plus per-feed YAML files in feeds.d/. |
|
feed
Package feed downloads and parses upstream blocklist feeds.
|
Package feed downloads and parses upstream blocklist feeds. |
|
ipmath
Package ipmath provides IP/CIDR parsing, safety validation, deduplication, CIDR merging and allowlist subtraction.
|
Package ipmath provides IP/CIDR parsing, safety validation, deduplication, CIDR merging and allowlist subtraction. |
|
nftctl
Package nftctl is the only place that executes the nft binary.
|
Package nftctl is the only place that executes the nft binary. |
|
nftgen
Package nftgen renders the complete nftables transaction file that nft-blocklist applies with `nft -f`.
|
Package nftgen renders the complete nftables transaction file that nft-blocklist applies with `nft -f`. |
|
notify
Package notify delivers operational events (allowlist collisions, failed updates, shrink-guard trips, suspected floods) to external channels.
|
Package notify delivers operational events (allowlist collisions, failed updates, shrink-guard trips, suspected floods) to external channels. |
|
state
Package state persists what a successful run produced, for three consumers that all outlive the oneshot process: the boot-restore service (re-applies the last-known-good ruleset before feeds are re-downloaded), the rollback command, and the shrink guard of the *next* run (which needs the previous entry count to detect a collapsing feed set).
|
Package state persists what a successful run produced, for three consumers that all outlive the oneshot process: the boot-restore service (re-applies the last-known-good ruleset before feeds are re-downloaded), the rollback command, and the shrink guard of the *next* run (which needs the previous entry count to detect a collapsing feed set). |
|
test
|
|
|
e2e/feedserver
command
Command feedserver is the hermetic stand-in for real threat-feed providers in integration and e2e tests.
|
Command feedserver is the hermetic stand-in for real threat-feed providers in integration and e2e tests. |
Click to show internal directories.
Click to hide internal directories.