From e8833d743f9ceeb413f1e2c42c3c344dab8bf860 Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Sat, 24 Oct 2026 08:37:20 -0600 Subject: [PATCH] Add CapabilityUnboundedTuning for the Unbounded outbound's tuning option Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019DnqgLJf7p4sK87dDvktjx --- types.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/types.go b/types.go index d509e00..8eeb670 100644 --- a/types.go +++ b/types.go @@ -69,6 +69,16 @@ const ( // IPv6-capable OS on a v4-only network still cannot reach a v6-only // route. CapabilityIPv6 = "ipv6" + + // CapabilityUnboundedTuning: the client's Unbounded outbound accepts a + // "tuning" option, a map of named overrides for pion's ICE, DTLS and SCTP + // defaults, and ignores keys it doesn't recognize. + // + // The server sends tuning only to clients advertising this. sing-box + // rejects unknown outbound fields, so a client that predates the option + // would fail to load the whole outbound. Once a client has the option, new + // tuning keys need no further capability: an older client skips them. + CapabilityUnboundedTuning = "unbounded_tuning" ) type ServerLocation struct {