Constrain local relay and support listeners#3012
Draft
philip-martinez-identityfabric wants to merge 2 commits into
Draft
Constrain local relay and support listeners#3012philip-martinez-identityfabric wants to merge 2 commits into
philip-martinez-identityfabric wants to merge 2 commits into
Conversation
Signed-off-by: SteinerBBQ <155865077+SteinerBBQ@users.noreply.github.com>
Signed-off-by: SteinerBBQ <155865077+SteinerBBQ@users.noreply.github.com>
philip-martinez-identityfabric
force-pushed
the
codex/loopback-relay-listeners
branch
from
July 26, 2026 18:25
95ebe9d to
171b4fd
Compare
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.
What changed
BUZZ_HEALTH_ADDRandBUZZ_METRICS_ADDRfull socket-address settings.BUZZ_HEALTH_PORTandBUZZ_METRICS_PORTbehavior when the new settings are absent.Why
The main relay already supported a configurable bind address, but the health and metrics listeners were hardcoded to all IPv4 interfaces. Local development services were also published on every interface. That made a workstation-only Buzz stack broader on the LAN than necessary.
Impact
Existing deployments retain their current defaults. Operators can opt into narrower health and metrics listeners with full socket addresses. The checked-in development Compose stack is now workstation-local by default.
Validation
cargo fmt --all -- --checkbuzz-relayconfiguration testscargo clippy -p buzz-relay --all-targets -- -D warnings127.0.0.1; relay root, liveness, readiness, and metrics returned HTTP 200docker compose config --quietbranch-skew,rust-tests, anddesktop-tauri-testhooksA separate full
buzz-relaypackage run encountered the existingapi::mesh_demo::tests::demo_join_forwarded_arm_round_trips_echo504-versus-200 timeout. The exact test reproduced unchanged on the base commit, so it is not attributed to this patch.