Add shared guest IPv4 identity - #1210
Merged
Weidong Cui (wdcui) merged 7 commits intoAug 20, 2026
Merged
Conversation
Weidong Cui (wdcui)
force-pushed
the
wdcui/ulitebox/shared-pod-ipv4-identity
branch
from
August 20, 2026 18:03
b8b9f4a to
6aaedf6
Compare
Weidong Cui (wdcui)
enabled auto-merge
August 20, 2026 18:05
Weidong Cui (wdcui)
force-pushed
the
wdcui/ulitebox/shared-pod-ipv4-identity
branch
from
August 20, 2026 19:02
06990d0 to
6aaedf6
Compare
Extend the broker-wide guest TCP and UDP namespaces with the fixed 10.0.2.15 identity while preserving existing native routing behavior. Derive wildcard guest source addresses per destination and keep private-address misses from falling through to native endpoints. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Represent TCP and UDP admission independently instead of enumerating every protocol combination. Keep destination storage internal and use empty per-protocol policies for guest-network-only access. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Reserve 10.0.2.15 directly for an unbound TCP connection to the shared guest address instead of reserving an unnecessarily broad wildcard binding. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Select the guest-visible source IP first and construct the ephemeral endpoint once, removing the one-use default TCP local endpoint constant. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Mark the TCP and UDP routing checks for simplification once gateway routing allows every unmatched guest-network destination to fail closed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Replace protocol-combination constructors with independent TCP and UDP policy setters. Callers now choose deny or guest-network baseline explicitly and configure only the protocol rules they need. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Allow a wildcard UDP binding to adopt each successful peer replacement's same-port platform address while keeping exact bindings fixed. Cover reconnecting from the private guest address to loopback. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Weidong Cui (wdcui)
force-pushed
the
wdcui/ulitebox/shared-pod-ipv4-identity
branch
from
August 20, 2026 19:54
6aaedf6 to
6ae6d2b
Compare
|
🤖 SemverChecks 🤖 Click for details |
Weidong Cui (wdcui)
deleted the
wdcui/ulitebox/shared-pod-ipv4-identity
branch
August 20, 2026 20:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the fixed shared guest IPv4 identity
10.0.2.15to the existing broker-wide TCP and UDP namespaces, simplifies socket policy into independent per-protocol settings, supports exact and wildcard guest bindings with destination-correct source addresses, and makes unmatched private guest destinations fail closed without changing native endpoint lifecycle or gateway routing.