Re: [sfc] proof-of-transit: continue with both approaches, or choose one?

"Shwetha Bhandari (shwethab)" <shwethab@cisco.com> Wed, 06 February 2019 07:35 UTC

Return-Path: <shwethab@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 5B010126C7E for <sfc@ietfa.amsl.com>; Tue, 5 Feb 2019 23:35:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -19.053
X-Spam-Level:
X-Spam-Status: No, score=-19.053 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, 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
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 aL196f3UFBqa for <sfc@ietfa.amsl.com>; Tue, 5 Feb 2019 23:34:58 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E40112426E for <sfc@ietf.org>; Tue, 5 Feb 2019 23:34:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=34218; q=dns/txt; s=iport; t=1549438498; x=1550648098; h=from:to:cc:subject:date:message-id:mime-version; bh=IhMzQ0dENbnPvUbI+JIM6o/NyvXTXGkd+b4w8wMz+fc=; b=WcVgxb6GSpeGpzEti/SbAS0v9dPaaJVjdWVoynO1TY/eoPL94RVhXE19 K0eYGWtMpZt6gudGwqn80oxi94QqlpMc2w9FsSZ/SGc2XL+wmjQV7OLeJ 2Y7iCNOqdhrGKJ6RcgOaV126RXGInpXU0r1C9dNV5s8lpY98fU2BbcxsO s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AFAADBjFpc/5hdJa1lGgEBAQEBAgEBAQEHAgEBAQGBUQUBAQEBCwGBDXZngQMnCoN5iBqLdYINmA8UgWMECwEBGAEKhEkZgn0iNAkNAQMBAQIBAQJtHAELhUoBAQEDAQEBIQpBCwUNAQYCFQIWCwEGAwIEJQsUCQoEDgWDIgGBHVwID5B0m2GBL4QvAQMCAoYCBYsBgUIXgUA/gREnH4JMgx4BAQIBgRmBBIJKMYImApAXhwqLZgkChzWDY4coGZJMiiyFMowPAhEUgScfOIFWcBU7KgGCQYIoF4hfhT9BMY1bgR8BAQ
X-IronPort-AV: E=Sophos;i="5.58,339,1544486400"; d="scan'208,217";a="516540526"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2019 07:34:57 +0000
Received: from XCH-RCD-006.cisco.com (xch-rcd-006.cisco.com [173.37.102.16]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x167YvQj006796 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 6 Feb 2019 07:34:57 GMT
Received: from xch-aln-008.cisco.com (173.36.7.18) by XCH-RCD-006.cisco.com (173.37.102.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 6 Feb 2019 01:30:11 -0600
Received: from xch-aln-008.cisco.com ([173.36.7.18]) by XCH-ALN-008.cisco.com ([173.36.7.18]) with mapi id 15.00.1395.000; Wed, 6 Feb 2019 01:30:11 -0600
From: "Shwetha Bhandari (shwethab)" <shwethab@cisco.com>
To: "sfc@ietf.org" <sfc@ietf.org>
CC: "Frank Brockners (fbrockne)" <fbrockne@cisco.com>, "ao.ting@zte.com.cn" <ao.ting@zte.com.cn>, "jmh@joelhalpern.com" <jmh@joelhalpern.com>
Thread-Topic: [sfc] proof-of-transit: continue with both approaches, or choose one?
Thread-Index: AQHUve3Lk4VCtKb1h06TlQw6hN+tFg==
Date: Wed, 06 Feb 2019 07:30:11 +0000
Message-ID: <132127FF-2EBF-4C72-8BC6-BC5015960B00@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.5.181209
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.196.85.53]
Content-Type: multipart/alternative; boundary="_000_132127FF2EBF4C728BC6BC5015960B00ciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.37.102.16, xch-rcd-006.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/sfc/u1Ppfrywc2j4kan1nSYQvug80kw>
Subject: Re: [sfc] proof-of-transit: continue with both approaches, or choose one?
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: Wed, 06 Feb 2019 07:35:02 -0000

As a co-author and implementor of the SSSS approach, I would also prefer keeping it as the only approach for proof of transit and remove the nested encryption related text.

Thanks,
Shwetha


From: <ao.ting@zte.com.cn>
To: <jmh@joelhalpern.com>
Cc: <fbrockne@cisco.com>, <sfc@ietf.org>
Subject: Re: [sfc] =?utf-8?q?proof-of-transit=3A_continue_with_both_approache?= =?utf-8?q?s=2Cor_choose_one=3F?=





I agree with Joel. Since SSSS already has mechanism to provide ordered verification requirment, only this one approach is enough.



Regards.

敖婷 Ting Ao



原始邮件







发件人:JoelM.Halpern <jmh@joelhalpern.com><mailto:jmh@joelhalpern.com&gt>;

收件人:Frank Brockners (fbrockne) <fbrockne@cisco.com>;sfc@ietf.org <sfc@ietf.org><mailto:sfc@ietf.org&gt>;;

日 期 :2018年12月17日 04:53

主 题 :Re: [sfc] proof-of-transit: continue with both approaches,or choose one?





<no hats>

Personally, the argument for just using SSSS, given that it now can

provide ordered verification, seems quite persuasive to me.

Yours,

Joel

<hat floating back on slowly>



On 12/15/18 3:19 PM, Frank Brockners (fbrockne) wrote:

> During the SFC WG at IETF 103 in Bangkok we raised the question, whether

> we could simplify the draft and choose a single algorithm for

> proof-of-transit only (see also

> https://datatracker.ietf.org/meeting/103/materials/minutes-103-sfc-01).

> Given that we could not come to a conclusion, we decided to take the

> discussion to the list.

>

> Background:

>

> draft-ietf-sfc-proof-of-transit-01 describes two different approaches:

> “nested encryption” and “Shamir’s secret sharing scheme (SSSS)”... We

> documented both approaches in the initial version of the draft, because

> the two approaches had different qualities: While SSSS was

> computationally cheaper (each node only needs to perform two additions,

> a multiplication and a modulo-division), nested-encryption allowed to

> verify that packets traversed a set of nodes in a particular order

> (“ordered POT - OPOT”) – something that the SSSS-approach in the initial

> version of the draft did not offer. With the changes discussed in IETF

> 102 and now documented in draft-ietf-sfc-proof-of-transit-01, both

> approaches offer order preservation.

>

> In summary, we can now observe the following qualities of the two

> approaches:

>

>   * SSSS: Allows verification that a given set of nodes has been

>     traversed in a specific order (POT and OPOT). SSSS without order

>     preservation requires 2 additions, 1 multiplication, 1 division per

>     node participating in POT. Order preservation on top of that

>     requires an additional XOR (or similar).

>   * Nested-encryption: Allows verification that a given set of nodes has

>     been traversed in a specific order (POT and OPOT). The computational

>     effort of nested encryption depends on the crypto algorithm chosen

>     and typically higher than SSSS, i.e.. it requires/benefits from

>     hardware with specific capabilities (e.g. AES-NI).

>

> Question:

>

> Given that both approaches both solve the problem of POT and ordered

> POT, should we consider simplifying the draft and describe only a single

> approach? If so, which approach should we choose?

>

> I.e. when taking the computational effort into account and the fact that

> options increase the burden for any implementor, we could decide to only

> describe the SSSS approach in the draft.

>

> Thoughts? Opinions?

>

> Many thanks, Frank

>

>

>

> _______________________________________________

> sfc mailing list

> sfc@ietf.org<mailto:sfc@ietf.org>

> https://www.ietf.org/mailman/listinfo/sfc

>



_______________________________________________

sfc mailing list

sfc@ietf.org<mailto:sfc@ietf.org>

https://www.ietf.org/mailman/listinfo/sfc