[tsvwg] Re: New Version Notification for draft-hancke-tsvwg-snap-00.txt

Philipp Hancke <philipp.hancke@googlemail.com> Tue, 11 August 2026 18:41 UTC

Return-Path: <philipp.hancke@googlemail.com>
X-Original-To: tsvwg@mail2.ietf.org
Delivered-To: tsvwg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 68C03128014CF for <tsvwg@mail2.ietf.org>; Tue, 11 Aug 2026 11:41:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786473701; bh=QDPjXDyii9+rQviEYCuvkX0qqg3rkIdicCRXXzbxiew=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=sOz/009XaGLku68DSQ8wfB26LR10RdT+llTB9V7xAu9fhSBtBX0E562I6UWG0QviY tpxOGdQw2qQU7Ui40ro49ZC11HSTIJv/Y4PiOlxZNqp8691zMSW0io8s3U3ucgiWRZ kpxqDmJZ9iRhjfm16bH5vIrTn48BY00TmsJq7u0E=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M02GAVg1O_TW for <tsvwg@mail2.ietf.org>; Tue, 11 Aug 2026 11:41:40 -0700 (PDT)
Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id A2D98128014BF for <tsvwg@ietf.org>; Tue, 11 Aug 2026 11:41:40 -0700 (PDT)
Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-92ea24a2dbfso25049485a.0 for <tsvwg@ietf.org>; Tue, 11 Aug 2026 11:41:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1786473700; cv=none; d=google.com; s=arc-20260327; b=kCAsnsmC93OjGRCpSZ1cRVrq376wGyIjjOhzKA+XVjGbUzmsEzTO9IZKHdRBA9GjbQ fLlv9hveEqSgVFeF/JmFAKUzdmdE72k6fWiUFpZhCLltbLSul5iFL0r9T3EM9JvS7znC x9lj5cBQ0ymD54QwZaqtHzgJql6Ki+2WFcDN7XYuNyFRubQY6ULzTHedj488MtOTEMHx 5M7+L9zxpZHOlm+CDJikhfn6f0LRfKxHg+gQ8XzJl1waD9oR/Nyc54R6KaeKP0QoWeGz 0DIPZEQEQe7v+XeFdsMtfLZHfQMAtUG4AjyM4qKzAK7l493xRZICqZWTY8MgP9G98/bW hdUw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=2vWrA55xf03q2bnz+H+LyJhcbGvi5HLfBRKXq8EC++Y=; fh=QTU0wrl/HFS4fpD0bmPWrZs6nabR1BhNq0r3ibOJSY0=; b=UTlSL2HO4WpI/FA69xCRtuIDRqD7KsOA75EFmZtSEV8lanRfpJ+JGYxWHIiImhxv3z 4JqIYzidj1eRWGH8f8wyABSyfcWmbdM42GVUaod+XEBY8MGxiI7d3RijshIqJqSx3QKL OHn1fYxBw0IFuOOlUVrLTC2Rl2KJ5r1G0Oy8M5K0JnDXvbxL5dsAbS3pXgvnLHH28RI9 G5XPbHExhGHlaCMKlK1fPDW26T5SY5zKDg8gdqMjnH9jMi6yTE7urWqUgdKDeGNjR6S/ Jy++ghj6K5eedytALhpV05Sm56gwUtT+M3aflyzK5DApw+rnEs6eIH+7U9FREihVDKvd Zoew==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20251104; t=1786473700; x=1787078500; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=2vWrA55xf03q2bnz+H+LyJhcbGvi5HLfBRKXq8EC++Y=; b=TSd1zSgkeKfmzojEzpPp7qR4dlKg4R4G+yErR9x47BCVQAZ1TNnpJ7UmCZ8fHPdohC bumJ8Y/GdL5MZQ3qR88Qr5bX5a2rCktw77scqRuFl8y1MjMFlvcDaql3O75FqgH17PfB 7wuWw3MEQDIjs2fOLIHWNFu7nJUm/r1h0/ZkmdgcmWE886OE9uTJG9qh5mN40r7lXPcp ER+OQj8xLa/4zPukZ68/flmXL3Xa99t32jKOJ+ncCKjBfiSOTUM1CMSZhmh6kyvOWEUY fscSN3tSEyAGrgbjfA2dTYqjCQkHreWQ5R04vMGhz20O35RjbqDNoPzhwrJK5MkQzT9R Z4HQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786473700; x=1787078500; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=2vWrA55xf03q2bnz+H+LyJhcbGvi5HLfBRKXq8EC++Y=; b=Bt3eCJBMrEZcrORX69jWq5S6Bs5sRXZOau1l1fvzQjQM9a0E3q2jPj7l/+AKvT0MoR C0d2v86M96++Cj4ZdbXWJCJyIZxskK5ciSiZbdy62aD7ZQzYpvudIspQtZKCP+ijEkum eDX2DrvinR+lj+iTmWxo5jnXsIeve3i93nTklTB+/ASHuaebFQhaIcLy23Xm+EzY+3C4 jCbXvc/Fp0ZjtryIXluHGwL5jO5NAvWFExfnfuUFtEKKdtv9Af4FGgnrqMU1j3pa+Znq C1WTbK+9H/zXEw6X8n5uTgs25rG2weWTwcZBmtkkxKYQ8vxrE4/uGEQC2Cq+9CZ2RJyF KVrA==
X-Gm-Message-State: AOJu0YwzZe3DtALttcNFRDMbw15hK2KPTUbd6E9K5RXyIJSJ6q2PuI86 5DCoMaZTlXuRlMSG0K4wqjbBWKowGdU5mQVr5izxAY4hbF5rdczLjbTVzwPQgNYy/C+YlwCDhn1 Hq1Hpu0QTkTWLDoSoMHihlhK4TmVHKy0=
X-Gm-Gg: AR+sD13wspih0lyhyK3tWTDMwHJSMjDJAlj4sBCzaYhnz33ZsvJohpv2swHKtobizfz e0uXRIrgcnQ7UPHnKXyIRud/1zYdqXAVRo3lRu+DNKN6snIGFYcxnssc8zgzFL6OgpoVjnktCaD zbFCNF5Qrhi6OEdrpoqoGrRNzm75CSSNEENAd8coZ8i9hIbV0MljJfYz/2Q5K+1mvSMgZ2f1vdi ay/JNf6vlMqm5MTlKV8EOvx5jzkycYSd63WrG1WNdFKOeCAfzYGBUQ//eDkHfKRpTimaTX+uvVh 1Ne3mDM/9Kdcts0fnWawp+Y70QmjM1CHnyAKNKUSVsG69nilTG8vBcsKfcSTZMpw4wtkDd0gAxN BYpMQX+NVpyfdKlTh3/JzHWxYKS0qB29ZVEPi7m9b1Ww6byBfQJNX4cTQwPW4HVF8fTaWiQI3u8 8SDn1FxVCnJT3kqX6Y1ZgzQ3miNf8YvFFLSSk/WfF9iiNbZ60EQ9qMDkC5SGwvmQ03E9IRABBG
X-Received: by 2002:a05:620a:2311:20b0:92e:4470:f6a7 with SMTP id af79cd13be357-936a8e87948mr402086285a.10.1786473699954; Tue, 11 Aug 2026 11:41:39 -0700 (PDT)
MIME-Version: 1.0
References: <176708379580.2036965.2880317109826025513@dt-datatracker-5656579b89-p6k4r> <CADxkKi+T45s9q5j1bXbB6EGn9=hzFdTUkeBp8FbGBU2Q1NzLTw@mail.gmail.com> <8B6C6F50-0F51-4266-9179-BC1394450FDD@lurchi.franken.de> <CADxkKiJiRt+7xC02qAPtkgkZnK328PtJer_xw4QkULyCbjo3sQ@mail.gmail.com> <E4121C35-40CA-45C0-9263-CB3CC3B5F25E@lurchi.franken.de> <CADxkKiLLVRQ-rQkrj_XjkVAA6XHavEBE0-mP3feC=X9bFZNbKA@mail.gmail.com> <C0D83894-F2DC-4586-B709-BD36E4F0AB6D@lurchi.franken.de>
In-Reply-To: <C0D83894-F2DC-4586-B709-BD36E4F0AB6D@lurchi.franken.de>
From: Philipp Hancke <philipp.hancke@googlemail.com>
Date: Tue, 11 Aug 2026 20:41:28 +0200
X-Gm-Features: AUfX_mxPR6T1hieaPy03NrcWDiJHJCJEyxQIFdnmuL6Jb95ogDgcAbaylU5hF0w
Message-ID: <CADxkKi++VFWC-6PUzOBLb5z6tgg-DyDFe68-7FQfDwnvHPhonQ@mail.gmail.com>
To: Michael Tuexen <michael.tuexen@lurchi.franken.de>
Content-Type: multipart/alternative; boundary="0000000000004956510658c9d205"
Message-ID-Hash: MMJK67GS5FCQA2CSGVP6CNYK2NXOGH6A
X-Message-ID-Hash: MMJK67GS5FCQA2CSGVP6CNYK2NXOGH6A
X-MailFrom: philipp.hancke@googlemail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tsvwg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: tsvwg@ietf.org, Victor Boivie <boivie@google.com>, Justin Uberti <juberti@gmail.com>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [tsvwg] Re: New Version Notification for draft-hancke-tsvwg-snap-00.txt
List-Id: Transport Area Working Group <tsvwg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/iiEcIy6h87Bc08EtCq-KosX8pMM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Owner: <mailto:tsvwg-owner@ietf.org>
List-Post: <mailto:tsvwg@ietf.org>
List-Subscribe: <mailto:tsvwg-join@ietf.org>
List-Unsubscribe: <mailto:tsvwg-leave@ietf.org>

Hi Michael,

sorry, this got stuck in draft for a while...

> So instead of
> >   a=sctp-init:AQAAHols3R0AUAAA/////+B5ZR3AAAAEgAgABoLA
> > this would result in something like (using a syntax similar to
> https://www.rfc-editor.org/info/rfc5245/#section-15.1)
> >   a=sctp-init:2305613085 5242880 65535 65535 3766052125 params
> c0000004,8008000682c0
> > with an ABNF along the lines of
> >   sctp-init-attribute = "sctp-init" ":" init-tag SP a-rwnd SP
> num-outbound SP num-inbound SP initial-tsn [SP "params" SP param-list]
> >
> > The variable length params end up either as a opaque hex-encoded byte
> string or a comma-separated list of those.
> > More verbose (but one line in the hundreds of SDP lines WebRTC uses) but
> also more readable.
> > The forbidden initiate tag of 0 could be used as signal to skip the 12
> byte header.
> I don't think we need to have the full flexibility of the handshake here.
>

Yeah. Type and chunk flags are fixed, chunk length is redundant because the
boundary is clear.
a_rwnd and outbound/inbound streams could go in the SDP using positional
syntax. And...

So for the parameters, I think we only need to announce which extensions we
> support.
> This can be the list of chunk types. I don't think we need more in the
> WebRTC context.
> We could also easily nail down the initial TSN...
>

one could derive the initiate tag and initial TSN from the DTLS handshake
similar to how DTLS-SRTP derives
encryption keys which is based on RFC 5705 (it is not keying material and
does not need to be cryptographic random but ...).
But in addition to requiring crypto folks guidance (can you derive two
things with different exporter strings? I hope so but...)
that also creates a channel binding between TSNs and the DTLS handshake
which I don't think is desirable.

Putting the base64(init-as-on-network) into the SDP and treating it as an
opaque blob is similar to WebRTC
treating  the SDP itself as an opaque blob.
Not doing that means asking to what extent the SDP parser needs to validate
the fields which basically
duplicates the work a SCTP implementation does.

So I'd prefer to go back to the base64 of the INIT chunk. Byte order is
implicit but should be mentioned.

Do you want the omission of the SCTP common header to be optional or
> mandatory?
>

Optional. SNAP is about call setup time and not overhead. I heard some
complaints about the datachannel overhead from
game developers (position updates basically) but it is not a strong pain
point.
(MTU issues like
https://p2claw.com/blog/2026-06-09-the-ipad-was-on-tailscale/ got more
attention recently ;-)
I tinkered with omission in SDP and as a SCTP option and was happier with
the SCTP option variant.

Sounds like a second draft?

cheers

Philipp

Best regards
> Michael
>
> >
> > Compared to the opaque blob the SDP parser can do more validation of the
> the fields
> > but the SCTP library does have to validate the parameters too which with
> the base64
> > blob achieves by reusing the network parser.
> >
> > Code changes look reasonable so I'm game for doing that change!
> >
> > cheeres
> >
> > Philipp
> >
> > What do you think? Happy to help...
> >
> > Best regards
> > Michael
> > >
> > > cheers
> > >
> > > Philipp
> > >
> > > Best regards
> > > Michael
> > > >
> > > > cheers
> > > >
> > > > Philipp
> > > > ---------- Forwarded message ---------
> > > > Von: <internet-drafts@ietf.org>
> > > > Date: Di., 30. Dez. 2025 um 09:36 Uhr
> > > > Subject: New Version Notification for draft-hancke-tsvwg-snap-00.txt
> > > > To: Justin Uberti, Philipp Hancke, Victor Boivie
> > > >
> > > >
> > > > A new version of Internet-Draft draft-hancke-tsvwg-snap-00.txt has
> been
> > > > successfully submitted by Philipp Hancke and posted to the
> > > > IETF repository.
> > > >
> > > > Name:     draft-hancke-tsvwg-snap
> > > > Revision: 00
> > > > Title:    SCTP Negotiation Acceleration Protocol
> > > > Date:     2025-12-29
> > > > Group:    Individual Submission
> > > > Pages:    11
> > > > URL:
> https://www.ietf.org/archive/id/draft-hancke-tsvwg-snap-00.txt
> > > > Status:   https://datatracker.ietf.org/doc/draft-hancke-tsvwg-snap/
> > > > HTML:
> https://www.ietf.org/archive/id/draft-hancke-tsvwg-snap-00.html
> > > > HTMLized:
> https://datatracker.ietf.org/doc/html/draft-hancke-tsvwg-snap
> > > >
> > > >
> > > > Abstract:
> > > >
> > > >    WebRTC Data Channels use the Stream Control Transmission Protocol
> > > >    (SCTP) over a Datagram Transport Layer Security (DTLS)
> association.
> > > >    The standard SCTP connection establishment requires a handshake
> that
> > > >    introduces latency.  This document specifies a method to
> accelerate
> > > >    the datachannel establishment by embedding the SCTP initialization
> > > >    parameters within the Session Description Protocol (SDP)
> offer/answer
> > > >    exchange.  This reduces the time required to open a data channel
> by
> > > >    up to two network round-trip times.
> > > >
> > > >
> > > >
> > > > The IETF Secretariat
> > > >
> > > >
> > >
> >
>
>