Files
alzeo/image-sglang
Hasan BasbunarandClaude Opus 5.5 5f51fad3c8 image and video lanes: the scheduler's channel stays on 127.0.0.1 whatever --host
The diffusion runtime's scheduler takes its requests on a ZMQ ROUTER that unpickles what
it is sent, and upstream derives that socket's address from the HTTP --host: a lane bound
to an address other machines reach took requests on that channel from them too, with no
key (D01 of the 2026-10-24 security review). image-sglang/scheduler-loopback.patch keeps it
on 127.0.0.1 for both lanes; here the HTTP server and the scheduler run on one machine.
Upstream's main pins only 0.0.0.0 and IPv6 to loopback.

0.0.0.0 stays possible for the image lane (Hasan, 2026-10-24): the proxy relays no image
route, so a client elsewhere reaches the lane by its bind; the warning now says what
0.0.0.0 costs and that the channel stays on loopback. Proved on the pinned file of the
box (e00930c5): before the patch the endpoint followed --host (0.0.0.0, a LAN and a tailnet
address, ::, a hostname), after it is tcp://127.0.0.1 for each, replicas included. The new
tests fail on the old tree (7 in test_image_lane.py, 4 in test_video_lane.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:42:29 +02:00
..