Skip to content

test(browser): fix live egress tests on macOS - #21

Merged
senamakel merged 2 commits into
epic/7328-security-busfrom
tinycomputer-7328-public-control
Oct 23, 2026
Merged

senamakel merged 2 commits into
epic/7328-security-busfrom
tinycomputer-7328-public-control

Conversation

@senamakel

Copy link
Copy Markdown
Owner

The macOS feature-test run exposed two fixture assumptions in the live Chromium egress tests: binding an IPv4 loopback alias that macOS does not configure, and counting unrelated Chromium requests against the rebinding fixture authorization. Use an IPv6 loopback listener for the fixture mapping and scope the rebinding attempt counter to the controlled fixture host. The tests still verify the approved public address and denial of the rebound private destination.\n\nThis is a portability follow-up to #20 and does not close tinyhumansai#111; the real TinySecurity composition test remains in the OpenHuman follow-up.\n\nPart of tinyhumansai/openhuman#7328

senamakel and others added 2 commits October 23, 2026 08:59
The live rebinding test now binds its allowed listener on the IPv6 loopback
address and only counts authorizations for the fixture host and port, so
unrelated dials no longer consume the first-attempt slot or pollute the
observed address list.

Auto-committed-on: cuttlefish
Co-authored-by: Medulla <medulla@tinyhumans.ai>
The live egress tests relied on 127.0.0.2, which is not configured as a loopback alias on every platform, so the denied listener could fail to bind. The denied sockets now use 127.0.0.1 and ::1 on distinct ports, keeping the allowed and denied endpoints separate while remaining portable.

Auto-committed-on: cuttlefish
Co-authored-by: Medulla <medulla@tinyhumans.ai>
@senamakel
senamakel merged commit 4108281 into epic/7328-security-bus Oct 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant