Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions crates/openshell-supervisor-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ Without a Workload API socket, token grants fail closed. A process hosting
several instances serves `/v1/denials` from a per-instance
`SandboxInstanceDenialLog` instead of the shared shorthand log files.

## Policy DNS expiry

Synthetic identities remain allocated after their DNS mappings expire. New
transparent connections lazily refresh expired, policy-backed mappings through
the same trusted resolver and destination-validation path as sandbox DNS
queries. Refreshes for one address share a lock; failed refreshes back off for
one second and never authorize expired upstream addresses.
`PolicyDnsService::lookup_for_connect` owns refresh coordination and returns
the resulting mapping; the underlying store stays synchronous. Observation-only
mappings, wrong ports, and mappings from a previous policy generation cannot refresh.
Refresh eligibility uses the authored ports, independently of which ports the
latest DNS addresses satisfied. Dispatch reauthorizes mapped connections and
rebuilds their connectors from current pins instead of retaining staged pins
across a refresh.

## Reserved destinations

`preauthorize_transparent_open` matches a staged TCP open against the reserved
Expand Down
Loading
Loading