Skip to content

Block non-loopback inbound traffic for the Windows offline sandbox - #44639

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cbc1ca0d8d08a31fc53da5ad5be6ee5d51afa63d
Sep 10, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cbc1ca0d8d08a31fc53da5ad5be6ee5d51afa63d

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Block non-loopback inbound traffic for the Windows offline sandbox

Why

The offline sandbox's non-loopback firewall block covered only outbound traffic. Add a matching inbound block for the offline sandbox user.

What changed

  • Configure an inbound firewall rule scoped to the offline user's SID, blocking all protocols and ports for non-loopback remote addresses.
  • Make firewall rule direction explicit while preserving the existing outbound rules.
  • Remove the new inbound rule during uninstall.

Testing

Extend the elevated Windows sandbox integration test to inspect effective inbound and outbound rules, asserting their uniqueness, direction, block action, enabled state, profiles, address and port filters, protocol, and user scope.

…44639)

## Why

The offline sandbox's non-loopback firewall block covered only outbound traffic. Add a matching inbound block for the offline sandbox user.

## What changed

- Configure an inbound firewall rule scoped to the offline user's SID, blocking all protocols and ports for non-loopback remote addresses.
- Make firewall rule direction explicit while preserving the existing outbound rules.
- Remove the new inbound rule during uninstall.

## Testing

Extend the elevated Windows sandbox integration test to inspect effective inbound and outbound rules, asserting their uniqueness, direction, block action, enabled state, profiles, address and port filters, protocol, and user scope.

GitOrigin-RevId: cbc1ca0d8d08a31fc53da5ad5be6ee5d51afa63d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/cbc1ca0d8d08a31fc53da5ad5be6ee5d51afa63d branch from 0d0c399 to e25bedc Compare September 10, 2026 21:02
@copyberry
copyberry Bot merged commit e25bedc into main Sep 10, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/cbc1ca0d8d08a31fc53da5ad5be6ee5d51afa63d branch September 10, 2026 21:02
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 10, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — e25bedc1 Deployed Sep 10, 2026 by ffgowfan-svg via Identify potential duplicates (all issues) #44487
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants