[deploy][M0] Foundations + detection-only (shadow) #166
Labels
No labels
bug
deploy
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/blackwall#166
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Milestone tracker. Deploy blackwalld on sockpuppet as an Incus container, one iBGP session to BIRD, sFlow from the POPs, detecting but not acting (shadow). Gate to exit: N days of shadow logs match reality.
Features:
Long pole was #1+#2 (done). Critical path: #23 → #6 → (#3 ∥ done-telemetry) → #9 → deploy detection-only.
#9 shadow mode — DONE (PR #187, merged). Global
shadowconfig directive: RTBH/FlowSpec/XDP mitigations are logged + metered (blackwall_shadow_would_mitigate_total{plane,action}) + audit-logged (/v1/audit), never executed; persistent mirror stays empty so a shadow→live restart can't promote never-vetted entries. Non-breaking.M0 remaining: #3 BIRD-gen (#172), #6 Incus (#175), #7 purrmetheus (#176), #23 bootstrap (#185).
#23 bootstrap + #6 Incus container — artifacts authored (deploy repo branch
blackwall-m0, offauth-nameservers). Blackwalldflowpackaged as an incusbr0-only Incus container running shadow/detection-only:build.sh(bootstrap — postgres DB/role, container, binary+systemd unit, DB env; pg-backups auto-covers the DB),install-in-container.sh,blackwall.conf.tmpl(shipsshadow), a hostblackwall-sflow-forward.shDNAT, anddocs/BLACKWALL.mdrunbook. iBGP over incusbr0 via the shippedblackwalld bird-config. Not merged/applied — operator review + apply. Remaining M0: #7 purrmetheus (#176).M0 artifacts COMPLETE. All M0 pieces exist: blackwall code (telemetry #1/#2, shadow #9, BIRD-gen #3, all merged) + deploy glue (#23 bootstrap + #6 container + #7 purrmetheus, authored on deploy branch
blackwall-m0). The detection-only shadow deploy is fully buildable. Remaining M0 = operator apply (run build.sh on sockpuppet, fill config, wire BIRD/sFlow/monitoring — see docs/BLACKWALL.md) + a shadow observation period. Then M1 (arm with safety).