Advanced OpenVPN with IPv6 · Advanced IPv4 · Simple policies
All approved values carry forward from Repair Windows and Health Checks. IPv6 adds observations, not longer deadlines or another allocation of connection attempts. The failure-boundary guide defines what each required result controls.
Keep the same budgets
| Control | Unchanged value |
|---|---|
| First repair / cooldown / final repair | 00:00–15:00 / 15:00–30:00 / 30:00–45:00 |
| Initial authorized startup | One 15-minute window; no second startup window |
| Attempts | At most 3 complete attempts per window, 6 per unresolved incident epoch |
| Complete attempt / qualification ceiling | 270 seconds / 80 seconds |
| Post-release healthy confirmation | 120 seconds; may finish after repair cutoff |
| Restored VPN path | At least 7 passing rounds spanning at least 60 seconds; nominal 10-second spacing |
| Direct DNS candidate | At least 3 passing rounds spanning at least 10 seconds; nominal 5-second spacing |
| Automatic-return fallback residence | 60 seconds, overlapping preferred qualification |
| DNS active and recovery operations | 2 seconds each; 4-second complete round; nominal 5-second active polling |
| Payload active operation | 3-second connection, 8-second total; nominal 10-second active polling |
| Payload recovery operation | 2-second connection, 4-second total; 10-second complete observation round |
| Evidence maximum age | DNS 10 seconds; payload 20 seconds |
| Recovery consistency | At most 5 seconds between results within a round; completed DNS/VPN round gaps at most 10/20 seconds |
| Meaningful progress heartbeat / independent expiry | 2 seconds / 7 seconds |
| Renewal planning lead / gate operation | 4 seconds / 2 seconds; neither extends an existing cutoff |
| OpenVPN control-stop envelope | 15 seconds, with escalation due no later than 12 seconds |
The phase reservations remain 15 + 30 + 30 + 2 + 60 + 80 + 40 = 257 seconds inside the 270-second attempt. Initial denial plus three outer allocations remains 2 + 3 × 270 = 812 seconds, leaving 88 seconds. IPv4 and IPv6 qualification run within that allocation; they do not receive successive 80-second phases. An unknown stop/fence result still blocks another start.
Make each round feasible
Bind observations to the intended address family, resolver/endpoint, source/interface context and current session/configuration. Force IPv4 and IPv6 independently for payload checks; do not accept a library’s automatic fallback as a passing IPv6 check. Use numeric payload controls with expected protocol/identity/response so DNS loss does not become a payload prerequisite.
For DNS, exercise required UDP and TCP, administered positive A/AAAA controls and actual application-context lookups over the declared resolver paths. A normal negative user answer is not failure of an administered positive control. Receiving AAAA records says nothing by itself about the DNS request’s transport family.
Independent IPv4/IPv6 and UDP/TCP checks can overlap. A complete DNS round still has four seconds from scheduled start. Do not serialize eight two-second requests and call the resulting sixteen-second batch one valid round. Dependent setup/selection must precede qualification or fit an explicitly feasible schedule; no slow task may be hidden by a heartbeat. Bound workers and capacity before activation. If the host cannot sustain the required checks, classify the affected evidence unknown and keep its permission closed.
Seven VPN completions can span less than sixty seconds when completion times vary; an eighth may be needed within the eighty-second phase. Round failure resets stability, not the phase cap or incident. Direct DNS does not acquire a VPN handshake or mandatory sixty-second qualification merely because an endpoint is IPv6.
Work through strict recovery
Use case 4B has DNS through VPN 1 and selected payload through VPN 2. At 00:00, VPN 2’s IPv6 payload path stops responding while its IPv4 payload path and VPN 1 DNS remain healthy. Close selected IPv6 payload, retain those independent services, and record IPv6 loss. Do not restart the healthy VPN 1 or silently send IPv6 payload directly.
Assume an owned IPv6 route fault is repaired and qualification begins at 02:00. Passing completions at 02:04, 02:14, 02:24, 02:34, 02:44, 02:54 and 03:04 supply seven rounds over sixty seconds. Continued checks and actual-client verification allow release at 03:15, followed by confirmation through 05:15. These are constructed times inside the existing ceilings, not additional timers or measured behavior.
If the IPv6 path cannot recover, its first window closes at 15:00, then it gets the scheduled 30:00–45:00 final window. Healthy IPv4 payload and DNS remain available. If instead VPN 2’s session fails, both of its payload families close because both depend on that session. The one session restart is counted once, not once per family.
Work through permitted fallback
Use case 2B’s preferred DNS service requires both declared resolver transports. At 00:00 its required IPv6 DNS path fails. This remains DNS loss even if its IPv4 endpoint answers. Close that DNS context; keep healthy known-address payload on its assigned VPN. Qualify only the designated direct fallback’s declared service.
Suppose complete candidate rounds finish at 00:02, 00:07 and 00:12. They span ten seconds. Continued fresh checks plus mode selection and actual-client verification finish at 00:25; release DNS then and confirm through 02:25. Both families of application lookup use the chosen fallback mode; there is no residual IPv6 route to the old provider. A fallback with only an approved IPv4 endpoint can still answer AAAA questions; it must not advertise unimplemented IPv6 DNS transport.
Healthy fallback continues across preferred repair cooldown and final failure. Automatic return needs the preferred service’s full required qualification and at least sixty seconds of healthy fallback residence, with the periods overlapping. Manual return waits for the operator. If fallback fails, close DNS unless an independently qualified permitted replacement has valid authority. No variant permits direct selected payload.
Preserve deadlines, clocks and reset rules
Verified release must precede its applicable cutoff; equality is late. Release at 14:55 may confirm through 16:55. Relapse at 16:00 retains the final repair window at 30:00–45:00. A successful fallback confirmation does not close the preferred incident. Another family’s success cannot reset the failed path’s record.
An explicit operator recovery restart or host boot can reset eligible allowances once, retaining manual holds and selections. Automatic crashes, reconnects, family changes, address renewal and repeated callbacks cannot. Restore intended state, then obtain fresh evidence; never replay old permissions or boot-relative deadlines.
The existing managed-clock assumptions, finite memberships, absolute cutoffs, late-update rejection and revocation fencing apply to both families. Earlier operation/expiry deadlines win over larger budgets. The two-second minimum applies to configured controller timers; it does not rewrite protocol internals, DNS TTLs or address lifetimes. A permission must not outlive a required address/route or be rounded upward past a cutoff. If insufficient safe lifetime remains, do not grant it.