Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum-02 adoption
tuexen@fh-muenster.de Wed, 10 May 2023 20:54 UTC
Return-Path: <tuexen@fh-muenster.de>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D37F4C1CCCAC for <tsvwg@ietfa.amsl.com>; Wed, 10 May 2023 13:54:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qWrUyRuc3tFx for <tsvwg@ietfa.amsl.com>; Wed, 10 May 2023 13:54:24 -0700 (PDT)
Received: from mx-out-01.fh-muenster.de (mx-out-01.fh-muenster.de [185.149.214.63]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 62FCAC1522C2 for <tsvwg@ietf.org>; Wed, 10 May 2023 13:54:24 -0700 (PDT)
Received: from mail-director-01.fh-muenster.de (mail-director-01.fh-muenster.de [185.149.215.227]) by mx-out-01.fh-muenster.de (Postfix) with ESMTPS id 65B1A2013A; Wed, 10 May 2023 22:53:52 +0200 (CEST)
Received: from smtpclient.apple (ip4d15f76b.dynamic.kabel-deutschland.de [77.21.247.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tuexen) by mail-director-01.fh-muenster.de (Postfix) with ESMTPSA id 171691A004D; Wed, 10 May 2023 22:53:51 +0200 (CEST)
Content-Type: multipart/signed; boundary="Apple-Mail=_C750FC07-589B-4AA5-9441-142ECA3ACE50"; protocol="application/pkcs7-signature"; micalg="sha-256"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\))
From: tuexen@fh-muenster.de
In-Reply-To: <DU0PR07MB89706AA16E41E379E9B0235E956A9@DU0PR07MB8970.eurprd07.prod.outlook.com>
Date: Wed, 10 May 2023 22:53:51 +0200
Cc: Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4BB60EB7-4657-4AB6-8248-184D805D8C1F@fh-muenster.de>
References: <9F7A670A-EA7E-4194-8125-B1DB7030802B@8x8.com> <CFBF062F-91DA-4B54-ACA9-36933EF08788@fh-muenster.de> <DU0PR07MB89700E9D84EBBEF2F8835C99959D9@DU0PR07MB8970.eurprd07.prod.outlook.com> <E9714E49-A217-4F58-A268-737CE5E0B414@fh-muenster.de> <DU0PR07MB89706AA16E41E379E9B0235E956A9@DU0PR07MB8970.eurprd07.prod.outlook.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
X-Mailer: Apple Mail (2.3731.500.231)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/mgI5ZJ3Q6aoTEiEm2ONebBisv90>
Subject: Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum-02 adoption
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 May 2023 20:54:28 -0000
> On 27. Apr 2023, at 09:31, Magnus Westerlund <magnus.westerlund@ericsson.com> wrote: > > Hi, > Yes proposed change would address my issue. Thanks Hi Magnus, I wanted to address this issue before submitting version -03 of the individual draft, followed up by the -00 version of the WG document. However, when drafting the text, I realized that this is more complex than I initially thought. Your suggestion is to allow zero checksum when using SCTP AUTH or CRYPTO. One issue the related to the middleboxes and one could argue that when using SCTP over UDP, middleboxes might not interfere with zero checksum. OK, we can write that without make things more complex. When using DTLS, all packets are protected. Requiring that packets containing an INIT chunk is for backwards compatibility and is not specific to SCTP/DTLS and would require to all other cases. The same applies to packets containing an COOKIE ECHO or ASCONF chunk. This is for keeping implementations simple. But there is a difference between SCTP/DTLS and AUTH or CRYPTO: * For CRYPTO (as I understand it right now) does not protect packets handled in the front states. * For AUTH, it protects only packets for which the AUTH chunk is the first one. This means that the packets having an alternative protection depends on the alternative method. How does the receiver know? How to specify it in a generic way that it includes CRYPTO, for example, without referring to it? One possibility would be to extend the Zero Checksum Parameter to contain an uint32_t, which is an IANA registered value indicating the alternative method. The document could define one for SCTP over DTLS, and one for using AUTH. Then the CRYTO document could register another one for CRYPTO and provide the rules. However, I'm still contemplating whether this is worth doing. If middleboxes check the CRC32c (which would kill zero checksum for AUTH and CRYPTO for SCTP/IPv46), why shouldn't they do the same when SCTP is UDP encapsulated? Assuming that they don't do it now, because SCTP over UDP is not used a lot right now, does not extrapolate to the case where some specifications exist, which require SCTP (with CRYPTO or AUTH) over UDP. What do you think? I submitted -03 of the individual document and the -00 of the WG document, because I did not want to hold them up any longer. Once we have come to a conclusion on the above discussion, I'll update the document accordingly. Best regards Michael > Magnus > On 2023-04-27, 00:13, "tsvwg" <tsvwg-bounces@ietf.org> wrote: > > On 18. Apr 2023, at 11:06, Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org> wrote: > > > Hi Michael, > > I am slightly confused by your exclusion of UDP for the zero checksum. I would expect that IP/UDP/SCTP per RFC 6951 would actually make it across a network unless a firewall was present that actually checked the CRC on SCTP level with that encapsulation. Which would in fact be a bit surprising as the UDP payload can be a bit of anything unless the UDP port reveals the service and special rules exists. > Hi Magnus, > there is an IANA assigned UDP port number. So firewalls could use this. However, I don't know if > any product does now or will do in the future. > > Thus, I would expect that SCTP zero checksum should be possible to deploy when RFC 6951 encapsulation occurs and the SCTP stack would be using SCTP-AUTH or CRYPTO chunk as alternative strong integrity verification. So I think the zero checksum could actually be allowed for UDP encapsulated SCTP when using a strong integrity mechanism. Just want to ensure that the document doesn’t include unnecessary scoping which doesn’t have technical merit. > I agree. Possibly we should be more precise: > * We should not talk about lower layers providing a protection at least as good as CRC32c, but talk about other > protocol mechanisms instead. These protocol mechanisms include lower layers like DTLS, but also AUTH or CRYTO. > * We should consider two conditions, where the use of the feature is not appropriate: > (1) There is no other protocol mechanism to protect a packet at least as good as CRC32c. > (2) Middleboxes will interfere with SCTP packets containing an incorrect checksum of zero. > Then: > * SCTP over DTLS is OK, since (1) and (2) are both not true. > * SCTP over IP is not OK, since (1) and (2) is true. > * SCTP using AUTH for all chunks over IP is not OK, since (2) is true. > * SCTP over UDP over IP is not OK, since (1) is true. Whether (2) is true is not known to me. > * SCTP using AUTH for all chunks over UDP over IP might be OK, if (2) is not true. > * SCTP using CRYTO is not OK, since (2) is true. > * SCTP using CRPTO might be OK, if (2) is not true. > Would such a change address your issue? > Best regards > Michael > > Cheers > > Magnus > > On 2023-04-12, 14:21, "tsvwg" <tsvwg-bounces@ietf.org> wrote: > > > On 11. Apr 2023, at 19:15, Nils Ohlmeier <nils.ohlmeier@8x8.com> wrote: > > > > Hello, > > > > I’m supporting adoption of draft draft-tuexen-tsvwg-sctp-zero-checksum-02, because it is going to be useful for all WebRTC endpoints out there to have the option to skip the checksum step. > > > > I also reviewed the draft. The only concern I found is this sentence: > > > > "Since the lower layer of SCTP can not be IPv4 or IPv6 as specified in [RFC9260] or UDP as specified in [RFC6951], no problems with middle boxes expecting correct CRC32c checksums in the SCTP packets are expected.” > > > > Which confuses me, because it sounds to me like this is trying to say that SCTP over IPv4 or IPv6 can not be done. Which obviously doesn’t make any sense. But I honestly fail to parse what this sentence is suppose to tell me (besides no problems with middle boxes is expected). > > Would using > > One example of such a lower layer is the use of SCTP over DTLS as > > described in [RFC8261] (as used in the WebRTC context). Counter > > examples include: > > * SCTP over IPv4 or IPv6 as specified in [RFC9260]. > > * SCTP over UDP as specified in [RFC6951]. > > * The use of SCTP Authentication as specified in [RFC4895]. > > Therefore using an incorrect zero checksum will not result in > > problems with middle boxes expecting correct CRC32c checksums in SCTP > > packets. > > be clearer? > > Best regards > > Michael > > > > Best > > > Nils Ohlmeier
- [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum-02 … Nils Ohlmeier
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Claudio Porfiri
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Nils Ohlmeier
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Nils Ohlmeier
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Magnus Westerlund
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Magnus Westerlund
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Magnus Westerlund
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Magnus Westerlund
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Magnus Westerlund
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Magnus Westerlund
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… tuexen
- Re: [tsvwg] draft-tuexen-tsvwg-sctp-zero-checksum… Michael Tuexen