Check Advanced IPv4 Failure Behavior

4 Total views across this article’s versions; includes the historical baseline where available.

Advanced IPv4 controls · Simple VPN and DNS policies

These are acceptance instructions for a later isolated Linux run. No faults have been injected and no routing/runtime results are claimed here. First complete the host inventory and use-case worksheet. Local documentation/model checks can find contradictions, but cannot pass these runtime gates.

Prepare observable controls

Use an administered DNS control with known positive answers, required UDP/TCP behavior and actual-client lookup evidence. Fresh control names help separate local-cache replies from upstream requests; a resolver answer alone does not prove fresh authoritative recursion. Use a harmless numeric payload endpoint with expected identity/protocol/response so the payload check does not depend on DNS.

Record the exact application identity, namespace/resolver context, class/route, interface, current OpenVPN invocation and configuration generation. Observe both permitted and forbidden egress points. Keep independent administrative access and a restoration procedure for each injected fault. Avoid public production peers or unrelated host services as fault targets.

Exercise each class separately

Controlled condition Required observation
DNS service stops answering while payload transport stays healthy DNS closes; known-address payload on its permitted route continues
Payload operation fails while DNS remains healthy Payload closes; the same application can still use its permitted DNS
Shared VPN session fails Every class actually using that session closes; independent direct/other-VPN classes remain governed separately
Remote resolver alone fails No unjustified restart of a healthy VPN or unrelated local service
One required DNS transport fails Classify DNS loss even if another required transport works
Normal negative user lookup Do not confuse it with failure of an administered positive health control
Required observer becomes stale or malformed Close its affected class; unknown does not qualify a replacement
Common guard/supervisor fails Close all scopes depending on that common control

For use case 1, exercise selected and ordinary DNS independently. For 2A/3/4A/4B, exercise every host resolver context, including local forwarders and ordinary applications. For 4A/4B, fail VPN 1 and VPN 2 separately and confirm neither role substitutes for the other. In 4B, direct reachability of the same resolver address must not bypass VPN 1.

Exercise 2B selection and return

Keep payload traffic running by known address while preferred DNS fails. Verify that application DNS stays closed until the designated candidate’s count/span, actual-client selection and release controls pass. Probe identity must not proxy application traffic. A third resolver and direct selected payload remain forbidden.

Keep fallback active through preferred-path cooldown and final lockout. Fail the unselected preferred candidate and verify that healthy fallback is undisturbed. Then fail selected fallback and confirm denial unless an independently qualified permitted replacement has current authority. Check manual return separately from automatic return and the overlapping sixty-second residence rule.

Exercise budgets, confirmation and resets

Use the approved schedule. Verify three consecutive bounded cycles fit; stop a qualification from resetting indefinitely beyond its eighty-second phase. Test release just before each fifteen-minute cutoff and exactly at it. Only the former may release. Let confirmation cross the cutoff, then test relapse before confirmation and a genuinely later failure after confirmation.

Crash/restart components and replay duplicate startup callbacks: the old repair allowance must remain. Issue one explicit operator reset, then repeat its identity: only one replenishment is admitted. Repeat for a boot identity. Preserve selected fallback mode and manual holds. Destroy neither history nor other roles’ incident records. An unreadable required manual/policy record must not be interpreted as an enabled scope.

Exercise publication and transport coverage

Delay health delivery, queue writes, lose acknowledgements and reorder revoke/grant completion in the isolated adapter tests. Verify that late work cannot extend an old fixed cutoff or recreate a retired activation. An alive coordinator heartbeat must not hide a stuck required operation. Observe actual packet denial after independent expiry, including established flows.

Exercise local output, namespace forwarding, resolver forwarding, policy marks and ordinary unmarked traffic. Test protected IPv6 denial during the IPv4 phase and reject offload paths not covered by the reviewed gate. Application encrypted-DNS/proxy behavior must match the declared controls; do not infer coverage solely from blocked UDP/TCP port 53.

Check the clock and recovery owner

Record the effective time-provider settings, other possible clock writers, exact kernel/nftables conversion behavior and the accepted rate profile. Normal synchronization should preserve healthy traffic within that profile. An unsafe step/suspend transition must close/fence permission first. No generic version number or a short clock sample proves all future behavior.

Verify the actual OpenVPN HOLD delay format, one release per current wait, native retry accounting, disconnect signaling, sole management ownership and stop/readback limits. Check service start limits separately from persistent repair/reset budgets. A systemd process restart setting does not implement the full controller policy. systemd service controls.

Record acceptance honestly

For each case retain the injected condition, exact revision/build identities, scheduled deadlines, observed timestamps, class/route state, packet evidence, expected result, actual result and cleanup outcome. Distinguish a service availability interruption from traffic escaping to a forbidden route. Mark an unexecuted case unexecuted; do not convert a diagram, syntax check or Hugo render into a runtime pass.

Acceptance requires the implemented adapters and the chosen host to meet the complete contract. Until then these guides are the written IPv4 procedures, with runtime acceptance explicitly deferred.