Re: [lisp] John Scudder's Discuss on draft-ietf-lisp-sec-26: (with DISCUSS)

Luigi Iannone <ggx@gigix.net> Wed, 15 June 2022 09:29 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 C3FBAC15BEC8 for <lisp@ietfa.amsl.com>; Wed, 15 Jun 2022 02:29:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 raXNnOvD4Bg5 for <lisp@ietfa.amsl.com>; Wed, 15 Jun 2022 02:29:11 -0700 (PDT)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 32454C14F721 for <lisp@ietf.org>; Wed, 15 Jun 2022 02:29:10 -0700 (PDT)
Received: by mail-wm1-x336.google.com with SMTP id x6-20020a1c7c06000000b003972dfca96cso776348wmc.4 for <lisp@ietf.org>; Wed, 15 Jun 2022 02:29:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gigix-net.20210112.gappssmtp.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qpER42+hIwO9BqA3FCwAeNJwonP3AnDdMDROcMGdDf0=; b=BnlW3UZDHEM7PtTsqw/9Ts7mMuJqIvsNcZXmGhg18mtl53PVhj6VygxRHNbGMjU9Wi Xie0nH9/YEto9JBCxTRF7Fdrgjqszwrjgvyjzj0IdIjpPOltAG6RictNt6VmVh3YbFFM X3A7CwflKp1EBdB332FlmsHTdUqVXcZNnDdn0C9HHIpYA3PnaQuZ/5rRV3/wpvVNiyJq KVk2T6hIlDyuLwy0c9I8IxL0ouxzYD7F3dCu2FhaMq0NYspIH4kx8yV9O1fjpDikBF7h 1Eb8TQLtdNrhPMn3Ran65acoi9RyV9qmApvW7caRHcWSyjzUDEkdxw55FS9NwdSqpk6v I/Pw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qpER42+hIwO9BqA3FCwAeNJwonP3AnDdMDROcMGdDf0=; b=ls0XzStRRp6MsGWfagrkLZ6egLtEFStMQiSx05Em1sgwfeFoMRveuj1vVmVv8zIKj/ XG3bmk4oJkf4nlob3Sr5MHjgtfALelJqUFvPD1cnFDBtybtKRoBcsJ2GpHfk740E+XxA LUCSkyWR4o4gq2F8gCI215ZFJXKen6uZnx5BgtLw/o6SzgyOdLiXXkmprhgF2KQGYOQa GmFo5Megqi5bKDa3UiqfZMFjnMKAnEEpBZC/gt0OzJuVppp/xvQMZQD3TlS/uJkhdPwG sX+cgiv68DsDB3wjM87X7tG5vPuLeOjZMdK5pERX4ttih4+vgqT+3mx2a1+csaiGWwWR ACaA==
X-Gm-Message-State: AOAM531UkVgBt8TKJJpjXKwryYL1wWHwhBNVUNGgdKuE8WbwrBKInv5R vEupLxmkjkWi39qf9DwLUkxCmw==
X-Google-Smtp-Source: ABdhPJw+x0/UxNILeXGVDuHvJfWS5nLfG1Ydg1lkKxBu2M+6vzjt/eBx84idoYEIEfoJ24KYF7sX4Q==
X-Received: by 2002:a05:600c:1906:b0:39c:7f82:3090 with SMTP id j6-20020a05600c190600b0039c7f823090mr8786049wmq.152.1655285349246; Wed, 15 Jun 2022 02:29:09 -0700 (PDT)
Received: from smtpclient.apple ([37.166.130.98]) by smtp.gmail.com with ESMTPSA id m15-20020a05600c4f4f00b0039748be12dbsm1848795wmq.47.2022.06.15.02.29.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jun 2022 02:29:08 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Luigi Iannone <ggx@gigix.net>
In-Reply-To: <165525946025.9886.1713011288499892827@ietfa.amsl.com>
Date: Wed, 15 Jun 2022 11:29:07 +0200
Cc: The IESG <iesg@ietf.org>, draft-ietf-lisp-sec@ietf.org, lisp-chairs@ietf.org, lisp@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <94A5FB19-1DD3-4122-B96D-8CD020136D67@gigix.net>
References: <165525946025.9886.1713011288499892827@ietfa.amsl.com>
To: John Scudder <jgs@juniper.net>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/CMc5cubBWj5dsq-Rz2eaXoJhfY0>
Subject: Re: [lisp] John Scudder's Discuss on draft-ietf-lisp-sec-26: (with DISCUSS)
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: Wed, 15 Jun 2022 09:29:11 -0000

Hi John,

AFAICT the reason is very simple, LISP-SEC has been designed to secure existing LISP control plane messages, not to add new messages.
So it is able to protect the Map-Request and Map-Reply messages flowing around but it never generates any LISP-SEC specific message.
The action you are suggesting at the end of your discuss needs a new message, which is not inline with the design decision taken for this draft.
Yes, it is a non optimal solution from a resource perspective, but has the advantage to be very neat considering that you are just protecting the LISP control plane, not modifying it. 

Ciao

L.


> On 15 Jun 2022, at 04:17, John Scudder via Datatracker <noreply@ietf.org> wrote:
> 
> John Scudder has entered the following ballot position for
> draft-ietf-lisp-sec-26: Discuss
> 
> 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/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> I generally found this a well-written and pleasant to read document. I do have
> some additional comments on it and tomorrow I'll update the comments section of
> my ballot to reflect them, but wanted to post the DISCUSS portion tonight.
> 
> I would like to understand the motivation behind what seems to me to be a
> curious inconsistency.
> 
> On the one hand, §6.7 and §6.7.1 mention that
> 
>   While processing the Map-Request, the Map-Server can overwrite the
>   KDF ID field if it does not support the KDF ID recommended by the
>   ITR.
> 
> and similar for the HMAC ID. They then go on to detail all the other work the
> Map-Server does to create a well-formed Map-Reply (if replying directly) or
> Map-Request (if sending the message to an ETR to take action). This seemed
> fine, until I got to §6.9, which told me that after the Map-Server (and often,
> ETR) went to all that work to create those messages...
> 
>                      If the KDF ID in the Map-Reply does not match the
>   KDF ID requested in the Map-Request, the ITR MUST discard the Map-
>   Reply
> 
> and similar for the HMAC ID.
> 
> Why did you tell the Map-Server to spend cycles and bandwidth doing the work to
> produce a fully-formed Map-Reply in this case where you know the ITR is just
> going to discard the result? Why doesn't the Map-Server simply send a
> bare-bones "I don't support your algorithm, here's the one I do like" message?
> 
> 
> 
> 
>