Pcornel
Browse topics
Options
Recent
Favorites
Evidence · observation

Netfilter Linux firewall evidence

Linux · Netfilter

Expected observation

Healthy evidence: the observed packet follows the expected hook sequence, matching rules and conntrack/NAT state are coherent, and the packet reaches the intended next boundary. Suspicious evidence: operators inspect the wrong hook path, ignore earlier-priority chains, confuse bridge/local/routed traffic, or interpret frontend output without proving the kernel path for the actual packet.

Intended proof boundary

Correlated Linux firewall evidence can establish this proof path: packet origin → namespace → PREROUTING/OUTPUT as applicable → route decision → INPUT or FORWARD → POSTROUTING as applicable → socket/egress → 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. Netfilter is proven only when the actual packet path and hook order for the original flow are established and the effective verdict/translation at each relevant boundary agrees with capture and workload behavior.

Next discriminating check

For Firewall → Netfilter, continue with the first unproven Topic check: Classify the flow as inbound-local, outbound-local, forwarded or locally generated to a local address and map its expected hook sequence. If that boundary is healthy, advance to the adjacent check: Read base chains and hook priorities across all active families/tables, not only a familiar chain name. 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 → Netfilter + exact time/host/boot/namespace + affected object/identity + verification chain: packet origin → namespace → PREROUTING/OUTPUT as applicable → route decision → INPUT or FORWARD → POSTROUTING as applicable → socket/egress → workload + discriminator: Classify the flow as inbound-local, outbound-local, forwarded or locally generated to a local address and map its expected hook sequence. + 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?