Skip to content

Finalize broker routing and host gateway access - #1225

Open
Weidong Cui (wdcui) wants to merge 18 commits into
uliteboxfrom
wdcui/ulitebox/broker-native-routing
Open

Finalize broker routing and host gateway access#1225
Weidong Cui (wdcui) wants to merge 18 commits into
uliteboxfrom
wdcui/ulitebox/broker-native-routing

Conversation

@wdcui

Copy link
Copy Markdown
Member

This PR finalizes broker-controlled Pod routing with the fixed guest identity 10.0.2.15 and host gateway 10.0.2.1, using one shared Guest/Native destination classifier so guest misses fail closed, gateway traffic is authorized through ordinary TCP and UDP destination rules before translation to host loopback, and wildcard native sockets retain guest-visible source identity. It also preserves one native UDP endpoint per broker socket while tracking host and guest-visible peers separately, filters unauthorized native sources, adds the symmetric --allow-udp-destination deployment option, and migrates broker and rewritten guest coverage to the gateway path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: b5a1a347-37a8-4246-8bbc-306590921475
@wdcui Weidong Cui (wdcui) changed the title Finalize Pod routing and host gateway access Finalize broker routing and host gateway access Aug 22, 2026
Weidong Cui (wdcui) and others added 16 commits August 24, 2026 10:07
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/inherent_method_missing.ron

Failed in:
  GuestSocketBinding::requested, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/36a29b7589471f812dc04a7261fd5ae1c2149bdf/litebox_broker_core/src/socket.rs:271
  GuestSocketBinding::guest_source_address, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/36a29b7589471f812dc04a7261fd5ae1c2149bdf/litebox_broker_core/src/socket.rs:308

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