Skip to content

fix(gateway): warn when a peer gateway's address is in this node's pool - #1606

Merged
kvinwang merged 1 commit into
nextfrom
fix/gateway-warn-pool-overlap
Nov 18, 2026
Merged

kvinwang merged 1 commit into
nextfrom
fix/gateway-warn-pool-overlap

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Cross-node agreement on instances assumes no node's client pool contains another node's gateway address, but config validation only sees the local node. When node info is loaded (startup and node changes), warn once per peer whose replicated wg_ip this node could hand to a CVM. Log only; nothing is refused and no record format changes. Broadcast and reserved nets of peers are not replicated, so they stay unchecked.

From the Lean model of allocation (#1597, IpAlloc.lean, PoolsClear).

@kvinwang
kvinwang enabled auto-merge November 18, 2026 08:51
@kvinwang
kvinwang force-pushed the fix/gateway-warn-pool-overlap branch from 5bf985a to 435ea85 Compare November 18, 2026 10:21
@kvinwang
kvinwang merged commit 13d9527 into next Nov 18, 2026
21 checks passed
@kvinwang
kvinwang deleted the fix/gateway-warn-pool-overlap branch November 18, 2026 10:28
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