Re: [lisp] Éric Vyncke's No Objection on draft-ietf-lisp-sec-26: (with COMMENT)

Luigi Iannone <ggx@gigix.net> Thu, 16 June 2022 07:34 UTC

Return-Path: <ggx@gigix.net>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28C4AC15AAFF for <lisp@ietfa.amsl.com>; Thu, 16 Jun 2022 00:34:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gigix-net.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vWidLYWy8LZp for <lisp@ietfa.amsl.com>; Thu, 16 Jun 2022 00:34:28 -0700 (PDT)
Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1AB86C15AAFC for <lisp@ietf.org>; Thu, 16 Jun 2022 00:34:28 -0700 (PDT)
Received: by mail-wm1-x335.google.com with SMTP id q15so281283wmj.2 for <lisp@ietf.org>; Thu, 16 Jun 2022 00:34:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20210112.gappssmtp.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=EZSxhH9urJkG3focb7Xn5AHDTPbSNTiqSRfByi97Jho=; b=Lb/cOTCJx6dbcKXg5uUItzny+8lWvmh60rZvzUr9Y86g0EHcKPUnelf+Lobhk9IQtZ DMhlcZyBfBJoha5NaURQHUk2jgN0FqXbmCqlWA2b36q2zXzmcgjqM6vgxeauPLJisMvk L7KObwi29wEgSLcMNZVZFxfoDrwpmRfyjPt50E1NPyloE0Sw2Klp4mzVOc07We5+m0I3 fe8dM17nYsISSfMb8SjIyeEIfcdbCSwcHkKNABASD3r6CZdPzcENq/0vLYQgGoSLqTcw 7jPYGr1bWz5rrMtheXRTObwYGLIYkG4CKcycWCSxjgMU5ZdSSm4zjmDm0pmcN2Ym4dQB gOtg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=EZSxhH9urJkG3focb7Xn5AHDTPbSNTiqSRfByi97Jho=; b=gry6GXRUdTgxrOZ6YOeEP3GuOVKZw2HRgZzK2073MGU92hpjZz+J+xVxKDLbgv4A70 PBVp7ePi8sIk0fq4aIV4EQCrxDvEDgTSfn9Br0909BKQEQGGO7Ft/JT8l1/UXiecys9i QbRF9jblZUf0xJMTsFmdOOJaay5edjbVsE0QPE13Lc7p0snnla3yyT1OVTlPp+iUnj1y aLO5hzYTeno5EM3o7RG+tp3dtNap8gUnW3n9wNza+DteeezBI7gsWhsxskoHvIuob3CK MsJRTPN32L2CI2LxEkyU85m4xIaLCX3cEjaxfPSP/25fCcH2YRb944q5rJFltJSy5XGa WZoA==
X-Gm-Message-State: AOAM530QwsqTlTATeu8KkHHJx/Q5tnxEuC9qsh8k1H/7QwrT2BeLwIRG 3VwMUy85B8riU6r1+Gowb36/DnHOnAHNcA==
X-Google-Smtp-Source: ABdhPJxNGhU40t9ROqj40ayOtIixXbanyjpQdkg3zjoo+kvCQbA7DmCHkAFaR3bteGi4mHs1tORYPA==
X-Received: by 2002:a1c:4682:0:b0:39c:4459:6a84 with SMTP id t124-20020a1c4682000000b0039c44596a84mr13897814wma.167.1655364866136; Thu, 16 Jun 2022 00:34:26 -0700 (PDT)
Received: from smtpclient.apple ([37.164.111.205]) by smtp.gmail.com with ESMTPSA id j11-20020a05600c190b00b0039c5328ad92sm5986732wmq.41.2022.06.16.00.34.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jun 2022 00:34:25 -0700 (PDT)
From: Luigi Iannone <ggx@gigix.net>
Message-Id: <46E8EF18-6B40-454F-95B2-D2AFB06E60F6@gigix.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_47525A77-3C0D-41FB-9BC2-ECC86FE1B3C1"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Date: Thu, 16 Jun 2022 09:34:23 +0200
In-Reply-To: <165531317633.9611.3239471181730489991@ietfa.amsl.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-lisp-sec@ietf.org, lisp-chairs@ietf.org, lisp@ietf.org
To: Éric Vyncke <evyncke@cisco.com>
References: <165531317633.9611.3239471181730489991@ietfa.amsl.com>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/I_rnH79Tx5SmAKKuwjzIfyMMJzo>
Subject: Re: [lisp] Éric Vyncke's No Objection on draft-ietf-lisp-sec-26: (with COMMENT)
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lisp/>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jun 2022 07:34:29 -0000

Hi Éric,

Thanks for your review.
Few answers inline.

> On 15 Jun 2022, at 19:12, Éric Vyncke via Datatracker <noreply@ietf.org> wrote:
> 
> Éric Vyncke has entered the following ballot position for
> draft-ietf-lisp-sec-26: No Objection
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
> for more information about how to handle DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-lisp-sec/
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> # Éric Vyncke, INT AD, review of # Éric Vyncke, INT AD, review of
> draft-ietf-lisp-sec-26 CC @evyncke
> 
> Thank you for the work put into this document.
> 
> Please find below some non-blocking COMMENT points (but replies would be
> appreciated even if only for my own education).
> 
> Special thanks to Luigi Iannone for the shepherd's detailed write-up including
> the WG consensus and the justification of the intended status.
> 
> I hope that this helps to improve the document,
> 
> Regards,
> 
> -éric
> 
> ## COMMENTS
> 
> ### Section 5, trusts relationships
> 
> This section mentions 'trust relationships', but do not explain how those are
> created ? A forward reference would be welcome (e.g., to section 7.5 but even
> this is rather weak).

More details are actually in 6833bis.
I think would be good to put both a forward reference and a direct reference to 6833bis (it is cited in section 7 but put also here does not harm). 


> ### Section 5, decrypting something that was not encrypted
> ```
>   1.  The ITR, upon needing to transmit a Map-Request message,
>       generates and stores an OTK (ITR-OTK).  This ITR-OTK is included
>       into the Encapsulated Control Message (ECM) that contains the
>       Map-Request sent to the Map-Resolver.

Good point the text is a bit unclear.
The ITR-OTK is always encrypted, either with a pre-shared key or by simply using DTLS to send the whole ECM message.
My Suggestion is to modify the first bullet as:

  1.  The ITR, upon needing to transmit a Map-Request message,
       generates and stores an OTK (ITR-OTK).  This ITR-OTK is included
       into the Encapsulated Control Message (ECM) that contains the
       Map-Request sent to the Map-Resolver, and encrypted.

The encryption is then already explained in Section 6.5.
Do you consider this sufficiently clear?



> ```
> 
> Based on the text following this bullet, should the ITR-OTK also be encrypted
> (as it is decrypted in step 2) ?
> 
> ### Section 7.5
> 
> Are the shared keys per ITR Map-resolver pair or are they shared by *ALL* ITR
> and the Map-resolver(s). It is probably the former as the latter would be a
> huge threat of impersonation among ITR. Should there be some text about this ?

Excellent point. To me was so obvious that is by pair that never thought in a different way.
I’ll ask the authors to clarify.


> 
> ### Performance impact of LISP-SEC
> 
> Did the authors have an estimate on the performance impact (crypto operations,
> increased size of the messages) of LISP-SEC? Should there be a section about
> this potential impact ?

I am unsure whether the authors have any performance measure.

Ciao

L.




> 
> ## Notes
> 
> This review is in the ["IETF Comments" Markdown format][ICMF], You can use the
> [`ietf-comments` tool][ICT] to automatically convert this review into
> individual GitHub issues.
> 
> [ICMF]: https://github.com/mnot/ietf-comments/blob/main/format.md
> [ICT]: https://github.com/mnot/ietf-comments
> 
> 
>