tests/e2e: firewalld, nftables, iptables and kube rules make the firewall step hold (tests #115)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Read #115 and inspect step_firewall, fw.managers, tests/exit-status.sh, and the existing end-to-end test setup to see how scenarios provision and reset VMs. Start by tracing the firewall step and audit behavior for existing managers. Add the four manager scenarios and the fresh-path and false-positive checks on Debian 13 and Ubuntu 24.04; done means the listed assertions pass and the workflow runs weekly and for relevant pull requests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Epic #121 · Tests #115 (epic #109) · Milestone Phase 5: Servers already in use · Priority medium · Size M · Depends on #115
Why
#115 detects firewalld, nftables, netfilter-persistent and Kubernetes rules before enabling UFW. The issue keeps it out of the brownfield profile, so it gets its own short scenario set: boot, set up one manager, run only the firewall step. No full prep, so it stays cheap.
Scenarios fw-manager-<name> (one fresh VM each, or one VM reset between them)
For each of firewalld (unit active, one allowed port), nftables (nftables.service active, /etc/nftables.conf with an input chain), netfilter-persistent (/etc/iptables/rules.v4 not empty) and kube (a hand-made KUBE-SERVICES chain):
-
--existing --yes --only firewall: HELD with a todo that names the manager and how to switch. UFW stays inactive andufw_docker_rules()does not run (noufw-user-forwardin DOCKER-USER). - The manager still works: the port it allows still answers from the runner, and its unit is still active.
- Audit:
fw.managersis PASS (one manager) or INFO (nftables only).
Then, on the firewalld VM:
- Fresh path:
--yes --only firewallwithout--existingwarns, then enables UFW. Auditfw.managersis WARN "two firewall managers active (ufw, firewalld)". - No false positive: on the fresh profile VM (Docker and Tailscale-style
ts-chains),fw.managersis PASS and the step is not HELD.
Acceptance criteria
- Runs weekly on every system, and on PRs that touch
step_firewallorfw.managerson Debian 13 and Ubuntu 24.04. - The unit check in
tests/exit-status.shfrom #115 stays, as the fast check.
- Lingua principale
- Shell
- Stelle
- 2
- Fork
- 3
- Merge medio
- 2g 14m
- PR unite (30g)
- 47
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di exceev-consulting/server-prep
-
area: docs bug claude documentation good first issue priority: low size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
exceev-consulting/server-prep#225 ·
I maintainer di solito rispondono entro 2 giorni
-
area: preconfig bug claude priority: medium size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
exceev-consulting/server-prep#224 ·
I maintainer di solito rispondono entro 2 giorni
-
claude enhancement priority: low size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
exceev-consulting/server-prep#222 ·
I maintainer di solito rispondono entro 2 giorni
-
e2e flake: boot fails on debian-13 when its genericcloud image is missing from SHA512SUMSForse già presa @exceev-claude l’ha presa 1 giorno fa. Apertaarea: ci bug claude priority: high size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
exceev-consulting/server-prep#212 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
server-audit.sh: flag world-writable directories in /etc such as /etc/dokploy (GHSA-qxjv-6cvh-32c6)Apertaarea: audit claude enhancement panel: dokploy priority: high security size: S triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
exceev-consulting/server-prep#211 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di exceev-consulting/server-prep
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
huggingface/kernels#1006 ·
I maintainer di solito rispondono entro 1 giorno
-
severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
luainkernel/lunatik#2594 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cardano-community/guild-operators#1930 ·
I maintainer di solito rispondono entro 1 giorno
-
out-of-date
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CachyOS/CachyOS-PKGBUILDS#2136 ·
I maintainer di solito rispondono entro 1 giorno