Repair Windows and Health Checks — Advanced IPv4

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

Advanced IPv4 controls · Simple VPN and DNS policies

These limits apply to the advanced OpenVPN series only. The six simple walkthroughs retain their manual behavior. The author approved fifteen-minute windows, 4:30 complete attempts and an eighty-second qualification ceiling on November 28, 2026.

Keep the clocks separate

Control Approved behavior
First repair window From classified loss until 15:00
Cooldown after unsuccessful first window 15:00–30:00; failed-path reconnection inhibited
Second and final repair window 30:00–45:00
Attempts At most three per window; at most six in that incident epoch
Complete attempt At most 4:30, including preparation, connection, qualification and release
Qualification phase At most 80 seconds within that attempt
Initial startup One explicitly authorized fifteen-minute allowance; no second startup window
Confirmation 120 seconds after verified class release; may finish beyond the repair cutoff

Release must precede the active cutoff; equality is late. A new attempt is not allowed to borrow time from cooldown or another role’s window. Healthy permitted fallback continues during preferred-path cooldown and after final failed repair. The separate reset policy allows a fresh epoch after an explicit operator recovery restart or host boot; automatic crashes/reconnects do not reset it.

Fit three complete attempts

Included phase Maximum allocation
Retire/fence prior failed owned state 15 seconds
Start and verify a held instance 30 seconds
Native retry wait Up to 30 seconds
Durable admission record 2 seconds
Connection/handshake episode 60 seconds
Affected class qualification 80 seconds
Class selection/readiness/release 40 seconds
Phase total 257 seconds
Complete-attempt ceiling 270 seconds

Initial protective denial plus three full outer allocations is 2 + 3 × 270 = 812 seconds (13:32), leaving 88 seconds inside fifteen minutes. These are ceilings, not mandatory waits. Smaller operation limits and the earliest existing permission deadline still win. The controller must reserve later attempt opportunities; failed qualification rounds consume their phase’s remaining time instead of extending it indefinitely.

For example, complete slots at 00:02–04:32, 04:32–09:02 and 09:02–13:32 fit. In the third slot, the listed phase maxima can produce release by 13:19 and confirmation by 15:19. The confirmation crossing 15:00 is valid. An unknown stop/fence result still prevents a new attempt regardless of spare time.

Capacity is for three consecutive bounded cycles. A later relapse after verified release uses remaining incident authority; it does not obtain three new full attempts. A confirmed recovery ends that incident. A genuinely later failure may create another incident for that path; it cannot silently reset another failed path’s budget.

Check DNS and payload independently

Check Active service Qualification
DNS transaction and actual-client lookup Each within 2 seconds; poll nominally every 5 seconds Same 2-second limit
Complete DNS round Within 4 seconds of scheduled start Same round ceiling
Small payload connection/exchange Connection within 3 seconds, whole exchange within 8; poll nominally every 10 seconds Connection within 2 seconds, whole exchange within 4
Complete VPN observation round Within 10 seconds of scheduled start Same round ceiling
Restored VPN path Current service/session/protection evidence At least 7 complete passing rounds over at least 60 seconds, nominally 10 seconds apart
Direct DNS candidate Current provider/path evidence At least 3 complete rounds over at least 10 seconds, nominally 5 seconds apart

Payload probes use a numeric endpoint with expected protocol/identity/response; DNS failure is not a payload-probe prerequisite. DNS checks cover required UDP/TCP behavior and the actual client context without requiring an unrelated payload service. A DNS-only tunnel checks DNS and its session/protections. Direct DNS does not acquire a VPN handshake or sixty-second VPN qualification.

Use administered control names and expected answers. A normal negative answer to an arbitrary user query is not automatically failure. A required positive control failing, wrong-path traffic, malformed evidence or an unresponsive required service is loss for that class. An individual required failure acts immediately; a longer round ceiling does not extend the operation deadline. Concurrent independent operations can fit a round; genuinely dependent operations need a feasible explicit schedule.

Freshness and independent expiry

Required DNS evidence is at most ten seconds old; payload evidence at most twenty. Recovery results within a round span at most five seconds. Completed DNS rounds have gaps at most ten seconds and VPN rounds at most twenty. Count and elapsed span both matter: seven rounds alone may be too short, so an eighth may be needed within the eighty-second phase.

Meaningful monitor progress is reported every two seconds with independent expiry after seven seconds. Heartbeats cannot hide a stuck pending check. Compute DNS and payload permission deadlines separately; only actual common dependencies can close both. A DNS result just before its deadline can still arrive too late to publish/read back a renewal. Preserve denial for that class and reconcile; do not add a grace period or stop an independently healthy class merely for convenience.

Selection, confirmation and relapse

Candidate qualification does not itself open application traffic. Verify the selected provider/route in the client’s context, current guards and any required class-specific readiness, then complete release within the forty-second transition and before the repair cutoff. No whole-process pause may interrupt a healthy traffic class.

Release at 14:55 can confirm through 16:55. Relapse at 16:00 before confirmation closes that class and retains the scheduled second window at 30:00–45:00. Release at 44:55 can confirm through 46:55; relapse at 46:00 before confirmation exhausts automatic repair for that failed path. A valid explicit operator restart/boot reset is a separately recorded event, not a late callback. Manual holds remain authoritative.

For 2B automatic return, sixty seconds of healthy fallback residence overlaps preferred-path qualification. A failed fallback can be left early only for an independently qualified permitted replacement under valid authority. Manual return stays manual.

Interpret the result

These are the author’s engineering limits, not vendor defaults or measured performance claims. A host that cannot meet a required bound stays protected and reports the failed condition. Commands, syntax checks and rendered documentation cannot establish runtime correctness. Use the acceptance procedure when Linux testing is authorized.