Files
alzeo/.github
Hasan BasbunarandClaude Opus 5 5d6738fd59 install: the engine and the proxy can answer on localhost only (v1.16.0)
Both listened on every interface, and this box shows what that was worth.
Seven days of journal: 581,479 requests to the engine and 8,288 to the proxy,
every single one from 127.0.0.1, while the machine was reached from a laptop
and a phone on the cockpit port alone. Two ports open to a LAN and a tailnet,
used by nobody but the box itself, and they are the two SGLang dies on rather
than refuses (sglang#40076, sglang#31597, refused at the proxy since v1.15.0).
The proxy's guards protect what goes through the proxy; a port that bypasses
it is a door beside the one with the lock.

ENGINE_BIND and PROXY_BIND close them. The defaults do not move: somebody
else's laptop may legitimately point at either port, and a default must never
take away something the operator did not ask to lose. An installed choice wins
over the default in both directions, which is the part that matters, because a
box hardened to localhost that a plain ./install.sh reopened would be the worst
of the three outcomes: nobody would have a reason to look. A bad value is
refused by name before a unit is written, not by a unit that fails to start
minutes later on a box whose engine has just been stopped.

The proxy is v6.21 for it. The version gate added in v1.15.2 earned its place
on the first try: the bind changed the shape of the startup line, the banner
stopped matching the history block, and the test failed before this could ship.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 12:56:29 +02:00
..