Re: [core] draft-hartke-core-stateless

Klaus Hartke <klaus.hartke@ericsson.com> Wed, 12 September 2018 08:35 UTC

Return-Path: <klaus.hartke@ericsson.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5363F130E3C for <core@ietfa.amsl.com>; Wed, 12 Sep 2018 01:35:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.309
X-Spam-Level:
X-Spam-Status: No, score=-4.309 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=ericsson.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 jWl7llZg3-Y3 for <core@ietfa.amsl.com>; Wed, 12 Sep 2018 01:35:27 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DC0781294D7 for <core@ietf.org>; Wed, 12 Sep 2018 01:35:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1536741325; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CD0cUfl3A92k5qoJQVWOiK5h1O+ojclWYVKij507ImQ=; b=CKv+R7IeivDIpF9dXwuT9MGoOFAsfYVYAEIXTZ3cJ2yXaT9ZP/jW1cnZXz52bOhW XR7hr6xUo7+W1wa5hKuM/2DeAs6OURCF2/ga6I4FyDAAdA6WHRL4rmigNnvIYTFF cbYxyl8yDs8GnyA0m5PXYPckHClSJhPuf70oCFPLqEE=;
X-AuditID: c1b4fb2d-5ecb19c0000055ff-2c-5b98cfcd02ad
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 7C.6F.22015.DCFC89B5; Wed, 12 Sep 2018 10:35:25 +0200 (CEST)
Received: from ESESSMB502.ericsson.se (153.88.183.163) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 12 Sep 2018 10:35:24 +0200
Received: from ESESSMB502.ericsson.se ([153.88.183.190]) by ESESSMB502.ericsson.se ([153.88.183.190]) with mapi id 15.01.1466.003; Wed, 12 Sep 2018 10:35:23 +0200
From: Klaus Hartke <klaus.hartke@ericsson.com>
To: 'Core' <core@ietf.org>
Thread-Topic: [core] draft-hartke-core-stateless
Thread-Index: AdRJSZxEFVxiHpnJRYejIUsSOODSiwAdpFyAAAROyKD//+W+gP/+pCFg
Date: Wed, 12 Sep 2018 08:35:23 +0000
Message-ID: <cc47ffed0e7442a98d69b9a4702d8efc@ericsson.com>
References: <009901d4495b$194c4f30$4be4ed90$@augustcellars.com> <20180911131124.GA5521@hephaistos.amsuess.com> <6131e11057e84ec3882d487b32965856@ericsson.com> <20180911134046.GB5521@hephaistos.amsuess.com>
In-Reply-To: <20180911134046.GB5521@hephaistos.amsuess.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.153]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrILMWRmVeSWpSXmKPExsUyM2J7ue7Z8zOiDW6eYLfY93Y9swOjx5Il P5kCGKO4bFJSczLLUov07RK4Mqafnc5Y8Iq9YtfsK2wNjBfYuxg5OSQETCRWvrnA3MXIxSEk cJRRYtuPc4wQzjdGiYmHXrFCOMsYJT7Mu8oG0sImoCexauoPoHYODhEBKYml+6NBwsIC+hLH H+xnBbFFBAwk+v+eZoKw3SSOHukBa2URUJX48+I/2GZeAWuJp7dPgdULCVxmlLi2gBvE5gSK r3vwHKyXUUBM4vupNWA2s4C4xK0n85kgrhaQWLLnPDOELSrx8vE/VghbSWLvsessIKcxC2hK rN+lD9GqKDGl+yHUWkGJkzOfsExgFJ2FZOoshI5ZSDpmIelYwMiyilG0OLW4ODfdyFgvtSgz ubg4P08vL7VkEyMwIg5u+a27g3H1a8dDjAIcjEo8vIZ7Z0QLsSaWFVfmHmKU4GBWEuEVXA0U 4k1JrKxKLcqPLyrNSS0+xCjNwaIkzqu3ak+UkEB6YklqdmpqQWoRTJaJg1OqgTFF/9UNqQup MqF91lWbXz1jeju/5M6x31z15ZJVm2+msL9pyZ3J2HKXWeXkm46HW4U+Rebfv8W94dq+sOYF DRI+c986v+oLmzI9e3Up349Tyhc9XlzIOHKPYaNq0ZodJgEnzjJPfdTNsySSWWlhJkc298Gv Ci8WrFkuzzODL+dCotiPPWxqAlVKLMUZiYZazEXFiQDLf5JnhAIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/h9WIn4i4YEesTAz7_b4qHLDjFfY>
Subject: Re: [core] draft-hartke-core-stateless
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Sep 2018 08:35:28 -0000

Christian Amsüss wrote:
> > But proxies also generate responses themselves, e.g., from cached
> > responses or in case of errors (5.02, 5.04). We don't want clients to
> > receive the extended token from another client or no extended token at
> > all when a proxy does not support the option.
> 
> As long as the option is part of the cache key, any cached response would
> need to have a matching request Extended-Token and thus would have a
> matching response Extended-Token as well.

I don't think it's very desirable to require tokens to match when serving a cached response.

And there's still the other half of the problem: An unaware proxy won't include the option in responses it generates itself.

Klaus