Re: [sfc] Editorial issues in draft-ietf-sfc-proof-of-transit

"Frank Brockners (fbrockne)" <fbrockne@cisco.com> Sun, 10 March 2019 14:07 UTC

Return-Path: <fbrockne@cisco.com>
X-Original-To: sfc@ietfa.amsl.com
Delivered-To: sfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A63D2124B0C; Sun, 10 Mar 2019 07:07:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=F4Mr/UfR; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Dhbkhs79
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 NUqhcR-CgiMf; Sun, 10 Mar 2019 07:07:10 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0486F12787D; Sun, 10 Mar 2019 07:07:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=31274; q=dns/txt; s=iport; t=1552226830; x=1553436430; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ZkB7ca021oGfqWKyng/pHOlVbnTceMB34lHwlKToGqo=; b=F4Mr/UfRJ342e+9ZJ4SpilZQ/XJpKRiGUt7+qmyC8YKGzKGWQZvCp2lW g0dU5ifJ2dLacWB9+dCzK2tyCYpjVn2SYJcCg8kqhbxKZMX2ne1YK+yw+ pOS2bNBQSPHt+8HyaEbNB7+kwwUe0AdXaiEnavWAVZTe3GgQpezOo7To0 w=;
IronPort-PHdr: 9a23:YitJOx8eIijp+v9uRHGN82YQeigqvan1NQcJ650hzqhDabmn44+8ZR7E/fs4iljPUM2b8P9Ch+fM+4HYEW0bqdfk0jgZdYBUERoMiMEYhQslVcCPE0rwL/jnRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AHAAAzGYVc/5pdJa1jGgEBAQEBAgEBAQEHAgEBAQGBUgQBAQEBCwGBDS8pJwNodAQLJwqDf4NHA480gleJMY51gSQDVAsBASUHhEACF4QeIjUIDQEBAwEBBwEDAm0cDIVKAQEBBCMKEwEBNwEPAgEGAhEEAQEhBwMCAgIfERQJCAIEAQ0FCBODCIERTAMVAQ6SPpBfAooUcYEvgngBAQWBMQGDRw0LggwDBYEvAYssF4FAP4ERRoJMgldHAgIBgWArCYJUMYImiguCQoQIhyqLcjMJAodPg3yEAYNXgXmFZoJEiReKeIVlgTGLMQIEAgQFAg4BAQWBSAE2KIEucBWDJ4IKgSMBCIJChRQchSNyAYEnjj4BgR4BAQ
X-IronPort-AV: E=Sophos;i="5.58,464,1544486400"; d="scan'208,217";a="243879441"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2019 14:07:08 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id x2AE78DH026285 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 10 Mar 2019 14:07:08 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 10 Mar 2019 09:07:07 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 10 Mar 2019 10:07:06 -0400
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 10 Mar 2019 09:07:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector1-cisco-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZkB7ca021oGfqWKyng/pHOlVbnTceMB34lHwlKToGqo=; b=Dhbkhs799bh3DAtC863vPjJvS+RgFuiAg15sqjuk5YQQpJVoL02YqOOQvW+Zl01XAxVH5XcoaG48RNrf4eyzDqGDV+zErXSKpuo4Z8c7KEeffCU1PGeNfcFYnNPMKDR5iD+8dJ4pJCdV1A+L1uid1xpg0bbVQsvjLwOdExPqw00=
Received: from CY4PR11MB1335.namprd11.prod.outlook.com (10.169.252.143) by CY4PR11MB1910.namprd11.prod.outlook.com (10.175.81.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Sun, 10 Mar 2019 14:07:05 +0000
Received: from CY4PR11MB1335.namprd11.prod.outlook.com ([fe80::1b2:a8de:1872:456c]) by CY4PR11MB1335.namprd11.prod.outlook.com ([fe80::1b2:a8de:1872:456c%4]) with mapi id 15.20.1686.019; Sun, 10 Mar 2019 14:07:05 +0000
From: "Frank Brockners (fbrockne)" <fbrockne@cisco.com>
To: Tal Mizrahi <tal.mizrahi.phd@gmail.com>, IETF IPPM WG <ippm@ietf.org>
CC: "Shwetha Bhandari (shwethab)" <shwethab@cisco.com>, "sfc@ietf.org" <sfc@ietf.org>
Thread-Topic: Editorial issues in draft-ietf-sfc-proof-of-transit
Thread-Index: AQHU1ACpLmx/fPSAE0Wp9tM67vgVRaX+3ViwgAYOi8A=
Date: Sun, 10 Mar 2019 14:07:04 +0000
Message-ID: <CY4PR11MB1335B8DF86B8F800AEE2763FDA4F0@CY4PR11MB1335.namprd11.prod.outlook.com>
References: <CABUE3Xn+Swa3mvQ4qseEm4hoHMAoxTiigvkRg8O=4-0ZYSi8Qg@mail.gmail.com> <CY4PR11MB1335EC49293765A4A40C9A5EDA730@CY4PR11MB1335.namprd11.prod.outlook.com>
In-Reply-To: <CY4PR11MB1335EC49293765A4A40C9A5EDA730@CY4PR11MB1335.namprd11.prod.outlook.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=fbrockne@cisco.com;
x-originating-ip: [173.38.220.60]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ebd7b926-2d62-4f63-cd05-08d6a561ace4
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:CY4PR11MB1910;
x-ms-traffictypediagnostic: CY4PR11MB1910:
x-ms-exchange-purlcount: 2
x-microsoft-exchange-diagnostics: 1;CY4PR11MB1910;23:n4iTJj1kXbg+sPj1aHBmwRUIf2Wwk0lphCAMZBfb/5faM3Whp/ZgYcpGn2KRlnQH7+y52dB4mFef90PKoHX2wR4mAZ/LlBA1313Km+E6p0lhotyZKoV8Wh1HvzDY6SAWg8AKYFR4N6xk5MC98XCfhudtWOD4gfWB3F1MgImQjMzT3gD3HgJ8K/2+pRr13d+w0yaR/UlKOgHgXmRVHvUlygHm87Ou7JIcrUWOT1BF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Up7S/rQto4JD8pHMqMXGuzh8Q+jP1EeLantxoBBKFJx1ugN7C1WXNyqJJEYTYTC5z1ksizSYrmyHkYxOSHfp+tv2IpbrN
x-microsoft-antispam-prvs: <CY4PR11MB191005CE8C40EDB9DCE32B97DA4F0@CY4PR11MB1910.namprd11.prod.outlook.com>
x-forefront-prvs: 0972DEC1D9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(366004)(39860400002)(346002)(396003)(51914003)(189003)(199004)(2906002)(4326008)(54906003)(316002)(110136005)(6116002)(3846002)(74316002)(81166006)(81156014)(6246003)(7736002)(8936002)(8676002)(790700001)(478600001)(106356001)(105586002)(6436002)(53936002)(236005)(9686003)(54896002)(6306002)(229853002)(55016002)(33656002)(966005)(14454004)(606006)(86362001)(102836004)(5660300002)(6506007)(97736004)(76176011)(256004)(66066001)(53546011)(68736007)(14444005)(52536013)(486006)(66574012)(11346002)(446003)(9326002)(476003)(186003)(26005)(71190400001)(99286004)(25786009)(71200400001)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR11MB1910; H:CY4PR11MB1335.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: SWZ5gaM/+T+J3k3+Fx4spP3fRmoP/5XZaxt2WfDjhYvN8rKnnJWp4rVlOFXIUZme7O2aOnUt85+YZZ+a9J6xYiQ28GEyrqSXfHkWg+9K7I6Z4UgZ2gc+OR+/jJMII/tCNt9OiKD/85izHnZAvjNTqB6KfqYYxhljqhFkeYltsmhuEOiEI2Rfawi0okbk2uL46a73J/huUg3NykGViNCQ1TJmhNpJUuNlIa8lb1rBYJN8G5883z7pTCsYZWPIljGTsyQkXtYiYemF94pY9/s4/o9eF+Mf7si15GYLh9uee5Ebp4KU1CBXKW5DjQgVOlkR4TDQlj4ZUM33nIQ1mv19X5u9FHE0M3oqZr92uqJJKtlsOTrCDwKhXr7fxt5spizYyxgwnWrdQUGWgr4Jaqk86h+2enGuEpB3+N16QiljzGg=
Content-Type: multipart/alternative; boundary="_000_CY4PR11MB1335B8DF86B8F800AEE2763FDA4F0CY4PR11MB1335namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: ebd7b926-2d62-4f63-cd05-08d6a561ace4
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2019 14:07:04.8708 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1910
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com
X-Outbound-Node: rcdn-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/sfc/Ba0mzwsnn2BixUJesskXGviy3Z8>
Subject: Re: [sfc] Editorial issues in draft-ietf-sfc-proof-of-transit
X-BeenThere: sfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Service Chaining <sfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sfc>, <mailto:sfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sfc/>
List-Post: <mailto:sfc@ietf.org>
List-Help: <mailto:sfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sfc>, <mailto:sfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Mar 2019 14:07:13 -0000

Hi Tal,

FYI – I’ve created a pull request with a set of proposed changes on the IOAM github to reflect your comments:
https://github.com/inband-oam/ietf/pull/122. If you could give it a quick review, that would be nice.

(cc’ing SFC WG as well)

Thanks, Frank

From: Frank Brockners (fbrockne)
Sent: Mittwoch, 6. März 2019 20:36
To: Tal Mizrahi <tal.mizrahi.phd@gmail.com>; IETF IPPM WG <ippm@ietf.org>
Cc: Shwetha Bhandari (shwethab) <shwethab@cisco.com>
Subject: RE: Editorial issues in draft-ietf-sfc-proof-of-transit

Hi Tal,

Thanks for the comments – they should be addressable before the deadline :-). Several of the “range of possible values” are answered by the YANG model in section 5.2 – but to your point, it does make sense to have a set of references in the main body to the YANG model.

Please see inline (prefix “..FB”).

From: Tal Mizrahi <tal.mizrahi.phd@gmail.com<mailto:tal.mizrahi.phd@gmail.com>>
Sent: Mittwoch, 6. März 2019 10:40
To: IETF IPPM WG <ippm@ietf.org<mailto:ippm@ietf.org>>
Cc: Frank Brockners (fbrockne) <fbrockne@cisco.com<mailto:fbrockne@cisco.com>>; Shwetha Bhandari (shwethab) <shwethab@cisco.com<mailto:shwethab@cisco.com>>
Subject: Editorial issues in draft-ietf-sfc-proof-of-transit

Hi,

As a co-author: we are currently reviewing the draft before submitting an updated version, and a few issues / questions came up during the review. These issues will require some clarification in the next version of the draft (mostly in Section 3). Hopefully to be addressed in the upcoming version or in the next one.

· Polynomial coefficients - What is the range of possible values?
…FB: It could be anything – but as we use the yang model to define the specifics, those are uint64.
· Points on the polynomial - what is the range of possible values of "x"?
…FB: Similar to the above – we’d do the math with uint64 values.
· "polynomial (POLY-1) of degree k" <==> k+1 nodes along the path?
…FB: Yes. A polynomial of degree k is defined by k+1 points.
· "The constant coefficient of POLY-1 is considered the SECRET." - what about the rest of the coefficients?
…FB: This is per SSSS – where the constant coefficient is the secret. See https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing#Shamir's_secret-sharing_scheme. We don’t do anything with the other coefficients.
· "Generates a random number (RND)" - what is the range of this value?
…FB: Again – the yang model answers those specific operational questions – unit64.
· "Each node calculates (Share(POLY-1) + Share(POLY-2)) and CML is updated with this sum." - Not detailed enough. This section is the heart of the algorithm for transit nodes.
…FB: What other details do you expect? The toy example takes you in detail through the math using an example.
· "Prime = 53" - the prime is only described in the example, and not described in the "Basic Idea" section. Is it different per path, what is the range of prime numbers?
…FB: Section 3.2 explains that “The solution leverages finite field arithmetic in a field of size "prime number".” – i.e. everything is computed “modulo prime”. We can emphasize this again in the later sections.
· "Enhanced Version" - the example is broken down into a basic version and enhanced version, but the actual algorithm does not include a basic version. I suggest to merge the two subsections of the example.
…FB: Section 3.1 discusses the basic idea – which corresponds to the basic example. We can probably make this more explicit – or use better titles for the subsections in section 3.3. There is no point in spelling out the “basic algorithm” because it isn’t operationally feasible, as discussed in section 3.1.
· Is OPOT optional, or part of the POT? It is not clear in the current document structure.
…FB: Current the doc says that “ "Ordered Proof of Transit (OPOT)" addresses the need of deployments, that require to verify the order in which nodes were traversed.” – this means that you don’t have to use OPOT unless you want to preserve ordering – which means it is optional.
· "a proper refresh rate for masks, at least as high as the one used for LPCs" - this implies that LPCs are refreshed - need to add text about refreshing LPCs / polynomials.
…FB: LPC refresh (along with other parameters) is part of the yang model. We can add a note about parameter refresh.
· Refreshing of masks / polynomials - there needs to be a discussion about how this can be done atomically (that is, without packets being inconsistently treated along the path slightly before/after the refresh operation).
…FB: Section 5.1 currently states:
All nodes maintain two POT-profiles (an even and an odd POT-profile): One POT-profile is currently active and in use; one profile is standby and about to get used.  A flag in the packet is indicating whether the odd or even POT-profile is to be used by a node.
What we can do is add a sentence that you’d of course refresh the inactive profile.
· Section 3.3 "Illustrative Example" - throughout the example we need to explicitly say "this is done by the controller" / "this is done by the verifier" / "this is done by the transit node". Not clear right now.
…FB: Thanks. We can add some verbiage around those.
Thanks again for the comments.
Cheers, Frank


Cheers,
Tal.