[Dots] draft-ietf-dots-signal-channel-23: application/cbor media types

Klaus Hartke <klaus.hartke@ericsson.com> Wed, 29 August 2018 08:11 UTC

Return-Path: <klaus.hartke@ericsson.com>
X-Original-To: dots@ietfa.amsl.com
Delivered-To: dots@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2733A130DD2 for <dots@ietfa.amsl.com>; Wed, 29 Aug 2018 01:11:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 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, 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 vXsjMw9IorFC for <dots@ietfa.amsl.com>; Wed, 29 Aug 2018 01:11:07 -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 A505612008A for <dots@ietf.org>; Wed, 29 Aug 2018 01:11:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1535530265; 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=Gdqd4U+zad3codfzUSqOiBrpZvi2gAjWI+1L6+0AZbc=; b=Uy/8o1WX2pQqrjThW4hoNqPLSzmUZv6/hrI3PiAWnMeVhBBeoRGB91Nnq85RxwZF idXWPCHBx25SL2R/qOyMQKfdnXIRsVF+JH9sFt3efuJsQrHitBhcFRvUOwXIbYy0 snTFxSXLdeApuCnXY0W1UZfSPVuMCKIp17peKZsuiyI=;
X-AuditID: c1b4fb2d-223ff700000055ff-28-5b8655197c1e
Received: from ESESBMB504.ericsson.se (Unknown_Domain [153.88.183.117]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id F5.B3.22015.915568B5; Wed, 29 Aug 2018 10:11:05 +0200 (CEST)
Received: from ESESSMB502.ericsson.se (153.88.183.163) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 29 Aug 2018 10:11:04 +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, 29 Aug 2018 10:11:04 +0200
From: Klaus Hartke <klaus.hartke@ericsson.com>
To: "dots@ietf.org" <dots@ietf.org>
Thread-Topic: draft-ietf-dots-signal-channel-23: application/cbor media types
Thread-Index: AdQ/b26U3FfnApeMS7ujoqUUJwn0tQ==
Date: Wed, 29 Aug 2018 08:11:04 +0000
Message-ID: <e9cf1bf596b34fad8b36df6afd9bdb0e@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.214.162.30]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsUyM2J7qa5kaFu0weazTBZr3xxhdWD0WLLk J1MAYxSXTUpqTmZZapG+XQJXxp+mb+wFEzgqVm1ewNLA+IW9i5GTQ0LARGLKlj2MXYxcHEIC RxklWp4sZYNwvjFKTHy+nAXCWcYosfvPRiaQFjYBPYlVU3+AtYsIKEvsbLrLCGILC3hIfHw8 hQ0i7ivxZ+VaoGYOIFtPYsUHZ5Awi4CqxOzOzSwgNq+AtcS+nx3MIDajgJjE91NrwMYzC4hL 3HoynwniOgGJJXvOM0PYohIvH/9jhbCVJC6c2MoGMp5ZQFNi/S59iFZFiSndD9khxgtKnJz5 hGUCo/AsJFNnIXTMQtIxC0nHAkaWVYyixanFxbnpRsZ6qUWZycXF+Xl6eaklmxiBAX5wy2/d HYyrXzseYhTgYFTi4W32aYsWYk0sK67MPcQowcGsJMIbZAAU4k1JrKxKLcqPLyrNSS0+xCjN waIkzqu3ak+UkEB6YklqdmpqQWoRTJaJg1OqgZH5osCs3f3L/lco5HKG1p/bcvVKCbfE2ezi qGXxLVsr995cVT33VHOBH4fh9P/HTbJ1lkrKHL3tVcNRIGzj2NjF+0NJsPmUyIf5UYINdzIc U+asrjH7VvQlovTwuakqz7or19ql3TN4/Xy+Ms8iPzWFWSk3X0lwbFrmEVZSY75UKJMz8N/B b0osxRmJhlrMRcWJAHKDFeRsAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/dots/31pLAUwWqs4Nu-8k7CNiY0PTdeY>
Subject: [Dots] draft-ietf-dots-signal-channel-23: application/cbor media types
X-BeenThere: dots@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "List for discussion of DDoS Open Threat Signaling \(DOTS\) technology and directions." <dots.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dots>, <mailto:dots-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dots/>
List-Post: <mailto:dots@ietf.org>
List-Help: <mailto:dots-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dots>, <mailto:dots-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Aug 2018 08:11:08 -0000

I've taken a brief look at draft-ietf-dots-signal-channel-23 in preparation for today's CoRE virtual interim meeting and noticed that it uses the media type "application/cbor" throughout the document, with payloads in one of the following shapes:

{ "ietf-dots-signal-channel:mitigation-scope": { ... } }

{ "ietf-dots-signal-channel:signal-config": { ... } }

{ "ietf-dots-signal-channel:redirected-signal": { ... } }

In CoRE, we generally encourage the use of more specific media types. Have you considered defining new media types, such as:

* application/dots-mitigation-scope+cbor

* application/dots-signal-config+cbor

* application/dots-redirected-signal+cbor

and omitting the {"ietf-dots-signal-channel:":...} wrapper?

Klaus