Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 040A9130E29
 for <quic-issues@ietfa.amsl.com>; Fri, 29 Jun 2018 15:22:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.01
X-Spam-Level: 
X-Spam-Status: No, score=-8.01 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1,
 RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01]
 autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
 header.d=github.com
Received: from mail.ietf.org ([4.31.198.44])
 by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id DwBST5vWoc5F for <quic-issues@ietfa.amsl.com>;
 Fri, 29 Jun 2018 15:22:17 -0700 (PDT)
Received: from out-4.smtp.github.com (out-4.smtp.github.com [192.30.252.195])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id C90C9130E5E
 for <quic-issues@ietf.org>; Fri, 29 Jun 2018 15:22:17 -0700 (PDT)
Date: Fri, 29 Jun 2018 15:22:17 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
 s=pf2014; t=1530310937;
 bh=ZihrpXXNCNnNEdO5yiBt2Vjs1hplwOgA1OLslpzOvJo=;
 h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
 List-Archive:List-Post:List-Unsubscribe:From;
 b=VjjmNQMJbW0QE7MI7FtBbQ0sAL8bPqdcP663qBJRkYt4TSeIpTszBUn2jws4iBaW3
 Zs/gD0b6hYEYj4kYFKD3gDG25rWTi3qQdm3XPkKJBNcka2FLgXY+Y4LhUPaO2rwKXd
 jhGT4KFLuyYb+5rD1xKXqxVyE6Cl8AbJJIUzTd64=
From: hardie <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+0166e4abfdcb133ccac84c671d1ed8c4268e7b2b8f4c532992cf00000001174e731992a169ce1418889d@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1505/401488385@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1505@github.com>
References: <quicwg/base-drafts/issues/1505@github.com>
Subject: Re: [quicwg/base-drafts] Stateless Reset from clients, bis (#1505)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5b36b119ac8a_2a72b0640dd2f541275dc";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: hardie
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/emAhnoJ8sqFRcW54mnP-sQln6pk>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
List-Id: Notification list for GitHub issues related to the QUIC WG
 <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>,
 <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>,
 <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jun 2018 22:22:20 -0000


----==_mimepart_5b36b119ac8a_2a72b0640dd2f541275dc
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Igor,

I think I'm a little confused.  Some questions in-line.


On Fri, Jun 29, 2018 at 3:12 PM, Igor Lubashev <notifications@github.com>=

wrote:

> In #466 <https://github.com/quicwg/base-drafts/issues/466>, we left it =
as
> the client cannot use Stateless Reset, until the server starts to use t=
o a
> CID provided by the client's NEW_CONNECTION_ID. (Something that is actu=
ally
> not stated explicitly in the draft.)
>
> This is certainly not great, hence this issue.
>
> To fix this, I can think of a few alternatives:
>
>    1. A new frame that provides the initial Stateless Reset Token from
>    the client. It only applies to the initial CID (important to note, s=
ince
>    you do not want it to override the token from a subsequent
>    NEW_CONNECTION_ID in case of reordering).
>
> If the purpose of Stateless Reset is to abruptly tear down a connection=
,
I'm not sure what the re-ordering issue is.  Sending a Stateless Reset an=
d
then sending more traffic on that connection seems odd.  Similarly, if th=
e
client needs to know whether data already sent has been received, it seem=
s
like it either has to wait until that data is acknowledged and/or use a
graceful shutdown.  I don't seen how a reset matches this--what am I
missing?


>
>    1. If NEW_CONNECTION_ID frame is received from the client with Seq=3D=
0
>    and Length=3D0, it provides the initial Stateless Reset Token (and i=
s
>    considered to be Seq=3D-1, so the next NEW_CONNECTION_ID would actua=
lly be
>    Seq=3D0). I do not love this and would prefer just a new frame.
>
> =E2=80=94
>
I agree that this is not very lovable.

Ted


> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/issues/1505>, or mute the thread=

> <https://github.com/notifications/unsubscribe-auth/ABVb5BUeQGYOCQ9iZVNL=
Ktp0Y_w-WFZNks5uBqZZgaJpZM4U9sIC>
> .
>


-- =

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/1505#issuecomment-401488385=

----==_mimepart_5b36b119ac8a_2a72b0640dd2f541275dc
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Igor,<br>
<br>
I think I&#39;m a little confused.  Some questions in-line.<br>
<br>
<br>
On Fri, Jun 29, 2018 at 3:12 PM, Igor Lubashev &lt;notifications@github.c=
om&gt;<br>
wrote:<br>
<br>
&gt; In #466 &lt;https://github.com/quicwg/base-drafts/issues/466&gt;, we=
 left it as<br>
&gt; the client cannot use Stateless Reset, until the server starts to us=
e to a<br>
&gt; CID provided by the client&#39;s NEW_CONNECTION_ID. (Something that =
is actually<br>
&gt; not stated explicitly in the draft.)<br>
&gt;<br>
&gt; This is certainly not great, hence this issue.<br>
&gt;<br>
&gt; To fix this, I can think of a few alternatives:<br>
&gt;<br>
&gt;    1. A new frame that provides the initial Stateless Reset Token fr=
om<br>
&gt;    the client. It only applies to the initial CID (important to note=
, since<br>
&gt;    you do not want it to override the token from a subsequent<br>
&gt;    NEW_CONNECTION_ID in case of reordering).<br>
&gt;<br>
&gt; If the purpose of Stateless Reset is to abruptly tear down a connect=
ion,<br>
I&#39;m not sure what the re-ordering issue is.  Sending a Stateless Rese=
t and<br>
then sending more traffic on that connection seems odd.  Similarly, if th=
e<br>
client needs to know whether data already sent has been received, it seem=
s<br>
like it either has to wait until that data is acknowledged and/or use a<b=
r>
graceful shutdown.  I don&#39;t seen how a reset matches this--what am I<=
br>
missing?<br>
<br>
<br>
&gt;<br>
&gt;    1. If NEW_CONNECTION_ID frame is received from the client with Se=
q=3D0<br>
&gt;    and Length=3D0, it provides the initial Stateless Reset Token (an=
d is<br>
&gt;    considered to be Seq=3D-1, so the next NEW_CONNECTION_ID would ac=
tually be<br>
&gt;    Seq=3D0). I do not love this and would prefer just a new frame.<b=
r>
&gt;<br>
&gt; =E2=80=94<br>
&gt;<br>
I agree that this is not very lovable.<br>
<br>
Ted<br>
<br>
<br>
&gt; You are receiving this because you are subscribed to this thread.<br=
>
&gt; Reply to this email directly, view it on GitHub<br>
&gt; &lt;https://github.com/quicwg/base-drafts/issues/1505&gt;, or mute t=
he thread<br>
&gt; &lt;https://github.com/notifications/unsubscribe-auth/ABVb5BUeQGYOCQ=
9iZVNLKtp0Y_w-WFZNks5uBqZZgaJpZM4U9sIC&gt;<br>
&gt; .<br>
&gt;<br>


<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />You are receiving this because you are subscribed to this thre=
ad.<br />Reply to this email directly, <a href=3D"https://github.com/quic=
wg/base-drafts/issues/1505#issuecomment-401488385">view it on GitHub</a>,=
 or <a href=3D"https://github.com/notifications/unsubscribe-auth/AWbkqy10=
72DoDpdjH7rgBdj9SSDn7Ixuks5uBqiZgaJpZM4U9sIC">mute the thread</a>.<img sr=
c=3D"https://github.com/notifications/beacon/AWbkq0ywvjnBl8yRKN_UHhJ3rqgd=
wYiYks5uBqiZgaJpZM4U9sIC.gif" height=3D"1" width=3D"1" alt=3D"" /></p>
<script type=3D"application/json" data-scope=3D"inboxmarkup">{"api_versio=
n":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name"=
:"GitHub"},"entity":{"external_key":"github/quicwg/base-drafts","title":"=
quicwg/base-drafts","subtitle":"GitHub repository","main_image_url":"http=
s://assets-cdn.github.com/images/email/message_cards/header.png","avatar_=
image_url":"https://assets-cdn.github.com/images/email/message_cards/avat=
ar.png","action":{"name":"Open in GitHub","url":"https://github.com/quicw=
g/base-drafts"}},"updates":{"snippets":[{"icon":"PERSON","message":"@hard=
ie in #1505: Hi Igor,\n\nI think I'm a little confused.  Some questions i=
n-line.\n\n\nOn Fri, Jun 29, 2018 at 3:12 PM, Igor Lubashev \u003cnotific=
ations@github.com\u003e\nwrote:\n\n\u003e In #466 \u003chttps://github.co=
m/quicwg/base-drafts/issues/466\u003e, we left it as\n\u003e the client c=
annot use Stateless Reset, until the server starts to use to a\n\u003e CI=
D provided by the client's NEW_CONNECTION_ID. (Something that is actually=
\n\u003e not stated explicitly in the draft.)\n\u003e\n\u003e This is cer=
tainly not great, hence this issue.\n\u003e\n\u003e To fix this, I can th=
ink of a few alternatives:\n\u003e\n\u003e    1. A new frame that provide=
s the initial Stateless Reset Token from\n\u003e    the client. It only a=
pplies to the initial CID (important to note, since\n\u003e    you do not=
 want it to override the token from a subsequent\n\u003e    NEW_CONNECTIO=
N_ID in case of reordering).\n\u003e\n\u003e If the purpose of Stateless =
Reset is to abruptly tear down a connection,\nI'm not sure what the re-or=
dering issue is.  Sending a Stateless Reset and\nthen sending more traffi=
c on that connection seems odd.  Similarly, if the\nclient needs to know =
whether data already sent has been received, it seems\nlike it either has=
 to wait until that data is acknowledged and/or use a\ngraceful shutdown.=
  I don't seen how a reset matches this--what am I\nmissing?\n\n\n\u003e\=
n\u003e    1. If NEW_CONNECTION_ID frame is received from the client with=
 Seq=3D0\n\u003e    and Length=3D0, it provides the initial Stateless Res=
et Token (and is\n\u003e    considered to be Seq=3D-1, so the next NEW_CO=
NNECTION_ID would actually be\n\u003e    Seq=3D0). I do not love this and=
 would prefer just a new frame.\n\u003e\n\u003e =E2=80=94\n\u003e\nI agre=
e that this is not very lovable.\n\nTed\n\n\n\u003e You are receiving thi=
s because you are subscribed to this thread.\n\u003e Reply to this email =
directly, view it on GitHub\n\u003e \u003chttps://github.com/quicwg/base-=
drafts/issues/1505\u003e, or mute the thread\n\u003e \u003chttps://github=
.com/notifications/unsubscribe-auth/ABVb5BUeQGYOCQ9iZVNLKtp0Y_w-WFZNks5uB=
qZZgaJpZM4U9sIC\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Issue=
","url":"https://github.com/quicwg/base-drafts/issues/1505#issuecomment-4=
01488385"}}}</script>
<script type=3D"application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/issues/1505#issuecomment=
-401488385",
"url": "https://github.com/quicwg/base-drafts/issues/1505#issuecomment-40=
1488385",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [quicwg/base-drafts] Stateless Reset from clients, bis (#15=
05)",
"sections": [
{
"text": "",
"activityTitle": "**hardie**",
"activityImage": "https://assets-cdn.github.com/images/email/message_card=
s/avatar.png",
"activitySubtitle": "@hardie",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \=
"quicwg/base-drafts\",\n\"issueId\": 1505,\n\"IssueComment\": \"{{IssueCo=
mment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"q=
uicwg/base-drafts\",\n\"issueId\": 1505\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/quicwg/base-drafts/issues/1505#issuecomment-40=
1488385"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 3517158=
42\n}"
}
],
"themeColor": "26292E"
}
]</script>=

----==_mimepart_5b36b119ac8a_2a72b0640dd2f541275dc--

