Re: Closing on CONNECTION_CLOSE

Dmitri Tikhonov <dtikhonov@litespeedtech.com> Fri, 28 July 2017 12:49 UTC

Return-Path: <dtikhonov@litespeedtech.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18652132133 for <quic@ietfa.amsl.com>; Fri, 28 Jul 2017 05:49:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level:
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=litespeedtech-com.20150623.gappssmtp.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 wTe5xIaUZM9z for <quic@ietfa.amsl.com>; Fri, 28 Jul 2017 05:49:54 -0700 (PDT)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B27113212A for <quic@ietf.org>; Fri, 28 Jul 2017 05:49:54 -0700 (PDT)
Received: by mail-qk0-x22c.google.com with SMTP id u139so56498341qka.1 for <quic@ietf.org>; Fri, 28 Jul 2017 05:49:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=litespeedtech-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=W4nO6/3aw7YCTu6bTw0mnPjfLHMwHCe1LF1ZN2Vqb7o=; b=ROee5jTC7peFWwxtl7KSfUpLJ7n8nHVvlojboUsgmRbTTh74XGMQHiXKkHNTeDpORW 5kP026LHiV9oTJBLfp48vi4zpf1pX/uC3flIQzkLnHERyGsRB4gbqBg2QT/cfOCrXALi oqWQMkBzF8flzF3FMHbzFIolw00p6gxleqYzigQN5pBpTSBM9yoYMIsdCPbaeuH7d8OM yvBe7WjzRZRg/PgXP+N+9FhDdSONuXq47bRIfctu8P2XrncTfVz/7Cw1cUNK29BLAJAT YCttFuKFs3eCDZs1s+dbOLCh6uiIR+gH7wKF1BrmPgWsUzWsOGmtDVyTNv6VHAzbwsgx 7RvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=W4nO6/3aw7YCTu6bTw0mnPjfLHMwHCe1LF1ZN2Vqb7o=; b=fvWhSHQgLaAltiIW9JVK4HzY3GObjMQPMXKdMrpU9bWx2i0fmbXaWndwfd68JkAdYd GA02IMHuFAwDl02hMwsNN9ov3ilBGzcxr3lEcNbNN3dyH8u55l8yZLq8UW0hAV9MsBGD Be/qBX2CCn0RIk39Q8TOP0s18VszZ/w5uFCjC91/2QR60J235pF166uHuG39P53q6TlA NQ4Ds9HH2/+Fbd1eLeXbhozX21JKDRa9ti8g7CE71RYP0nZpNA30BU8TgBZeJd7Itw02 K0rcaXTy5NjglQHm5y/WJrNKRHpxXJ+/+mDTWdqLdXEtLxFacwrdLQPcxZlBVV+R1mPp JIUg==
X-Gm-Message-State: AIVw113nT8/ayLROpkGUNUO/vvgN1HYeL6qEv/TWdywZwjbCLEE8omAP ZHEh+iSSosqipOZh
X-Received: by 10.55.179.4 with SMTP id c4mr10404267qkf.7.1501246193609; Fri, 28 Jul 2017 05:49:53 -0700 (PDT)
Received: from ubuntu-dmitri (ool-2f1636b6.static.optonline.net. [47.22.54.182]) by smtp.gmail.com with ESMTPSA id c3sm6788367qtc.65.2017.07.28.05.49.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jul 2017 05:49:52 -0700 (PDT)
Date: Fri, 28 Jul 2017 08:49:51 -0400
From: Dmitri Tikhonov <dtikhonov@litespeedtech.com>
To: Jana Iyengar <jri@google.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "Swindells, Thomas (Nokia - GB/Cambridge, UK)" <thomas.swindells@nokia.com>, IETF QUIC WG <quic@ietf.org>, Christian Huitema <huitema@huitema.net>, Ian Swett <ianswett@google.com>
Subject: Re: Closing on CONNECTION_CLOSE
Message-ID: <20170728124951.GB2686@ubuntu-dmitri>
References: <CABcZeBP_Xh1QC9Qxhy5HYiMiTfknPs7Yp7+X_KnQE1O-juxJ5g@mail.gmail.com> <cb7caadd-73bd-6505-7a57-4b0271fb66d2@huitema.net> <DB5PR07MB1237960D04442972441D9B8B84BE0@DB5PR07MB1237.eurprd07.prod.outlook.com> <CAKcm_gOSSWOiY7S3KCW4674KO76PxoFmcTbFSsbO-71aQmCXHg@mail.gmail.com> <CABcZeBP3s=XrOXjzN=SvjrYkc-eSUAx8BZXTO-BFAQW-55TXzw@mail.gmail.com> <CAGD1bZYEOxSXaw3cMBZTjkdwCVyJ+cca6fhY0Rh1OaGiB0ihSA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAGD1bZYEOxSXaw3cMBZTjkdwCVyJ+cca6fhY0Rh1OaGiB0ihSA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/lgxRdmEu_xR-vVCQ4JYsMwYFOGM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Jul 2017 12:49:56 -0000

On Thu, Jul 27, 2017 at 03:35:49PM +0000, Jana Iyengar wrote:
> That said, I'm still thinking about if it's possible for an old packet
> circling the network to create connection state when received after
> all state is torn down... If we want to ensure that doesn't happen,
> we'd want to account for network lifetime (2
> msl).

Unlikely, because version negotiation occurs when new connection is
established and thus first few incoming packets would have to have the
VERSION bit set:

  " A QUIC connection begins with a client sending a handshake packet. The
  " details of the handshake mechanisms are described in {{handshake}},
  " but all of the initial packets sent from the client to the server
  " MUST use the long header format and MUST specify the version of the
  " protocol being used.

  - Dmitri.