Re: [core] Review of draft-silverajan-core-coap-protocol-negotiation
JinHyeock Choi <jinchoe@gmail.com> Tue, 13 March 2018 11:29 UTC
Return-Path: <jinchoe@gmail.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 34FC012D88A for <core@ietfa.amsl.com>; Tue, 13 Mar 2018 04:29:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hFbcAaB7LJ47 for <core@ietfa.amsl.com>; Tue, 13 Mar 2018 04:29:23 -0700 (PDT)
Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 2E4FD12D77B for <core@ietf.org>; Tue, 13 Mar 2018 04:29:23 -0700 (PDT)
Received: by mail-lf0-x236.google.com with SMTP id v9-v6so28174758lfa.11 for <core@ietf.org>; Tue, 13 Mar 2018 04:29:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=7OSkWdJFfEHPxDYeB7mvc55o6Q3bxPTGg7Y+QBVmyj4=; b=moEyjFwlj63XKjGL11tLwn9cuwZ7rkcxhnf5aWaDL5jHIlFA7ulK36np8zbytEKkzx mpTmb0PralqUWSMaDWrv166dduK+ztm0MBgDia0GluKynJlmrnQf5aO1W9unUprpNYNY uWTAnuCPb8RLKPHjbk7xzUWuw3QuSxfVuV/NAvhZf1C1vBWx+9K3ZioD2PyP345WS6p8 wjx/IVaEH/xvx0u4uXxQ1pNqouwol4ZgmJclGJWlqZHoGvzgRtbIt+HTRxwYHiPnYdFX smDTqXNQytdGslqUoaliivl5VbWT6E4Y2/3zuuj6DpgdYC1HGtTuN0OE3m7SNOcAJ5U4 iffA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=7OSkWdJFfEHPxDYeB7mvc55o6Q3bxPTGg7Y+QBVmyj4=; b=L6rt/6Rkd0imbL+ymyjcqW+43Bhvr8izJ81LRGG6QINgrcR0+/nzpOirMzrvYDijoU k+T+5Opbx9exzELxoJx+ErTPBrOwiup6kAV2dFPxEMZcwFLRWf2STFSn2JxMV/tciM2z 8MQ5u2c/98iIlomhkgpmLKFwDIYdnDHXdYOrMcndCHoO/8IEIg7fokRk2X4pOUrcGLVX csbYJi2oZj/WdxdhWqNa0Dgwh3O7F0BplC9bry1x2af1K8iXCFp9nlziXAtXbSP+LynB E0prEV4tjzSBdugHo43SkCPNV1EyHf/cTHkiz18HZK3dkC5i88E4p5GtCrntvVVECm3N ogGA==
X-Gm-Message-State: AElRT7FRfZl0P0IkXdyMHxq0//QtrQOjgLmfwLjZ1LR8PIWHwp8oLjuE VT06dlMDVEBnxKC7huOSchtaty1fbbMBjmg2s1M=
X-Google-Smtp-Source: AG47ELueBDVeB2MV8M/SDMuwU9CSIMQ/8QUwH6zv1/CT50yIeMRN+5l2TrhFMlX8eLhFsbelgAkYg58rtR/BKbvkZ5Y=
X-Received: by 10.46.68.138 with SMTP id b10mr198974ljf.123.1520940561242; Tue, 13 Mar 2018 04:29:21 -0700 (PDT)
MIME-Version: 1.0
From: JinHyeock Choi <jinchoe@gmail.com>
Date: Tue, 13 Mar 2018 11:29:10 +0000
Message-ID: <CAOqz15pcTiZdnKhxqkRtNeHS9Xrq5PYvVPMBvUWfhg-jSzsimQ@mail.gmail.com>
To: Bill Silverajan <bilhanan.silverajan@tut.fi>
Cc: Jaime Jiménez <jaime.jimenez@ericsson.com>, "core@ietf.org WG (core@ietf.org)" <core@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cdc02e0a0670567499136"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/vgVqPt-Pl8qfYlEWQ7Q1-ZQp0m8>
Subject: Re: [core] Review of draft-silverajan-core-coap-protocol-negotiation
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 13 Mar 2018 11:29:26 -0000
Bill >> - OCF uses a similar link attribute called “eps”. > > The idea was to align "ol" with OCF's "eps" > so that per-resource alternate locations can also be supported. > This came from Dave's slides in IETF 99. See slide 19: > https://datatracker.ietf.org/meeting/99/materials/slides-99-core-consolidated-slides / good that "ol" & "eps" would be aligned. They are almost equivalent. For example, ol=http://[FDFD::123]:61616, coap://[2001:db8:f1::2]:5683 corresponds to "eps": [ {"ep": "http://[FDFD::123]:61616"}, {"ep": "coaps://[2001:db8:f1::2]:5683"} ] There still exisit some differences (e.g., URI in "ep" shall have IP address in its authority.), which, I hope, we would discuss in joint meeting next FRI. best regards JinHyeock 2018년 3월 8일 (목) 오전 2:47, Bill Silverajan <bilhanan.silverajan@tut.fi>님이 작성: > Hi Jaime, > > Thanks for reviewing the document! Below are responses to what you wrote: > > > Jaime Jiménez wrote: > > Dear authors, > > I had some time to review > draft-silverajan-core-coap-protocol-negotiation-07, below is the feedback. > > * The RD option: > - have you thought about using this mechanism as a NAT traversal tool? > > It potentially can, if the RD is reachable by both client and server, and > there is some sort of keep-alive mechanism at the NAT. There was also a > discussion about a potential "coap+at", or an "all-transports" happy > eyeballs approach based on Thin ICE which might also help. > > - what happens if any of the context on “at” is different than the one > used to register the endpoint. > > If you're referring to the usage of "at" to the use of "con", it's > specifically because we wanted to avoid overloading the semantics of "con", > which can be used by commissioning tools. So, you can have both parameters > present. > > - is the lifetime of the registration also carried to the other transport > (is the ep being registered on both transports)? > > In short, yes. We thought of introducing lifetime per transport but it > turned out to make it more complicated. The current approach allows the > server to update the "at" list every time it sends a registration update on > RD. This way, transports discovered from RD are always available. > > - are security associations between client and server reset when switching > transport? > > Currently, yes. There are no session resumption/information exchanged > between transports defined yet. > > - I think the lookup example could benefit from a more complex lookup, for > instance using “rt” or “et” with “tt”. > > That's a good idea and we introduced that now in version -08 > > > * Alternative transports option: > - I’m not sure about this but wouldn’t this force to mandate specific CoAP > ports per transport? > > Yes they should be standard, but the idea was also to show non-standard > ports as there will always be endpoints exposing transports on different > ports than the standard ones > > - How large can the payload get? How many alternative transports are > there? Can’t we assume that we keep the scheme and simply answer with the > transport supported? > > We can't do that all the time and elide the authority. For example > supporting sms, you'd have a different authority. There could also be many > alternative transports available, e.g. exposing on different ports. > > * “ol” attribute: > - typo: availabilty > > Thanks, fixed. > > - this option, with no comment to how the context should be the same can > redirect a client to another server, right? Is that what we want? > > Not necessarily to another server but to another location, could be hosted > on the same server. Obviously, if the authority changes, the security > considerations for these kinds of alternate endpoints (that OCF also > proposed) should be looked at more carefully. > > - OCF uses a similar link attribute called “eps”. > > The idea was to align "ol" with OCF's "eps" so that per-resource alternate > locations can also be supported. This came from Dave's slides in IETF 99. > See slide 19: > https://datatracker.ietf.org/meeting/99/materials/slides-99-core-consolidated-slides/ > > > - there should at least exist an informative ref to core-link format. > > I missed this comment for -08, sorry. Will be added for -09. > > > The security considerations part will require quite a bit of work. > > Particularly for alternate locations, agree on this. > > Implications on ETCH? > > Did you mean using FETCH to request for alternate locations? That would > work as a substitute for the Alternative-transports Option, if we can > devise a CoRE link that can express alternate transport endpoints on a > server. > > This draft is intended as informational, however at some point we should > have some normative text too for implementors, right? > > That would be great. Also for some feedback from implementers! > > Best regards, > Bill > > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core > >
- [core] Review of draft-silverajan-core-coap-proto… Jaime Jiménez
- Re: [core] Review of draft-silverajan-core-coap-p… Bill Silverajan
- Re: [core] Review of draft-silverajan-core-coap-p… JinHyeock Choi
- Re: [core] Review of draft-silverajan-core-coap-p… Bill Silverajan
- Re: [core] Review of draft-silverajan-core-coap-p… JinHyeock Choi
- Re: [core] Review of draft-silverajan-core-coap-p… Jaime Jiménez
- Re: [core] Review of draft-silverajan-core-coap-p… Ari Keränen