Re: [core] wglc: coap caching and observe, caching underspecified

Stephen Farrell <stephen.farrell@cs.tcd.ie> Sat, 21 April 2012 02:20 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
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 E6A3B11E8073 for <core@ietfa.amsl.com>; Fri, 20 Apr 2012 19:20:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWGDo1HgobCF for <core@ietfa.amsl.com>; Fri, 20 Apr 2012 19:20:43 -0700 (PDT)
Received: from scss.tcd.ie (hermes.scss.tcd.ie [IPv6:2001:770:10:200:889f:cdff:fe8d:ccd2]) by ietfa.amsl.com (Postfix) with ESMTP id 01A4421F84BF for <core@ietf.org>; Fri, 20 Apr 2012 19:20:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 48ABC17147D; Sat, 21 Apr 2012 03:20:42 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1334974837; bh=AZ37c0IKzRLHwh iGc3A1w5pOn863TAAw6NrQGeTJMLw=; b=xAuTmoCr7ml4CZvAcMvqgDS4aVo2jM 54FIEEumdkJsM9y87fwVywpDPCEMNHwuz8xF9lwhhvOBUowgj/evbiUoQTAEHSpw AGH8c4tw78fWr6jOCVtQwx1cQ//Gd/9WTe5/RTy1lEFiUaW0EEya7KH+1FB0STlF ruy6ma0tcLU1fHmhJMHNdto2Rg33NW/st/ite88hHq5k9CJUPexOQ+D1imsonj+C gfZXoEw4o3Suga/WzYq82kJQOv2mwU1wfU9kQ7N707Muo/nmXcEY2ruDPHpG5+qq ierPg45m7wedMo2vlcOubfr9wnKIezKjNbWomNy6BLsmCd75iw+lr+8Q==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id ei2PQDWFvH9H; Sat, 21 Apr 2012 03:20:37 +0100 (IST)
Received: from [1.202.85.154] (unknown [1.202.85.154]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 4FEBA171474; Sat, 21 Apr 2012 03:20:33 +0100 (IST)
Message-ID: <4F92196E.9000701@cs.tcd.ie>
Date: Sat, 21 Apr 2012 03:20:30 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: Thomas Fossati <tho@koanlogic.com>
References: <4F8C1A5C.10309@ericsson.com> <CAB6izESmcuN6dc2NZTaVEUQy+-45N6O8hcpbDsa6t547fFuF-A@mail.gmail.com> <4F8C393E.9090403@ericsson.com> <CAB6izESsn+y=YMgqsXEiK5uwuZknMhDMvW5AzJfufGbSpP1ZFA@mail.gmail.com> <65FED8AA-4B3E-4F57-BE42-982F140D0E07@koanlogic.com> <CAB6izEQ21pzsC0G7JVwdrDh8fcSh_EDkzzrL9Bjs01F9D20-+A@mail.gmail.com> <20120416203124.GA11308@koanlogic.com> <CAB6izEScugjQD3MfWxJ2Uehma=xeFQq5rhV6X8JoO2w_OEFffw@mail.gmail.com> <23D2F1F9-9005-4898-BA03-9978C1515D4A@koanlogic.com> <4F8D1EA8.6080800@ericsson.com> <B7005099-E4CD-45C9-9D61-F22BDA1EB00F@iii.ca> <FB1AB4CA-1B98-4BD3-AEFB-B64467AD690F@tzi.org> <68B487AC-7384-4B75-9E1F-32CB8454D2F0@koanlogic.com>
In-Reply-To: <68B487AC-7384-4B75-9E1F-32CB8454D2F0@koanlogic.com>
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: core WG <core@ietf.org>
Subject: Re: [core] wglc: coap caching and observe, caching underspecified
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 21 Apr 2012 02:20:48 -0000

Hi,

On 04/20/2012 02:23 PM, Thomas Fossati wrote:
> Carsten,
> 
> On Apr 20, 2012, at 2:51 PM, Carsten Bormann wrote:
>>> This thread seems to be leading towards a separate bit in the option that indicates if a proxy needs to understand the option or not. Not sure what I think of that idea but it would be one possibility to consider. 
>>
>> I would like to see a real-live example for an option that is neither critical nor elective, first.  We have had this discussion for a long time, but nobody ever came up with an option that would *need* that third/fourth state.
> 
> the issue here is that we need a way to distinguish end-to-end from hop-by-hop semantics in options, otherwise proxies can't cooperate in making CoAP networks scale.
> 
> I don't mind if we want to do that with an explicit bit, or by some implicit rule -- as I proposed previously in this same thread -- but we need to do that.
> 
> The current caching rule set treats an intermediary the same way as an endpoint, forcing a flow to break at a forwarder whenever some end-to-end semantics is not understood.  And this is plain wrong.

So I've no real opinion as to whether this extra bit is
needed/useful or not, but if its added then it'll need
to play well with how DTLS is done.

Be a shame to accidentally muck things up embedding some
hop-by-hop option into something secured end-to-end.

I would guess that any solution here that isn't "don't
use hop-by-hop options if you need (e2e) security" will
be fairly complex.

S


> 
> We don't know how much CoAP will need to scale, but embedding such a limitation in the core protocol is something that we could regret.
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>