[tsvwg] Re: New Version Notification for draft-hancke-tsvwg-snap-00.txt
Michael Tuexen <michael.tuexen@lurchi.franken.de> Tue, 21 July 2026 08:15 UTC
Return-Path: <michael.tuexen@lurchi.franken.de>
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 A2D6F11B219B2 for <tsvwg@mail2.ietf.org>; Tue, 21 Jul 2026 01:15:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784621740; bh=t/EIR0azoWNndEUc0G4Z3QfQ2Jfamaj9JrjtZ5Jk7RQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=YifvmOPJuWOHFeAYsPu4/O7vVaoFEukFh+Qjk6qjq3y4g/nATD9Ol92om/C5veQKN 11mN21WiLu3K2vYUT7bvecnj8TtIUXewXxAbnjwcetrfhiZRJGLrTLmzknOzjupRG7 7gY/NwdD7JXjxaAgTn/fke74jyXjoxXQ6lSBK/WY=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.097
X-Spam-Level:
X-Spam-Status: No, score=-1.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, T_SPF_PERMERROR=0.01] autolearn=no autolearn_force=no
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 EIwWusBitOOQ for <tsvwg@mail2.ietf.org>; Tue, 21 Jul 2026 01:15:39 -0700 (PDT)
Received: from drew.franken.de (unknown [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id F2CF711B2190F for <tsvwg@ietf.org>; Tue, 21 Jul 2026 01:15:12 -0700 (PDT)
Received: from smtpclient.apple (unknown [IPv6:2001:67c:1232:144:9cbd:e13c:a5ec:84f7]) (Authenticated sender: lurchi) by drew.franken.de (Postfix) with ESMTPSA id 24071721E2829; Tue, 21 Jul 2026 10:14:54 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
From: Michael Tuexen <michael.tuexen@lurchi.franken.de>
In-Reply-To: <CADxkKiJiRt+7xC02qAPtkgkZnK328PtJer_xw4QkULyCbjo3sQ@mail.gmail.com>
Date: Tue, 21 Jul 2026 10:14:53 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <E4121C35-40CA-45C0-9263-CB3CC3B5F25E@lurchi.franken.de>
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>
To: Philipp Hancke <philipp.hancke@googlemail.com>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: IQMHBXR2LPN5KI3CTZK3NU5YO4J5LNKE
X-Message-ID-Hash: IQMHBXR2LPN5KI3CTZK3NU5YO4J5LNKE
X-MailFrom: michael.tuexen@lurchi.franken.de
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/mIQ10gwEie3Z47LyTdQhYzSIy3g>
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>
> On 14. Jul 2026, at 17:37, Philipp Hancke <philipp.hancke@googlemail.com> wrote: > > Hi Michael, > > Am Mo., 29. Juni 2026 um 17:23 Uhr schrieb Michael Tuexen <michael.tuexen@lurchi.franken.de>: > > On 9. Jan 2026, at 19:23, Philipp Hancke <philipp.hancke=40googlemail.com@dmarc.ietf.org> wrote: > > > > Hello TSVWG > > > > we just submitted a new draft relevant for this WG: > > https://datatracker.ietf.org/doc/draft-hancke-tsvwg-snap/ > > > > This started with the question "do we need the SCTP handshake in the context of WebRTC/datachannels" > > and the answer was "not if we put the SCTP INIT into the SDP exchange". > > > > This comes with an implementation in Chromium (144) which is gated behind a feature flag so if you want > > to give it a try: > > - start Chrome with --force-fieldtrials=WebRTC-Sctp-Snap/Enabled/ --enable-logging --v=1 > > - go to https://webrtc.github.io/samples/src/content/datachannel/basic/ and do some chatting > > - locate your chrome_debug.log and do a grep SCTP_PACKET chrome_debug.log | text2pcap -D -u 1001,2001 -t "%%H:%%M:%%S.%%f" - out.pcap > > to get a PCAP with the unencrypted SCTP packets which can be viewed in Wireshark > > > > Saves a network roundtrip or two. Let us know what you think! > Hi Philipp, Victor, Justin, > > sorry for the late reply. > > If you don't need to protection provided by the cookie mechanism, you can > establish the association faster. This was called "Cookieless Handshake" in > the paper "Alternative Handshake Mechanism for the Stream Control Transmission Protocol". > > This does not only apply to SDP but also to running SCTP over DTLS in general. > > Nice! > Comments related to the ID: > > 1. Why is the INIT chunk missing the padding at the end? > > That is what the implementation generated. I think it makes sense to require parsing with and without padding, will add that to the draft (the implementation takes both thankfully). Thank you! > 2. How does the number of streams negotiation work? > > Channelling Victor: the number of incoming/outgoing streams are calculated as the MIN of the peer's INIT chunks's > outgoing/incoming streams and the own side's INIT chunk. This will arrive at the same number for either side. > > 3. Why are you only exchanging INIT chunks? > > Exchanging an INIT chunk is sufficient to exchange enough information to negotiate capabilities and setup a pre-configured SCTP connection. > While e.g. parameter validation cannot be performed canonically (that would've been included as an UnrecognizedParameter inside the INIT ACK), > this would be discovered by inspecting what the peer is reporting instead. In WebRTC, a parameter cannot be made mandatory in a way that would > fail the connection (e.g. replying ABORT to INIT), meaning that all failures will have to be handled gracefully. I've added instructions for getting a pcap with the unencrypted SCTP packets out of Chrome to > https://webrtc.github.io/samples/src/content/datachannel/basic/ > which makes it possible to see what goes on the wire without encryption. > > I am wondering wether it makes sense to specify a cookie less handshake in > general and then provide the SDP encapsulation of such a handshake. > Willing to contribute... > > Might be more interesting to eliminate the 12 byte header on every packet instead - which takes it a bit further than RFC 9653 ;-) > DTLS 1.3 already reduces the overhead considerably and (if I count correctly) we could end up at 35 bytes overhead compared to QUICs 31. Hi Philipp, some observations: 1. I find it strange to exchange INIT chunks over SDP. 2. I do understand that you want to speed-up the association setup in the case of WebRTC. 3. I do understand that want to reduce overhead that is really not needed. So let us assume that you only want one SCTP association on a WebRTC connection / DTLS connection. Then you don't need the SCTP port numbers. The vtag is not needed since DTLS provides protection against blind attackers and the also don't need the checksum. So there is no problem in getting rid of the SCTP common header. So why not have some way to negotiate SCTP relevant parameters via SDP and allow to create SCTP endpoints in ESTABLISHED state via an API. Then the questions is, what are relevant SCTP parameters: 1. The initiate tag is not needed, since you don't use the SCTP common header. 2. the a_rwnd is needed. 3. The number of streams might be needed, but WebRTC uses 65535 per default. 4. The initial TSN is not needed, since one could use a predefined one (like 1) in this case. 5. The supported extensions are mostly clear: PR-SCTP, Stream Reset, possibly I-DATA. So maybe a list of extensions is needed. For me this comes down to exchanging a couple of numbers, some of them being optional. That should be easy to do in SDP. 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 > > > > >
- [tsvwg] Fwd: New Version Notification for draft-h… Philipp Hancke
- [tsvwg] Re: New Version Notification for draft-ha… Michael Tuexen
- [tsvwg] Re: New Version Notification for draft-ha… Philipp Hancke
- [tsvwg] Re: New Version Notification for draft-ha… Michael Tuexen
- [tsvwg] Re: New Version Notification for draft-ha… Philipp Hancke
- [tsvwg] Re: New Version Notification for draft-ha… Michael Tuexen
- [tsvwg] Re: New Version Notification for draft-ha… Philipp Hancke