Repository navigation
v1.0.0-pre.6
Pre-release
Pre-release
1.0.0-pre.6 - 2026-11-19
Highlights
-
Full-Stack TURN-over-TCP for UDP-Blocked Networks (#1286, #1287, #1289)
rings-turnTCP + UDP Dual Listener:rings-turnnow listens on TCP alongside UDP on the configured TURN bind addresses, framing RFC 5389 STUN messages and RFC 5766ChannelDataover stream connections with bounded concurrency and per-frame timeouts.- Native WebRTC TURN-over-TCP Client Bridge: Added a local UDP-to-TCP/TLS TURN relay bridge in
rings-transport(native-webrtc) supportingturn:host:port?transport=tcpandturns:host:port. In environments where OS UDP sockets are blocked,prepare_native_ice_configtransparently provisions aVNetwithRTCIceTransportPolicy::Relay. - 4-Phase Bridge Lifecycle & Outbound Drain Barrier: The bridge follows a formally verified
Active -> Quiescing -> Draining -> Cancelledlifecycle that locally rejects baregather_candidates_srflxSTUN Binding probes with400 Bad Request(preventing bogus TCP-backedsrflxcandidates and 5s gather stalls), drops inboundChannelDataduring teardown quiescence, flushes queued outboundDTLS close_notifyandTURN Refresh(0)frames before cancellation, and retires half-closed TCP sessions immediately on read EOF.
-
Browser-to-Seed Direct HTTP WebRTC Handshake & NAT Traversal (#1288, #1290)
- Deferred Responder Remote ICE Candidate Injection:
native-webrtc'swebrtc_answer_offerstrips remotea=candidate:lines beforeset_remote_description, generates and gathers the local Answer SDP first, and injects the remote candidates viaadd_ice_candidateright before returning the HTTP response—preventing responder STUN checks from hitting the browser's NAT before the browser receives the Answer SDP. - Scoped Unrouted Container-Bridge Filter for NAT 1:1 IPs: When
external_ipactivatesset_nat_1to1_ips,native-webrtcfilters out host-side unrouted container bridge interfaces (docker*,veth*,virbr*,cni*,flannel*,cali*, and 12-hex-digitbr-<id>) so 1:1 NAT host candidates are not duplicated onto dead bridge sockets, while preserving container-internaleth0, system bridges (br0,br-lan), and WireGuard (wg0).
- Deferred Responder Remote ICE Candidate Injection:
-
Universal
IceCandidateTierSemilattice Settle Law (#1288, #1289, #1290)- Browser ICE gathering (
web-sys-webrtc) is now governed by the pureIceGatherStatetransition algebra overIceCandidateTier(Host < Reflexive < Relay): the300 msquiet-window settle timer is armed iffcandidate_tier >= target_tier, ensuring non-trickle SDP never finalizes a host-only description while configured STUN (Reflexive) or TURN (Relay) candidates are still pending, and resets its epoch on every subsequent candidate arrival.
- Browser ICE gathering (
-
Formal Verification & Mutant Refutation (#1289, #1290)
- Added exhaustive
staterightmodel checkers and mutant refutation suites forIceGatherState(test_ice_gather_model),TurnBridgePhase(test_turn_tcp_model, 7 mutants refuted), and thePeerConnectionLifecycle × Handshakeproduct automaton (test_lifecycle_model, 38,416 paths verified).
- Added exhaustive
Published Crates (crates.io)
All 15 workspace crates are published at 1.0.0-pre.6:
rings-aez, rings-codec, rings-core, rings-derive, rings-dns-relay, rings-gateway, rings-measure, rings-network-policy, rings-node, rings-rpc, rings-runtime, rings-transport, rings-tui, rings-turn, rings-webview.
Full Changelog: https://github.com/RingsNetwork/rings/compare/v1.0.0-pre.5..v1.0.0-pre.6