Skip to content

Commit 6daeacd

Browse files
authored
chore(sandbox): add iptables to base image for bypass diagnostics (#36)
The sandbox supervisor will use iptables to install LOG + REJECT rules in the network namespace, providing immediate ECONNREFUSED (instead of 30s timeout) and structured diagnostic events when processes attempt direct connections that bypass the HTTP CONNECT proxy. Ref: NVIDIA/OpenShell#268 Co-authored-by: John Myers <9696606+jomyers@users.noreply.github.com>
1 parent 878252a commit 6daeacd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sandboxes/base/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ WORKDIR /sandbox
2121

2222
# Core system dependencies
2323
# iproute2: network namespace management (ip netns, veth pairs)
24+
# iptables: bypass detection — LOG + REJECT rules for direct connection diagnostics
2425
# dnsutils: dig, nslookup
2526
# Python is managed entirely by uv (see devtools stage).
2627
RUN apt-get update && apt-get install -y --no-install-recommends \
2728
ca-certificates \
2829
curl \
2930
dnsutils \
3031
iproute2 \
32+
iptables \
3133
iputils-ping \
3234
net-tools \
3335
netcat-openbsd \

0 commit comments

Comments
 (0)