Re: [Masque] Zaheduzzaman Sarker's No Objection on draft-ietf-masque-connect-udp-14: (with COMMENT)

David Schinazi <dschinazi.ietf@gmail.com> Thu, 16 June 2022 19:39 UTC

Return-Path: <dschinazi.ietf@gmail.com>
X-Original-To: masque@ietfa.amsl.com
Delivered-To: masque@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEE84C157B4D; Thu, 16 Jun 2022 12:39:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 PbzBp4LxUou3; Thu, 16 Jun 2022 12:39:52 -0700 (PDT)
Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 B826FC14F739; Thu, 16 Jun 2022 12:39:52 -0700 (PDT)
Received: by mail-pf1-x432.google.com with SMTP id u2so2348390pfc.2; Thu, 16 Jun 2022 12:39:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yKW9hS1+jbvMzRZj86Q/uXuiphg/DMAmJo+aHz5Szpo=; b=KGUI3EHmsIDAawJJh3YcLVZFWRygRCdsS1K3DJ7Ctubi34a3tS4MrjFb4Gb+voaMRy 4DM+jTozmkUDixE4IyR7B0CvbLb8r3TsCKQRu9WvKQDqKvUNbi3cRrXl+Z3ocOOm0oVg GqtcRVNObPbd54g+o+x2pLOTMC9QpXeqm6xr+1r7KWO/Jmj6Pjpx8AyuIduxx+Y1T4oM hBpalH/61srxBX4j3/9CxXcu9691/ZOSlc6mst39N32vytagF6CgSp/wsiOiyJSTacvf 3TPM1V6xPN0g+w+9oJJimeHL1KfszIQb9JY4u73yZz1CKwJe/khCd2WZ9Js6iLMTAdXq mGdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yKW9hS1+jbvMzRZj86Q/uXuiphg/DMAmJo+aHz5Szpo=; b=IeZMZTdzTBm7PAT5SzIx9VbAWnKLM1ZDSUPrc3PcUz5J8Re4Fh20SOsQjky80r3UTp gh+WosGIRVlOWBmPiNG88VDhzjj1nAV36lccgfoQxDTRwShM/2ZiGNx/1Nj+MGD3mgel wDS4vO/NOSWuoBxSQCa0jNdDH9wwlWM/KD1HaFmRF4YVHqtjQTfZRAbwSD1VzJHDhrX8 qEPmbYdXX0cL1G4DdmiNeNOiIe8lCO6tff3gZeESdw12p55hNyfRf/+/dqW4DtRqtDu1 dP9rVf60+6Hbw3vvJUbRMAbo3xXTcbTYae1wRUpPCOSr8jCaLo8fRbfMG7hAA0dVgiQx KJZQ==
X-Gm-Message-State: AJIora9WqQDFsQQznVMSXHVbe5/inmlB7lGt3Zvw4Tak4qPvbCQll7ro GBt2AH3j6266K8R1UPAsFKXO5zeIwkKsjPriB5Q=
X-Google-Smtp-Source: AGRyM1tIkewqnuCdwGEd9B0AECDUt3+9isTi5kFIs1cUuFGx2pzN/WKXMv2hSGPE0VMlXCbE30DPWuz8FsNCD1HvKsU=
X-Received: by 2002:a63:790c:0:b0:40c:3c04:e3d3 with SMTP id u12-20020a63790c000000b0040c3c04e3d3mr2355755pgc.44.1655408391818; Thu, 16 Jun 2022 12:39:51 -0700 (PDT)
MIME-Version: 1.0
References: <165537430084.60010.18026519652140686006@ietfa.amsl.com>
In-Reply-To: <165537430084.60010.18026519652140686006@ietfa.amsl.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 16 Jun 2022 12:39:40 -0700
Message-ID: <CAPDSy+5z9e4ofuCR+kQ1=+6DE1Af3Ngf_YJYZ6FVBWCAhchL0A@mail.gmail.com>
To: Zaheduzzaman Sarker <Zaheduzzaman.Sarker@ericsson.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-masque-connect-udp@ietf.org, masque-chairs@ietf.org, MASQUE <masque@ietf.org>, Eric Kinnear <ekinnear@apple.com>
Content-Type: multipart/alternative; boundary="0000000000002712a905e195cdaf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/masque/DjrfrxjXwIIil-VKP5pOi4PsVE8>
Subject: Re: [Masque] Zaheduzzaman Sarker's No Objection on draft-ietf-masque-connect-udp-14: (with COMMENT)
X-BeenThere: masque@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Multiplexed Application Substrate over QUIC Encryption <masque.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/masque>, <mailto:masque-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/masque/>
List-Post: <mailto:masque@ietf.org>
List-Help: <mailto:masque-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/masque>, <mailto:masque-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2022 19:39:53 -0000

Hi Zahed, thanks for your comments.
Responses inline.
David

On Thu, Jun 16, 2022 at 3:11 AM Zaheduzzaman Sarker via Datatracker <
noreply@ietf.org> wrote:

> - Section 3: s/pct-encoding/percent-encoding and would be good to add a
> reference to pct-encoding (https://datatracker.ietf.org/doc/html/rfc3986)
>

Agreed, fixed via this commit:
https://github.com/ietf-wg-masque/draft-ietf-masque-connect-udp/commit/e372382e788bde3c84d903390f8a577f72d8dff6


 - Section 3.1: it took a bit of time for me to understand if we are
> redefining
>  the "intermediaries" here again. We have already described what is an
>  intermediary in the context of this document. Hence, I would suggest that
> we
>  just write - if the recipient is an intermediary, it forwards ....
>

We're not redefining what an intermediary is, we're following the previous
definition.
However, an HTTP server can be both an intermediary and an origin at the
same time,
and handle some requests as an intermediary and some other requests as an
origin.
That's why we specifically phrased it as "act as an intermediary".

 - Section 3.1: what exactly "fail the request" means? is it only a
>  notification to some waiting processes/methods or sending the error
> message or
>  both? can we be more specific here?
>

Agreed. I've replaced the word failed with better terminology from RFC9110
in this commit:
https://github.com/ietf-wg-masque/draft-ietf-masque-connect-udp/commit/c5661f0012520aff8d9fb56b7ebaebee3c18f8bf

 - Section 5 : reference to the QUIC DATAGRAM frame would be nicer.
>

Agreed. Added a reference via this commit:
https://github.com/ietf-wg-masque/draft-ietf-masque-connect-udp/commit/946a2b65103f8f2132c8c98a0f9f8c86bceeeb1b

 - Section 5 : it says -
>
>                 "Therefore, endpoints MUST NOT send HTTP Datagrams with a
>                 Payload field longer than 65527 using Context ID zero. An
>                 endpoint that receives a DATAGRAM capsule using Context ID
> zero
>                 whose Payload field is longer than 65527 MUST abort the
> stream.
>                 "
>
>         I assume the HTTP Datagram and a DATAGRAM capsule is referring to
> the
>         same thing, but this is confusing. Can use HTTP DATAGRAM in the
> second
>         sentence as well? The DATAGRAM capsule kind of appeared in this
> section
>         all on a sudden.
>
> In this section to me it seems HTTP DATAGRAM and DATAGRAM capsule is
> interchangeably used, if I am correct then I think it is worth mentioning
> this
> for the sake of better understanding.
>

I agree that this was imprecise, I've fixed it in this commit:
https://github.com/ietf-wg-masque/draft-ietf-masque-connect-udp/commit/33d4ebc7b8ed1796fa67146b83f70862ac289efc

- Section 5 : it says
>
>         "If a UDP proxy knows it can only send out UDP packets of a certain
>         length due to its underlying link MTU, it SHOULD discard incoming
>         DATAGRAM capsules using Context ID zero whose Payload field is
> longer
>         than that limit without buffering the capsule contents."
>
>      It is not clear why "SHOULD" is used here? what are the other option
> the
>      UDP proxy has in this case?
>

The SHOULD applies to the buffering part of the sentence, I've clarified it
in this commit:
https://github.com/ietf-wg-masque/draft-ietf-masque-connect-udp/commit/33d4ebc7b8ed1796fa67146b83f70862ac289efc

- Section 3.6: if this section should be removed then [STRUCT-FIELD] must
> not
> be in the normative section, actually should be removed from the
> references.
> Either at this stage of this document we can remove this section or we can
> add
> a note to remove normative reference when this section is removed.
>

Good point. I've replaced the normative reference with a simple link in
this commit:
https://github.com/ietf-wg-masque/draft-ietf-masque-connect-udp/commit/c5ad04c7b98b8bf77c05129124b2e363c6f6c883