A connector that declares no egress is put in a network namespace holding only
loopback and given HTTP_PROXY/HTTPS_PROXY/ALL_PROXY pointing at 127.0.0.1:3128, where nothing listens, because the relay is only started when
egress is non-empty. Such a connector reaches nothing at all, and any client
that honours the proxy variables reports a refused dial to the relay instead of
the real problem. Observed with the host connector: its filesystem lookup
failed with reach <host>: dial tcp 127.0.0.1:3128: connect: connection refused
and no SSH connection was ever attempted.
Why: modules/connectors/internal/host/host.go confines every extension and
only makes the relay conditional. The near-duplicate at internal/infrastructure/extension branches to openCommand for this case, so
the two copies disagree about what a package with no egress is.
Complete when: a package that declares no egress runs on the host's network with
no proxy environment, a package that declares egress is still confined behind
its relay, a test proves both, and a connector that reaches an
operator-configured host does so on a deployment.
A connector that declares no egress is put in a network namespace holding only
loopback and given `HTTP_PROXY`/`HTTPS_PROXY`/`ALL_PROXY` pointing at
`127.0.0.1:3128`, where nothing listens, because the relay is only started when
egress is non-empty. Such a connector reaches nothing at all, and any client
that honours the proxy variables reports a refused dial to the relay instead of
the real problem. Observed with the host connector: its filesystem lookup
failed with `reach <host>: dial tcp 127.0.0.1:3128: connect: connection refused`
and no SSH connection was ever attempted.
Why: `modules/connectors/internal/host/host.go` confines every extension and
only makes the relay conditional. The near-duplicate at
`internal/infrastructure/extension` branches to `openCommand` for this case, so
the two copies disagree about what a package with no egress is.
Complete when: a package that declares no egress runs on the host's network with
no proxy environment, a package that declares egress is still confined behind
its relay, a test proves both, and a connector that reaches an
operator-configured host does so on a deployment.
sam
added the highbug labels 2026-11-27 09:06:42 +00:00
Fixed in 95ce309b3: a package that declares no egress now runs on the host's network with no proxy environment, and a test proves both halves (it fails on the old branch). Verified on the staging deploy at v1.63.0-222-g95ce309b3: the host connector's filesystem_usage lookup returned real numbers over SSH, and its delete_files action was judged and held for approval.
Fixed in 95ce309b3: a package that declares no egress now runs on the host's network with no proxy environment, and a test proves both halves (it fails on the old branch). Verified on the staging deploy at v1.63.0-222-g95ce309b3: the host connector's filesystem_usage lookup returned real numbers over SSH, and its delete_files action was judged and held for approval.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A connector that declares no egress is put in a network namespace holding only
loopback and given
HTTP_PROXY/HTTPS_PROXY/ALL_PROXYpointing at127.0.0.1:3128, where nothing listens, because the relay is only started whenegress is non-empty. Such a connector reaches nothing at all, and any client
that honours the proxy variables reports a refused dial to the relay instead of
the real problem. Observed with the host connector: its filesystem lookup
failed with
reach <host>: dial tcp 127.0.0.1:3128: connect: connection refusedand no SSH connection was ever attempted.
Why:
modules/connectors/internal/host/host.goconfines every extension andonly makes the relay conditional. The near-duplicate at
internal/infrastructure/extensionbranches toopenCommandfor this case, sothe two copies disagree about what a package with no egress is.
Complete when: a package that declares no egress runs on the host's network with
no proxy environment, a package that declares egress is still confined behind
its relay, a test proves both, and a connector that reaches an
operator-configured host does so on a deployment.
Fixed in
95ce309b3: a package that declares no egress now runs on the host's network with no proxy environment, and a test proves both halves (it fails on the old branch). Verified on the staging deploy at v1.63.0-222-g95ce309b3: the host connector's filesystem_usage lookup returned real numbers over SSH, and its delete_files action was judged and held for approval.