Skip to content

docs(enhancements): propose SRv6 ingress source filtering - #595

Open
scotwells wants to merge 4 commits into
mainfrom
docs/srv6-ingress-source-filtering
Open

scotwells wants to merge 4 commits into
mainfrom
docs/srv6-ingress-source-filtering

Conversation

@scotwells

@scotwells scotwells commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A tenant network should only receive traffic from its own instances and the platform services in front of it, but today a Galactic node trusts any SRv6 packet addressed to it, so that isolation depends entirely on the fabric's address space never being reachable from outside.

This proposes a second, independent check in the datapath: a node accepts SRv6 traffic for a tenant network, or through a NAT gateway, only when it comes from a known fabric peer on a link that peer is reachable through.

The allow-list is built from the SRv6 routes a node learns from its configured fabric BGP peers, and rollout goes through an audit mode that counts would-be drops before anything is dropped.

Cross-site authentication and per-tenant source binding are left as follow-ups.

Test plan

  • The design covers every legitimate SRv6 sender: compute nodes, edge gateways and NAT gateways
  • Off by default and audit mode are enough to roll out without disrupting tenant traffic
  • Reviewers agree on the modes, configuration surface and metrics
  • Follow-ups are captured as separate work

Nodes decide what to do with an SRv6 packet from its destination alone. Propose a source check against known fabric peers in the uSID ingress and NAT gateway datapaths, with off/audit/enforce modes, fed by a reconciler over the fabric routes each node already learns.
Accept only routes installed by the fabric's own routing whose next hop is a configured fabric BGP peer, and explain why the allow-list comes from routes rather than the peer list.
privateip
privateip previously approved these changes Dec 2, 2026
@privateip
privateip marked this pull request as ready for review December 2, 2026 02:56
@privateip
privateip requested a review from a team as a code owner December 2, 2026 02:56
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