Re: [mile] Artart last call review of draft-ietf-mile-rolie-10

"Waltermire, David A. (Fed)" <david.waltermire@nist.gov> Thu, 14 December 2017 14:32 UTC

Return-Path: <david.waltermire@nist.gov>
X-Original-To: mile@ietfa.amsl.com
Delivered-To: mile@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCE8C124B09; Thu, 14 Dec 2017 06:32:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nistgov.onmicrosoft.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 aeUX48tcBmww; Thu, 14 Dec 2017 06:32:57 -0800 (PST)
Received: from gcc01-CY1-obe.outbound.protection.outlook.com (mail-cy1gcc01on0100.outbound.protection.outlook.com [23.103.200.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C95B512420B; Thu, 14 Dec 2017 06:32:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nistgov.onmicrosoft.com; s=selector1-nist-gov; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BGJYvhisk8RF4YOmW/x38slqJnYOnhnq8hrvbM240LI=; b=u8NlNZKei+QSgjVlS8jGN6p5hEY1NjzbG2YQXu42NIHQUZ1t4GIkLt2YoZps96TpUVWQEwUrPsEdINdraCTt4G29bDsytHFuVzPp3IwEQcG4zhz2SWbUF2UzmMGc/LCsptPx/K4/bwQd1/FxNuBaCs0UP4xK+sOZWyzzT1hfPcc=
Received: from CY4PR09MB1495.namprd09.prod.outlook.com (10.173.191.141) by CY4PR09MB1190.namprd09.prod.outlook.com (10.172.65.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Thu, 14 Dec 2017 14:32:56 +0000
Received: from CY4PR09MB1495.namprd09.prod.outlook.com ([10.173.191.141]) by CY4PR09MB1495.namprd09.prod.outlook.com ([10.173.191.141]) with mapi id 15.20.0302.014; Thu, 14 Dec 2017 14:32:56 +0000
From: "Waltermire, David A. (Fed)" <david.waltermire@nist.gov>
To: Martin Thomson <martin.thomson@gmail.com>
CC: "Banghart, Stephen A. (Fed)" <stephen.banghart@nist.gov>, "mile@ietf.org" <mile@ietf.org>, "draft-ietf-mile-rolie.all@ietf.org" <draft-ietf-mile-rolie.all@ietf.org>
Thread-Topic: [mile] Artart last call review of draft-ietf-mile-rolie-10
Thread-Index: AQHTQLy6AlrnYGEzJkSW/mjw8rDt26Lra++AgAB9mgCAFejegIABI5oAgAO9KQCAMGTFUIAJq0AAgAEfsxA=
Date: Thu, 14 Dec 2017 14:32:55 +0000
Message-ID: <CY4PR09MB14958B4A0E57C69EE29D9CCBF00A0@CY4PR09MB1495.namprd09.prod.outlook.com>
References: <150752570618.18384.5615358468704377459@ietfa.amsl.com> <DM5PR09MB13070FC0B54EB6DB8C707EE7F0420@DM5PR09MB1307.namprd09.prod.outlook.com> <CABkgnnX5NVZgYtOWYMgD5yEOmdnk2GEZuyR2OLNDwbTO-BytAw@mail.gmail.com> <CABkgnnWhtGJG9Td4-9Rhv--F9pTCdnOAiRBtXL8hW8LJoOugkQ@mail.gmail.com> <MWHPR09MB11979FC6BD45C13589C99AA5F05D0@MWHPR09MB1197.namprd09.prod.outlook.com> <CABkgnnVucswghLsXi8h7tJC-gNhkPS6Ykdtb-dxv1MzKnquf9w@mail.gmail.com> <BN6PR09MB1491F1B7EB8E2262705BCBAAF0320@BN6PR09MB1491.namprd09.prod.outlook.com> <CABkgnnVufhudp-HWSA519kFAGjH0odTxCT2CyGYuiD6-XMpukg@mail.gmail.com>
In-Reply-To: <CABkgnnVufhudp-HWSA519kFAGjH0odTxCT2CyGYuiD6-XMpukg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=david.waltermire@nist.gov;
x-originating-ip: [129.6.224.58]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR09MB1190; 6:dUXp2etbGY52NbX0cRzhIZ6GXeuV5lLyCyRIexwQObQMkJ5NTXspcF4LGhARD/0XpBHQ5FsD6xknhFpkPO7BlZbX69XUpRJuqX7sCncwnoH9v4T0zqvrJmKQa51oixGJRJ1Kk9PHbnyenkDtsoHPOHVLeCP/FBE8ZUOvC5R9SJVZPmTYFqBz0KmlCkJ+X5oDKvE/fauowy35pnCzItIb4IBOuOLsy/bUMMZ1ohEt8lXodTd4GH6wcYJwdjxW1THGimBXoya57PR0DgPwTwiGrvuedPulO6KuadlHOFE6Xp6pknxkv2+TRZ6KvWzESjJV+5uFTL+kJmGf1PGc0H9guKzYUJP5K/aZ3gmvEBt54EY=; 5:VK4u8pICEQUU9ae2O3In80gyPszLBYadWGT5SVTJ3t2QP8vxdLdc1wHA7avBfkcSX7dLqwqtUF+2qdzH0NmgtetKIBnj55m1+OLrYgBArjiHCebzIK/wrSNdviPdeC+YXabGAdbg2ELnTGn43qlNlcFGA/Ta50l6wd6wtmCofn4=; 24:bWzTv0FRkZwlahaEHvVBy0jC3j4JHW9RU0AQVApfBdENeG6bDq95JbeLreBkUBblLiG6TWR5PODDXQWKEPOuZWIu1XWDBCLyAmzwtUtHjCA=; 7:AYpW/QjZaWEbB3WulSOS4ypulw5CGx+0wSkcuHFOZ/tCQWcm2OuJSSIcp+cYjcdW9AQecpZsTg4fhjT/FkxC+bsC9ZFh/8v6UMyYiVq3csB2EcL0K5YcVsVgBuKqhgZjzfS4CGeEZtJ3n46wZBGIRkfNiTA5Tq1YeqKMjdZ/JMOjYGHUxKyC9xjwF9QFc+HmtpNpak2IWXpMCZtP5Tz04KMZNLbv27hWgZ+8MxVE516nCpEXeMu/Ina/ZC/y34ZT
x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR;
x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10019020)(346002)(376002)(396003)(366004)(39860400002)(199004)(189003)(24454002)(39060400002)(3660700001)(99286004)(77096006)(7696005)(3280700002)(81156014)(81166006)(97736004)(76176011)(6436002)(4326008)(6246003)(55016002)(8676002)(53936002)(6116002)(2906002)(316002)(3846002)(54906003)(5660300001)(6916009)(86362001)(102836003)(229853002)(2950100002)(9686003)(230783001)(66066001)(7736002)(305945005)(93886005)(68736007)(478600001)(25786009)(105586002)(106356001)(74316002)(33656002)(6506007)(53546011)(14454004)(8936002)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR09MB1190; H:CY4PR09MB1495.namprd09.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 0ac31753-19f5-4f2f-2dbc-08d542ff9126
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307); SRVR:CY4PR09MB1190;
x-ms-traffictypediagnostic: CY4PR09MB1190:
x-microsoft-antispam-prvs: <CY4PR09MB1190870D7871D6AB8F5184C3F00A0@CY4PR09MB1190.namprd09.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(65766998875637)(100405760836317);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3231023)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148)(201708071742011); SRVR:CY4PR09MB1190; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR09MB1190;
x-forefront-prvs: 05214FD68E
received-spf: None (protection.outlook.com: nist.gov does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nist.gov
X-MS-Exchange-CrossTenant-Network-Message-Id: 0ac31753-19f5-4f2f-2dbc-08d542ff9126
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2017 14:32:56.0054 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR09MB1190
Archived-At: <https://mailarchive.ietf.org/arch/msg/mile/CUgjirRTlnnUoP28WVybeU3nJdw>
Subject: Re: [mile] Artart last call review of draft-ietf-mile-rolie-10
X-BeenThere: mile@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Managed Incident Lightweight Exchange, IODEF extensions and RID exchanges" <mile.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mile>, <mailto:mile-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mile/>
List-Post: <mailto:mile@ietf.org>
List-Help: <mailto:mile-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mile>, <mailto:mile-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Dec 2017 14:33:00 -0000

Martin,

> Apologies for delays; travel.

No worries. 

> On Wed, Dec 6, 2017 at 3:28 PM, Waltermire, David A. (Fed)
> <david.waltermire@nist.gov> wrote:
> > I agree that media types would be ideal here, but they are insufficient for what
> we are trying to accomplish in ROLIE. Let's use a ROLIE entry for an IODEF
> resource as an example. A notional example ROLIE entry might look like this:
> [...]
> > In the example, the <rolie:format> element informs the client that the content
> is IODEF v2 content, which can then be used by the client to make a decision to
> filter or download the content. The client may choose to filter if it doesn't
> support IODEF 2.0 as an example.
> 
> Why would defining "application/iodefv2+xml" be worse than this?  It's simpler.
> It fits with a bunch of other mechanisms.  A new, bespoke format that is more
> complex, yet still inadequate, is strictly worse in my opinion and experience.

I am agreeing with you that defining "application/iodefv2+xml" is better, but creating new media types for arbitrary formats is not the responsibility of ROLIE. The specifications for these things should be doing this. What we are providing through rolie:format is a way to address the less-than-ideal case of having no specific media type. The consensus of the WG was that this is needed.

In cases where a specific media type is provided, we could change the requirement making rolie:format optional. This would support the ideal case of using a media type without the rolie:format element and the less-than-ideal case of using something like "application/ xml" + rolie:format. We can work on some text if this sounds like a good compromise. Are you ok with this approach?

> > A primary reason in my mind is that we are looking for an approach that will
> map to JSON objects easily. We are working on new drafts for representing
> ROLIE feeds in JSON and CBOR. In such an approach, use of a URN-based
> property table (with indexes for CBOR) provides a path that can be more easily
> translated to JSON as compared to using ns+localname. We are willing to forego
> some constraints in the grammar to make JSON and CBOR an easier proposition
> for this application.
> 
> I'm not sure that I find this any more persuasive.  ns+localname is trivial to map
> to JSON provided you stick to simple types for values.

There are pros and cons on both sides of the argument. We have a good technical rationale for the text in the draft; we are willing to give up some validation to allow for a clearer path forward with JSON/CBOR. Can we agree to disagree and move forward on this one?

Thanks,
Dave