Re: [spring] John Scudder's Discuss on draft-ietf-spring-segment-routing-policy-17: (with DISCUSS and COMMENT)
Ketan Talaulikar <ketant.ietf@gmail.com> Mon, 07 March 2022 06:20 UTC
Return-Path: <ketant.ietf@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71BBA3A0FAF; Sun, 6 Mar 2022 22:20:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 Isaw6Br4Y_ns; Sun, 6 Mar 2022 22:20:45 -0800 (PST)
Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) (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 69DE13A0E7E; Sun, 6 Mar 2022 22:20:45 -0800 (PST)
Received: by mail-vs1-xe34.google.com with SMTP id g21so15501628vsp.6; Sun, 06 Mar 2022 22:20:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/wXBDUZBsGysc3GBXGNq8oEmTGzH7QVmxFKPLqwypwQ=; b=lYvE1hXa7ytGdOAcV3pubWJRs8e44T8RJr9UY0jC5YclH3tst09HhKoLjF56qReLUG SFvBO+XqutvgDB2mkLNCy+WTULFJau8oliJlGAtGCkWD9V+lNwgfniX3vkp8+r3GvS81 J2QWqdrh0pRfB8iWx7Y01tkpg2PvkhGOAYZGMqhhuo3T+wrFjY8KmgVihwzTNzR1/hxO eChwiqxhvZTQJdCbO5UFavp4JNlCoA1GfxDpvdXgTBZmmtyUCH0T/yih+n3YDm3R3NYn r83MLZMAjEgPOvPQx7tvSEbpAqSo8JJtfSrPhI3mgede8wok8/vprSRyK0timdV5SnmL DVwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/wXBDUZBsGysc3GBXGNq8oEmTGzH7QVmxFKPLqwypwQ=; b=RI4cytFj6Q65DIiYf6iR6CgcQKaCBukvu63QmVubZxl+M8Wy+I2E/CskpufLPAEzXI 6sYACK+GOZRmwyhMM/V5TxVqwtut3ihnV/STa2o3mNCXUn+gDNxahHg5cUw8x3sM9mxV fbEjlSu6+WC20eUNCAyAibKfO05Zqcd3rEgAdiemhP9EbFWTOXmkUVqulkzr8sXy2/Eo msw7YPAwzD0qFmyLTnKbjOViUnSucNAys4Xd48yD7QBInVm9gq4sEn0ez4VVqQZRf6f9 5AuO0ih/CXOlUhhnbtGhIlvon6PqyOCtHdMUTPCIFF1tE4I03wvMfZa/e4BNdWjN0N73 0/YA==
X-Gm-Message-State: AOAM530/PCo9nuoBTx6Zppi2mI81xibIQIA5zSQJAHjYt6jEcjHkJozw 0YVAMeVv4ga+vDPeItPyf4DsOvgWz7er7f/tn9LxQxmWy40=
X-Google-Smtp-Source: ABdhPJz0TlJu2zVr2X3fj/MMnD4KDCA3DRjIp679wnpWrBwfR/i6Zbq8h76PbZ7AISRUFN3L/JM+Nm8s8f2kzt5Ro9Y=
X-Received: by 2002:a05:6102:3583:b0:320:b8d1:cf9f with SMTP id h3-20020a056102358300b00320b8d1cf9fmr1235771vsu.34.1646634043480; Sun, 06 Mar 2022 22:20:43 -0800 (PST)
MIME-Version: 1.0
References: <164503079307.9996.17286143339105134181@ietfa.amsl.com> <CAH6gdPzo+OAoHHQkJD82OdyO=rth8qPPAcco-8STjucnaXNsew@mail.gmail.com> <A7535E25-8DE8-4CBF-9C25-2F12A4692917@juniper.net>
In-Reply-To: <A7535E25-8DE8-4CBF-9C25-2F12A4692917@juniper.net>
From: Ketan Talaulikar <ketant.ietf@gmail.com>
Date: Mon, 07 Mar 2022 11:50:32 +0530
Message-ID: <CAH6gdPyQ4tEXk0zz=FbcL5mbtvcrdKaXYhZoa5i=NPiLqGBsCw@mail.gmail.com>
To: John Scudder <jgs@juniper.net>
Cc: "james.n.guichard@futurewei.com" <james.n.guichard@futurewei.com>, "draft-ietf-spring-segment-routing-policy@ietf.org" <draft-ietf-spring-segment-routing-policy@ietf.org>, SPRING WG <spring@ietf.org>, "spring-chairs@ietf.org" <spring-chairs@ietf.org>, The IESG <iesg@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003c9e8f05d99add8e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/oklKaFVEpPtd7gz33W_W_XfPY6Y>
Subject: Re: [spring] John Scudder's Discuss on draft-ietf-spring-segment-routing-policy-17: (with DISCUSS and COMMENT)
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Mar 2022 06:21:08 -0000
Hi John, We've just posted an update to the draft for the Color-Only steering modes and the allocation of bits from the BGP Color Extended community. https://datatracker.ietf.org/doc/html/draft-ietf-spring-segment-routing-policy-20 This is along the lines of your suggestions and the ongoing discussions on the IDR list for the draft-ietf-idr-segment-routing-te-policy : https://mailarchive.ietf.org/arch/msg/idr/3F2m4usa-uahnriF6fFh5F9wlQA/ Looking forward to your response on your discuss & comments on this document. Please let know of any outstanding discuss or comments that remain to be addressed in the document. Thanks, Ketan On Thu, Feb 17, 2022 at 1:12 AM John Scudder <jgs@juniper.net> wrote: > Hi Ketan, > > > On Feb 16, 2022, at 2:03 PM, Ketan Talaulikar <ketant.ietf@gmail.com> > wrote: > > > > Hi John, > > > > Thanks for your review and please check inline below for responses. > > Thanks for your reply. For this response I’m confining myself to points 3 > and 4. > > [snip] > > > 3. Related to the above, at least one of the references listed as > informational > > clearly has to be normative with the document as it stands. > > draft-ietf-idr-segment-routing-te-policy is the one I’m thinking of, for > > example its use in §2.4 seems like it may rise to the "normative" level, > §2.5 > > almost surely does, §4.1 surely does, and §8.8.1 is the icing on the cake > > because this document defines semantics for a field that isn’t even > allocated > > until and unless draft-ietf-idr-segment-routing-te-policy is published. > > > > KT> It is the other way round. The SPRING document specifies the > information model and the constructs of the SR Policy. The IDR document is > primarily about signaling of the SR Policy from a controller to the headend > using the new SR Policy SAFI (73) - as such it does refer normatively to > the SPRING SR Policy. > > Without getting too far into the details on this one, you just can’t write > a spec about a field (or set of flags) that doesn’t (don’t) exist. The way > you’ve structured these two documents, that field (I will call it a field) > doesn’t formally exist until and unless > draft-ietf-idr-segment-routing-te-policy is published. Therefore, > draft-ietf-spring-segment-routing-policy has a hard dependency on it, and > this is one thing that makes a reference “normative”. These would hardly be > the first two documents to normatively reference one another, it’s what the > RFC Editor uses clusters for (amongst other things). > > You could also resolve this particular issue by restructuring the > documents to make them more self-contained. If you do, then perhaps we > would need to revisit the other references to > draft-ietf-idr-segment-routing-te-policy in more detail — but until then it > wouldn’t be time well spent, as the §8.8.1 reference is sufficient to > cement the requirement. > > > 4. In §2.1 you talk about the signaling of symbolic names for candidate > paths. > > Although you are careful to say that such symbolic names are only used > for > > presentation purposes, it seems to me they still could be considered a > new > > potential source of vulnerability, since a string that has no > sanity-checking > > whatsoever applied by the protocol can display literally anything to an > > operator viewing it. Shouldn’t this be addressed in your Security > > Considerations? (For an example of a related Security Considerations, > see RFC > > 9003. It’s probably not the best example, but it’s the one I had at my > > fingertips…) > > > > KT> RFC9003 uses UTF-8 while this document uses printable ASCII. As > such, I am not aware of security issues around printable ASCII - please do > point me to any references. > > You’re thinking too much like a protocol designer. The kind of concern I’m > thinking about has to do with using the string as a vector to put some > words in front of an operator, as part of a larger social engineering > attempt. I don’t have a detailed attack scenario to paint for you, but a > quick sketch is along the lines of > > - Attacker manages to inject a candidate path with the name > “Big_Bank_Low_Latency” > - ProTip: the candidate path does not actually terminate at > Big_Bank > - Attacker then phones NOC, feigns urgency, asks NOC to redirect Big_Bank > traffic onto that path > > You get the idea, I hope. > > > Also note that this document does not specify protocol encodings where > some extra verbiage is normally required (e.g. that it is signaled without > NULL, handling truncation/overruns, etc.). > > But yet it does specify the precise character set to be used, and a > near-obsolescent one at that. Why is that? I mean, I don’t hate ASCII, but > I just find it odd and assume you actually have a reason for it, instead of > taking either the option of leaving the character set unspecified (as you > point out there are many such details you don’t concern yourself with in > this document) or if specifying it, using UTF-8 or similar. > > > KT> As discussed in the WG, we are sticking to printable ASCII. When the > encoding is specified to be printable ASCII, it is expected that > implementations valid that. > > I admire your optimism. > > —John
- [spring] John Scudder's Discuss on draft-ietf-spr… John Scudder via Datatracker
- Re: [spring] John Scudder's Discuss on draft-ietf… James Guichard
- Re: [spring] John Scudder's Discuss on draft-ietf… Ketan Talaulikar
- Re: [spring] John Scudder's Discuss on draft-ietf… John Scudder
- Re: [spring] John Scudder's Discuss on draft-ietf… Ketan Talaulikar
- Re: [spring] John Scudder's Discuss on draft-ietf… Ketan Talaulikar
- Re: [spring] John Scudder's Discuss on draft-ietf… John Scudder
- Re: [spring] John Scudder's Discuss on draft-ietf… John Scudder
- Re: [spring] John Scudder's Discuss on draft-ietf… Robert Raszuk
- Re: [spring] John Scudder's Discuss on draft-ietf… Ketan Talaulikar
- Re: [spring] John Scudder's Discuss on draft-ietf… John Scudder
- Re: [spring] John Scudder's Discuss on draft-ietf… Ketan Talaulikar
- Re: [spring] John Scudder's Discuss on draft-ietf… John Scudder
- Re: [spring] John Scudder's Discuss on draft-ietf… Ketan Talaulikar