Pcornel
Browse topics
Options
Recent
Favorites
Evidence · observation

nftables Linux firewall evidence

Linux · nftables

Expected observation

Healthy evidence: the intended manager produces the expected nft objects, the original packet matches the designed rule path and verdict, and positive/negative workload tests agree with policy intent. Suspicious evidence: rules exist in an unused family/namespace, another base chain runs earlier, set contents differ from assumptions, counters stay zero, or direct nft edits are later overwritten by a manager.

Intended proof boundary

Correlated Linux firewall evidence can establish this proof path: ruleset source/manager → nft transaction → table family → base-chain hook/priority → expression/set/map match → verdict/NAT/state → packet continuation → workload

Does not prove

It does not independently prove behavior outside the captured namespace, family, five-tuple, interface/direction, manager/backend, ruleset generation, conntrack/NAT state, time window or application scope. nftables proof requires the original packet to be traced or otherwise correlated through the effective family/hook/priority/rule path to its verdict; parsed configuration or transaction success alone is not proof.

Next discriminating check

For Firewall → nftables, continue with the first unproven Topic check: Capture nft list ruleset with handles and identify all base chains relevant to the flow by family, hook, priority and policy. If that boundary is healthy, advance to the adjacent check: Resolve sets, maps, verdict maps, named counters and jump/goto chains that can affect the original tuple. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

1ObservationExpected observation; record actual output separately.
→
2Inference boundaryOnly what the observation directly supports.
→
3Non-proof boundaryWhat still remains unproven.
→
4Next checkThe next discriminating observation.
Documentation structureReference completenessexpected observation documented · intended proof boundary documented · non-proof boundary documented · next check documented · source reference supplied
Source referencePcornel evidence-first Linux firewall modelSource presence does not itself prove technical correctness.
Verification closure

Use this Evidence to decide the next boundary, not to skip the original test

Observation → proof/non-proof boundary → next discriminating check → minimum controlled change → repeat the original workload/test → adjacent/return-path regression check where relevant.

Capture / filter

Firewall → nftables + exact time/host/boot/namespace + affected object/identity + verification chain: ruleset source/manager → nft transaction → table family → base-chain hook/priority → expression/set/map match → verdict/NAT/state → packet continuation → workload + discriminator: Capture `nft list ruleset` with handles and identify all base chains relevant to the flow by family, hook, priority and policy. + requested/observed/effective state + original workload/result
Reference statusEvidence reference · unreviewed · Source reference
Reference completenessEvidence reference · 100/100
Freshnessunreviewed
ProvenanceSource reference
Collection costLow

Evidence reference. Completeness measures filled reference fields, not a captured result, source correctness or confidence in live operation. Review freshness is shown separately. Record actual output, target, scope and time before drawing an operational conclusion.

Confirmation

Confirm action

Continue?