Repository navigation
docs: clarify Linux network modes and local service access - #260
kevin-orellana wants to merge 3 commits into
Conversation
## Problem The Linux network guide leaves local service access and process identity unclear. It also implies that direct mode sends every connection outside the gateway. ## Solution Clarify the two existing network modes, local socket visibility, operator identity, and retained proxy variables. Add short definitions for abstract and pathname Unix sockets. This changes documentation only. ## Tests The all-features workspace build passed on ARM64 Linux. With EXPERIMENTAL_LINUX_SUPPORT=TRUE, cargo test --workspace --locked --all-features -- --show-output passed. Cargo reported 4,595 passing tests and 17 ignored tests across 140 suites. The Linux output checker accepted two omissions: the credential-daemon fixture and the alias-read assertion. The first test attempt lacked the Linux opt-in and stopped at that prerequisite. The prose checker, 15 relative links and anchors, and git diff --check passed. Independent source review checked the namespace, proxy-variable, pathname-socket, and identity claims. The reviewed controls include cn_native_egress, cn_mcp_gateway_egress, and a_leaf_holds_no_operator_variable_only_its_spec_phantom_and_core_names. No Rust code changed. Rust formatting and clippy were not run.
|
Assessment: Comment I checked each Linux network claim against the source at Checks that held
The direct-mode wording is a clear improvement over the old "bypasses the gateway" statement. |
|
Assessment: Comment I re-reviewed at Checks that held at this commit
The loopback correction is clear and links to the page that owns the proxy-variable facts. |
|
Assessment: Approve I re-reviewed at Checks that held at this commit
|
Human readable section
Problem. The Linux network guide leaves local service access and process identity unclear. It also implies that direct mode always bypasses the gateway.
Solution. Explain both existing modes, including local sockets, the operator identity that services see, and retained proxy variables.
Trade-off. Direct mode retains its broader access. This clarification adds no isolation mechanism.
Description
The author approved the documentation wording. Codex prepared this change and checked its claims against current source and existing tests.
Configuration, runtime code, and defaults stay the same.
Related Issues
Related to #47. Complements #196, which updates the operator reference pages.
Type of Change
Documentation update
Testing
EXPERIMENTAL_LINUX_SUPPORT=TRUE cargo test --workspace --locked --all-features -- --show-outputpassed: 4,595 reported passes and 17 ignored tests across 140 suites.git diff --checkpassed.The first test attempt omitted the Linux opt-in setting. The corrected run above passed.
just check, orcargo test --workspace --all-features)cargo fmt --allandcargo clippy --workspace --all-targets --all-features -- -D warnings(Not applicable: no Rust changed.)Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.