Skip to content

v2.0.0: Network allow/deny CIDRs + source-port allowlist - #14

Merged
cursor[bot] merged 5 commits into
mainfrom
cursor/network-access-allowlist-20c4
Aug 21, 2026
Merged

v2.0.0: Network allow/deny CIDRs + source-port allowlist#14
cursor[bot] merged 5 commits into
mainfrom
cursor/network-access-allowlist-20c4

Conversation

@sroomberg

@sroomberg sroomberg commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

Major release prep for enterprise network lockdown: keep chorus-relay off the open internet with CIDR allow/deny, source-port allowlisting (single-machine e2e), private bind, and VPN/VPC docs.

Relay network policy

  • Allow CIDRs (--allow-cidr / relay.allowedCidrs)
  • Deny CIDRs (--deny-cidr / relay.deniedCidrs) — deny wins
  • Source-port allowlist (--allow-port / relay.allowedPorts) — peers A/B allowed, C denied on one machine
  • Bind policyrelay.bind; allowOpenBind: false refuses 0.0.0.0 / ::
  • Evaluation: deny CIDR → allow CIDR → allowed source ports
  • /status reports { allowlist, denylist, allowedPorts, restricted }

Config (chorus.json)

{
  "relay": {
    "bind": "10.0.12.4",
    "allowOpenBind": false,
    "allowedCidrs": ["10.0.0.0/8"],
    "deniedCidrs": ["203.0.113.0/24"],
    "allowedPorts": [18201, 18202],
    "allowLoopback": true
  }
}

v2.0.0

  • @chorus/plugin2.0.0, chorus-relay2.0.0
  • CHANGELOG ## v2.0.0 ready for tag-triggered release

Tests

  • cargo test -p chorus-relay (incl. port A/B allow, C deny + deny-loopback)
  • bun run test:network-e2e (single-machine constrained e2e) — passed locally and on two independent cloud agents
  • bun run test:ts + typecheck

After merge

git tag v2.0.0 && git push origin v2.0.0

Test plan

  • Unit + WS integration for allow/deny/ports
  • bun run test:network-e2e locally
  • Cloud agent e2e A + B (alternate ports) both PASS
  • After merge, push tag v2.0.0 and verify GitHub release body
Open in Web Open in Cursor 

cursoragent and others added 3 commits August 21, 2026 16:12
Enterprises can keep chorus-relay off the open internet with CIDR/IP
allowlists, private bind addresses, and refuse-open-bind. Docs cover
corporate VPN, Tailscale, AWS VPC, Azure VNet, and GCP VPC patterns.

Co-authored-by: Steven Roomberg <sroomberg@users.noreply.github.com>
Promote the network allowlist work to a major release: plugin and
chorus-relay 2.0.0, CHANGELOG section ready for the tag-triggered
GitHub release workflow.

Co-authored-by: Steven Roomberg <sroomberg@users.noreply.github.com>
@cursor cursor Bot changed the title Network allowlist and bind policy for VPN/VPC lockdown v2.0.0: Network allowlist and bind policy for VPN/VPC lockdown Aug 21, 2026
cursoragent and others added 2 commits August 21, 2026 16:23
Support explicit deny CIDRs (deny wins) and peer source-port
allowlisting for single-machine constrained testing. Add
scripts/network-e2e.ts covering ports A/B allow and C deny plus
deny-loopback, and document chorus.json fields.

Co-authored-by: Steven Roomberg <sroomberg@users.noreply.github.com>
@cursor cursor Bot changed the title v2.0.0: Network allowlist and bind policy for VPN/VPC lockdown v2.0.0: Network allow/deny CIDRs + source-port allowlist Aug 21, 2026
@sroomberg
sroomberg marked this pull request as ready for review August 21, 2026 19:31
@cursor
cursor Bot merged commit 2fada39 into main Aug 21, 2026
@cursor
cursor Bot deleted the cursor/network-access-allowlist-20c4 branch August 21, 2026 19:31
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.

2 participants