Add per-host firewall policies for public, LAN, trusted reverse proxy, and service-only deployments. Policies define the IPv4 and IPv6 administrator allowlists, service ports, and per-source rate limits.
Preview and stage rules in a Coulobre-owned nftables table. Schedule an automatic rollback before activation and restore the last confirmed policy at boot.
Run distribution Fail2ban filters in a dedicated instance for SSH, Postfix authentication, and Dovecot. Expose the live rules and bans in the node CLI and record manual unblocks in an operator audit log.
Add local and remote service health entries and document the operator workflow, package ownership, and the layer at which to limit client requests behind a trusted reverse proxy.
Passed all 438 Django tests, the system and migration checks, and Ruff.
Built the source distribution and wheel and verified both against the branch commit.
On a disposable Debian 13 VM with the distribution packages, verified IPv4 and IPv6 access, UDP DNS rate limiting, trusted proxy source restrictions, and a Fail2ban ban and audited unblock.
Simulated a firewall change that blocked new administrator SSH sessions. The existing session stayed open, the timer restored fresh SSH access, and an independent nftables table kept its rules. Rebooted the VM and verified that the confirmed policy and managed Fail2ban instance returned.
## Summary
- Add per-host firewall policies for public, LAN, trusted reverse proxy, and service-only deployments. Policies define the IPv4 and IPv6 administrator allowlists, service ports, and per-source rate limits.
- Preview and stage rules in a Coulobre-owned nftables table. Schedule an automatic rollback before activation and restore the last confirmed policy at boot.
- Run distribution Fail2ban filters in a dedicated instance for SSH, Postfix authentication, and Dovecot. Expose the live rules and bans in the node CLI and record manual unblocks in an operator audit log.
- Add local and remote service health entries and document the operator workflow, package ownership, and the layer at which to limit client requests behind a trusted reverse proxy.
Closes #76
## Verification
- Passed all 438 Django tests, the system and migration checks, and Ruff.
- Built the source distribution and wheel and verified both against the branch commit.
- On a disposable Debian 13 VM with the distribution packages, verified IPv4 and IPv6 access, UDP DNS rate limiting, trusted proxy source restrictions, and a Fail2ban ban and audited unblock.
- Simulated a firewall change that blocked new administrator SSH sessions. The existing session stayed open, the timer restored fresh SSH access, and an independent nftables table kept its rules. Rebooted the VM and verified that the confirmed policy and managed Fail2ban instance returned.
parkel
added this to the v0.5.0 - Operator workflows and deployment milestone 2026-11-22 00:37:20 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Closes #76
Verification