Re: [Ippm-ioam-ix-dt] IOAM DEX: Suggested Text to Address Security Concerns
Greg Mirsky <gregimirsky@gmail.com> Wed, 07 April 2021 02:39 UTC
Return-Path: <gregimirsky@gmail.com>
X-Original-To: ippm-ioam-ix-dt@ietfa.amsl.com
Delivered-To: ippm-ioam-ix-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93D223A3B55 for <ippm-ioam-ix-dt@ietfa.amsl.com>; Tue, 6 Apr 2021 19:39:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 opSnCVW9hISq for <ippm-ioam-ix-dt@ietfa.amsl.com>; Tue, 6 Apr 2021 19:39:49 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0003E3A3B53 for <ippm-ioam-ix-dt@ietf.org>; Tue, 6 Apr 2021 19:39:48 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id d13so25987815lfg.7 for <ippm-ioam-ix-dt@ietf.org>; Tue, 06 Apr 2021 19:39:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A0ZaaaMXxdqj/gq0JCNXBOEdY7zsKAVyVzfqhI822n0=; b=dWYAQqo07WArLjf9luETUv1btq+N3dVb3towPM3SLZV8ArrTGNiVs24i7YID8+K+1P /Ej1Z3Ach0GqgwGUONWmd+PIpl1QcOnMigZcWs46n2AbHEgYIAixJZ1CBA9kHWhYZOaX rdowKE5DvrlZLY+KT4sPnlaZaNzjMq80cO3p5QojzadabI+1erygF3HA0mwud2qiFJ3/ Ud+sXshMBTLHDP5s8hzp54Xq7QOXPLk1B+vtYKOMGUWgl26eozQLdtcgIHJI+iYswmHt W2aPXYH21aG2l4gazRe+LSasSsqsXgLmjaBLTZ8CDpu18O79V4ZRKvTT50yjNojzrXFj 9iBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A0ZaaaMXxdqj/gq0JCNXBOEdY7zsKAVyVzfqhI822n0=; b=FtQ2hw0LILvknCS9om81eJ3jxFsCXM0xi2SUWyFlrQS+ZmV19zRi0j1+7/wXvB9TqE swGl0Q9vM4yzD85g9hsHvAjXmo96osUbfvhyRpXbzhb+ANr+acG/taaC07Rt4Boa6yA2 Lm6x1uLu5vUCF/Zb3PBZPfyFlp/U0GWark2sKjPKkbrL4T3n1SSndrrFSIYiPCPNk1MH 7AxzKaGn/vOKHFqoGTn735JEwYmjxe+JfL1JHYsr3eW7bFe5Z/KN6d/+cdVeF/c/sW19 aG+Pf7mIhsggFEvCAhtWOF1vVct3cVWUBE98evSguySvyGN64N4HAWRF/a1IAc0N11Wk c5pg==
X-Gm-Message-State: AOAM530L617Ul4XYKfuhNMEyQsQMmz3B7UHd4Ed23V1BivVC+A8z+2SF WtNU4XGa6FJY7elENEoqsNjSpRZ0VDIkuqF6JcU=
X-Google-Smtp-Source: ABdhPJygQ8wyCrY9tgFdI2R1HThKzMn7q20MyGhg4KGt7eVtDJeGFXBweg+GbzFPPqVbQ/C/KJadhoBTfcIzK4lSTbQ=
X-Received: by 2002:ac2:5211:: with SMTP id a17mr863239lfl.192.1617763186059; Tue, 06 Apr 2021 19:39:46 -0700 (PDT)
MIME-Version: 1.0
References: <CABUE3XnzwsU4f0N_waqHONBrfUor_RCr=r_Ls97Bpbgb1BiwXQ@mail.gmail.com>
In-Reply-To: <CABUE3XnzwsU4f0N_waqHONBrfUor_RCr=r_Ls97Bpbgb1BiwXQ@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Tue, 06 Apr 2021 19:39:34 -0700
Message-ID: <CA+RyBmXzYCvjYNbJ3mXxNxqTWTUHsZzUKcUZBdZ1qJs8GK4LtA@mail.gmail.com>
To: Tal Mizrahi <tal.mizrahi.phd@gmail.com>
Cc: ippm-ioam-ix-dt@ietf.org
Content-Type: multipart/alternative; boundary="000000000000092ad805bf58d877"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm-ioam-ix-dt/9cfYy4PJ7hPtEv1yAReRFrE86z0>
Subject: Re: [Ippm-ioam-ix-dt] IOAM DEX: Suggested Text to Address Security Concerns
X-BeenThere: ippm-ioam-ix-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPPM iOAM Immediate Export \(IX\) design team" <ippm-ioam-ix-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm-ioam-ix-dt>, <mailto:ippm-ioam-ix-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm-ioam-ix-dt/>
List-Post: <mailto:ippm-ioam-ix-dt@ietf.org>
List-Help: <mailto:ippm-ioam-ix-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm-ioam-ix-dt>, <mailto:ippm-ioam-ix-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Apr 2021 02:39:52 -0000
Hi Tal, thank you for preparing and sharing the updated text. I have several comments to the proposed new text. Please kindly find them in-lined below under the GIM>> tag. Regards, Greg On Mon, Apr 5, 2021 at 6:26 AM Tal Mizrahi <tal.mizrahi.phd@gmail.com> wrote: > Hi, > > In response to the security concerns that were raised in IETF 110, I > would like to propose the text edits below. I am raising this for > discussion before I actually update the document. > > Comments will be welcomed. > > Thanks, > Tal. > > OLD: > <t>As in <xref target="I-D.ietf-ippm-ioam-data"/>, the DEX option > may be incorporated into all or a subset of the traffic that is > forwarded by the encapsulating node. Moreover, IOAM nodes MAY > export data for all traversing packets that carry the DEX > option, or MAY selectively export data only for a subset of these > packets.</t> > > NEW: > <t>As in <xref target="I-D.ietf-ippm-ioam-data"/>, the DEX option > can be incorporated into all or a subset of the traffic that is > GIM>> I agree that DEX, like any other IOAM Trace-Option, can be applied "into all or a subset of the traffic". By stressing that for the DEX, would the document leave outside other IAOM Trace Options? > forwarded by the encapsulating node, as further discussed in > <xref target="SelectionSec"/> below. Moreover, IOAM nodes either > export data for all traversing packets that carry the DEX > option, or selectively export data only for a subset of these > packets, as further discussed in <xref target="ExportSec"/> below.</t> > GIM>> I think that the input from the discussion at IETF-110 was that an intermediate IOAM node MUST control the rate of exported packets with IOAM telemetry information. If my understanding is correct, shouldn't the new text express that? > > > OLD: > > NEW: > > <section anchor="SelectionSec" title="DEX Packet Selection"> > > <t>If an IOAM encapsulating node incorporates the DEX option into all > the traffic it forwards it may lead to an excessive amount of exported > data, which may overload the network and the receiving entity. > GIM>> I think that this is technically accurate for not only DEX but IOAM in general as a hybrid measurement method. Would you agree? In fact, the impact of using DEX could be mitigated by using lower CoS when exporting IOAM telemetry information. > Therefore, IOAM nodes SHOULD incorporate the DEX option selectively > into a subset of the packets that are forwarded through them.</t> > > <t>Various methods of packet selection or sampling have been previously > defined, such as <xref target="RFC7014"/> or <xref target="RFC5475"/>. > Similar techniques can be applied by an IOAM encapsulating node to > apply DEX to a subset of the forwarded traffic.</t> > > <t>The subset of traffic that is forwarded or transmitted with a DEX > option SHOULD not exceed 1/N of the interface capacity on any of > the IOAM encapsulating node's interface. It is noted that this > requirement applies to the total traffic that incorporates a DEX option, > including traffic that is forwarded by the IOAM encapsulating node and > probe packets that are generated by the IOAM encapsulating node. > In this context N is a parameter that MAY be configurable by network > operators. If M is an upper bound on the number of > IOAM transit nodes in any path in the network, then it is RECOMMENDED > to use an N such that N >> M. If there is no prior knowledge about > the network topology or size, it is RECOMMENDED to use N>100.</t> > GIM>> I agree with the proposed text. I think that it should be part of draft-ietf-ippm-ioam-data and the DEX will just inherit it. What do you think? > </section> > > > OLD: > <t>The DEX option specifies which data fields should be exported, > as specified in <xref target="OptionSec"/>. > The format and encapsulation of the packet that contains the exported > data is not within the scope of the current document. For example, > the export format can be based on > <xref target="I-D.spiegel-ippm-ioam-rawexport"/>.</t> > > NEW: > > <section anchor="ExportSec" title="Exporting"> > > <t>The DEX option specifies which data fields should be exported, > as specified in <xref target="OptionSec"/>. > The format and encapsulation of the packet that contains the exported > data is not within the scope of the current document. For example, > the export format can be based on > <xref target="I-D.spiegel-ippm-ioam-rawexport"/>.</t> > > <t>An IOAM node that performs DEX exporting MUST send the exported data > to a pre-configured trusted receiving entity.</t> > GIM>> This requirement might be too restrictive. An exporting node and the collector could use methods to protect the privacy and integrity of the IOAM information. Exporting to a trusted system could be one of several solutions. The text could mention it as an example. The requirement is to protect the privacy and integrity of IOAM data. > > <t>An IOAM node that performs DEX exporting SHOULD limit the rate of the > exported packets so that it does not exceed 1/N of the interface capacity > on any of the IOAM node's interfaces. As in the previous section, it > is RECOMMENDED to use N>100.</t> > GIM>> I think that the support of a rate-limiting mechanism is a requirement rather than a recommendation. > > <t>Exported packets SHOULD not be exported over a path or a tunnel that is > subject to IOAM direct exporting. This requirement is intended to prevent > nested exporting and/or exporting loops.</t> > GIM>> I think that this recommendation is based on the assumption that exported traffic uses the same resource as data. Besides, I couldn't find the definition of "IOAM direct exporting". Will much appreciate it if you can refer me to where it is defined. > </section> > > -- > Ippm-ioam-ix-dt mailing list > Ippm-ioam-ix-dt@ietf.org > https://www.ietf.org/mailman/listinfo/ippm-ioam-ix-dt >