@@ -118,10 +118,25 @@ notifications cannot race task-memory writes.
118118
119119DNS uses an exact sandbox-local resolver at ` 127.0.0.53:53 ` . The driver sets the
120120nameserver and permits an unprivileged bind to port 53. UDP and TCP DNS requests
121- are attributed to the calling binary and forwarded through the supervisor; the
122- kernel delivers replies from the configured nameserver address, including for
123- strict musl and c-ares resolvers. No proxy environment variable, nftables rule,
124- or workload network namespace setup is part of enforcement.
121+ are forwarded through the supervisor, which applies hostname-based DNS policy.
122+ DNS sender identity is explicitly unavailable: native writes can come from an
123+ inheriting process or after exec, and neither the connecting binary nor a later
124+ descriptor-owner snapshot proves who sent an already queued query. Consumers
125+ must not use this unavailable identity to grant binary-specific access. TCP
126+ connection authorization still uses decision-time binary identity.
127+
128+ The sandbox retains only bounded DNS socket-admission records, consumes TCP
129+ records on accept, and reclaims closed UDP records when capacity is reached.
130+ The kernel delivers replies from the configured nameserver address, including
131+ for strict musl and c-ares resolvers. No proxy environment variable, nftables
132+ rule, or workload network namespace setup is part of enforcement. The supervisor
133+ retries failed DNS accepts with backoff, preserving service across a channel
134+ reconnect.
135+
136+ External TCP opens wait at most 30 seconds for a supervisor decision, then fail
137+ with ` ETIMEDOUT ` and release their worker quota. An approval is tied to the
138+ original socket identity; replacing the descriptor during policy evaluation
139+ cannot transfer that approval to another socket.
125140
126141The outer fence remains mandatory. If notification handling misses a syscall,
127142loses the supervisor, exceeds a bound, or encounters an unsupported socket
0 commit comments