Skip to content

graft batch 12: 1 land from backlog-1 - #49

Merged
thedancingdeveloper merged 1 commit into
mainfrom
graft/batch-12
Nov 4, 2026
Merged

thedancingdeveloper merged 1 commit into
mainfrom
graft/batch-12

Conversation

@thedancingdeveloper

Copy link
Copy Markdown
Collaborator

Batch 12 of graft line backlog-1, one commit per land, oldest first, by graft-mirror (decision D26). Merge it with rebase-merge to keep the commits (D28). graft never merges or queues this PR.

  • Base: main at dd373ed (graft cd83a72ae41e4962e6287869edc7f8f65bf27e471db87444b0d3b31edbd5ddccd)
  • Lands: 1 (cd12417d710b282a88d3bbe75fb54f3254196acb21814e8bef503292b73150662..c5c4ab327fb42d84591bae65d26db729a90de88330cc2e31db84b7b994b07650b)
Changeset Author Session Work item Attestations Subject
c5c4ab327fb42 thedancingdeveloper ses_01M6M5JNGSRX21XRV4XKQ5JJHV WI-3228 none fix: keep enrolled traffic in the tunnel when wg0 is lost or the host reboots

Graft-Batch: 12
Graft-Line: backlog-1
Graft-Changeset: c5c4ab327fb42d84591bae65d26db729a90de88330cc2e31db84b7b994b07650b

… reboots

SEC-02: bind the DNS forwarder's upstream sockets and the NAT-PMP client to
the tunnel interface (SO_BINDTODEVICE), so they fail with ENODEV instead of
leaving by the uplink when wg0 is absent.
SEC-03: the gateway forward chain drops enrolled traffic on any interface
but wg0 before the established accept, and IPv4 table 200 (gateway and host)
carries an unreachable default beneath the tunnel route.
SEC-01 (egressy half): the isolation agent caches the last host policy on
disk (EGRESSY_HOST_POLICY_CACHE) and installs it while the gateway does not
answer, e.g. after a reboot.

Tests: tunnel_socket/natpmp ENODEV, forward guard ordering, gateway and host
unreachable default + drift, agent cache fallback; opt-in netns test
tests/gateway-tunnel-loss-netns.sh. (WI-3228)

Graft-Changeset: c5c4ab327fb42d84591bae65d26db729a90de88330cc2e31db84b7b994b07650b
Graft-Session: ses_01M6M5JNGSRX21XRV4XKQ5JJHV
Graft-Work-Item: WI-3228
Graft-Batch: 12
@thedancingdeveloper
thedancingdeveloper merged commit 8d19d74 into main Nov 4, 2026
6 checks passed
@thedancingdeveloper
thedancingdeveloper deleted the graft/batch-12 branch November 4, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant