[Detnet] Benjamin Kaduk's No Objection on draft-ietf-detnet-ip-06: (with COMMENT)
Benjamin Kaduk via Datatracker <noreply@ietf.org> Wed, 24 June 2020 16:39 UTC
Return-Path: <noreply@ietf.org>
X-Original-To: detnet@ietf.org
Delivered-To: detnet@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C5A73A1036; Wed, 24 Jun 2020 09:39:50 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Benjamin Kaduk via Datatracker <noreply@ietf.org>
To: The IESG <iesg@ietf.org>
Cc: draft-ietf-detnet-ip@ietf.org, detnet-chairs@ietf.org, detnet@ietf.org, Ethan Grossman <eagros@dolby.com>, eagros@dolby.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.4.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Benjamin Kaduk <kaduk@mit.edu>
Message-ID: <159301678986.2590.8134865738524436704@ietfa.amsl.com>
Date: Wed, 24 Jun 2020 09:39:49 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/95LGikACCiqjNpgmq6xBz2YyTsc>
Subject: [Detnet] Benjamin Kaduk's No Objection on draft-ietf-detnet-ip-06: (with COMMENT)
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jun 2020 16:39:50 -0000
Benjamin Kaduk has entered the following ballot position for draft-ietf-detnet-ip-06: 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/iesg/statement/discuss-criteria.html for more information about IESG DISCUSS and COMMENT positions. The document, along with other ballot positions, can be found here: https://datatracker.ietf.org/doc/draft-ietf-detnet-ip/ ---------------------------------------------------------------------- COMMENT: ---------------------------------------------------------------------- The other ADs caught a bunch of editorial stuff that I'll try to not duplicate, though I do list a bunch of editorial stuff as well. Section 1 and routers that provide DetNet service to IP encapsulated data. No DetNet-specific encapsulation is defined to support IP flows, instead the existing IP and higher layer protocol header information is used to support flow identification and DetNet service delivery. Common nit: comma splice This document provides an overview of the DetNet IP data plane in Section 3, considerations that apply to providing DetNet services via the DetNet IP data plane in Section 4. Section 5 provides the nit: this looks like it's trying to be a list but failing, so it's an incomplete sentence. Section 3 Do we want to have a note anywhere in here about how information about which flows are DetNet flows and what behavior(s) they get (e.g., the controller plane, or perhaps a forward reference to section 5), to remind the reader about the architecture? Non-DetNet and DetNet IP packets are identical on the wire. I suggest a different word than "identical", perhaps "indistinguishable" (or maybe "the non-DetNet and DetNet IP packet layouts") DetNet flow aggregation may be enabled via the use of wildcards, masks, lists, prefixes and ranges. IP tunnels may also be used to side note: I'd consider rewording so this doesn't sound like an exhaustive list. Figure 1 illustrates a DetNet enabled IP network. The DetNet enabled end systems originate IP encapsulated traffic that is identified within the DetNet domain as DetNet flows. Relay nodes understand the nit: I think the description of "identified" could be tightened up -- at present, one could read this as either "the DetNet ingress classifies IP traffic as DetNet or non DetNet, thus identifying the flows that are DetNet flows", or "within the DetNet domain, these flows (originated from the specific end systems) are identifiable as being DetNet flows". As non-DetNet and DetNet IP packets are identical on the wire, from data plane perspective, the only difference is that there is flow- [whatever is done for "identical" above could be done here as well] nit: missing article before "data-plane perspective" Section 4.1 IP flow identification means that DetNet must be aware of not only the format of the IP header, but also of the next protocol carried within an IP packet (see Section 5.1.1.3). The way this is written it seems to bind as "(must be aware of) (not only the format of) (the IP header) (but also of [the format of] the next protocol)", but following the reference, it seems to only require inspecting the value in the "next protocol" IP header field. There would, of course, *also* be a requirement to look into TCP/UDP headers to extract the ports needed for the 6-tuple, which is where I originally thought this was going, but given the apparent intent, my suggestion is to just s/next protocol/next protocol value/. End systems need to ensure that DetNet service requirements are met when processing packets associated to a DetNet flow. When forwarding We just said in the previous paragraph that end systems can be DetNet-unaware; how would such DetNet-unaware systems ensure that DetNet service requirements are met? packets, this means that packets are appropriately shaped on Also, are end systems going to be *forwarding* packets? I thought that it was DetNet edge nodes (and transit/relay nodes) that would do so. Section 4.2 aware. Such routers identify DetNet flows based on the IP 6-tuple, and ensure that the DetNet service required traffic treatment is provided both on the node and on any attached sub-network. nit: I suggest hyphenating the compound adjective(s?) in "DetNet service required traffic treatment" or otherwise rewording it, as I'm not entirely clear on how to parse it. This solution provides DetNet functions end to end, but does so on a per link and sub-network basis. Congestion protection and latency We should probably note that there is a single point of failure at the routers/etc. that remove and reapply these functions. Note that not mixing DetNet and non-DetNet traffic within a single 5-tuple, as described above, enables simpler 5-tuple filters to be used (or re-used) at the edges of a DetNet network to prevent non- congestion-responsive DetNet traffic from escaping the DetNet domain. I'd consider s/described/recommended/ Also, does the "simpler filters" also apply to determining what inbound traffic should receive DetNet treatment? Section 4.3.2 future document. From an encapsulation perspective, the combination of the 6-tuple i.e., the typical 5-tuple enhanced with the DSCP and previously mentioned optional field (i.e., flow label), uniquely identifies a DetNet IP flow. I agree with the directorate reviewer that the language here needs to get cleaned up. queue or shaper, is used by such flows. There are multiple methods that MAY be used by an implementation to defend service delivery to reserved DetNet flows, including but not limited to: nit: this doesn't seem like a normative MAY. Section 4.3.3 next hops. As mentioned above, the DetNet IP data plane identifies flows using "6-tuple" header information as well as the additional optional header field. DetNet generally allows for both flow- Please just name the "optional header field" field directly; there's no need to be oblique about it. Care should be taken when using different next hops for the same 5-tuple. As discussed in [RFC7657], unexpected behavior can occur when a single 5-tuple application flow experience reordering due to being split across multiple next hops. Understanding of the For some reason I thought the detnet architecture doc also had some discussion of potential consequences of having a single flow split across multiple paths, but all I can find is Section 3.2.2.2 that points out there may be need to have additional buffering in such cases, in order to equalize delays. (Maybe I'm thinking of a different detnet document, though I'm not sure which one that would be.) application and transport protocol impact of using different next hops for the same 6-tuple is required. Again, this impacts path I don't think I understand why we went from "5-tuple" to "6-tuple" in the same paragraph. Section 4.4 flow identification. DetNet IP flows can be aggregated using any of the 6-tuple, and an additional optional field (i.e., flow label). Similarly to the previous comments, perhaps this should be "any of the 6-tuple and flow label"? There's no need to add "optional" when already subject to "using any of". Section 5.1 IP and higher layer protocol header information is used to identify DetNet flows. All DetNet implementations that support this document MUST identify individual DetNet flows based on the set of information identified in this section. Note, that additional flow Does this requirement apply even to those implementations that have no need to act at flow-level granularity, e.g., a router that only provide DetNet service for aggregated flows, as recommended in Section 4.4? The configuration and control information used to identify an individual DetNet flow MUST be ordered by an implementation. Implementations MUST support a fixed order when identifying flows, and MUST identify a DetNet flow by the first set of matching flow information. I'm a little surprised that this type of determinism is only an implementation-level requirement. If I'm understanding correctly, this requirement would still allow for two different implementations to use different rules for flow identification, and thus, potentially, to map a single end-to-end flow to different classes of service. Section 5.1.1.3 An implementation MUST support flow identification based on the next protocol values defined in Section 5.1.2. Other, non-zero values, MUST be used for flow identification. Implementations SHOULD allow I don't understand what distinction we're trying to draw between flow identification based on the values defined in Section 5.1.2 and flow identification based on other (non-zero) values. Aren't they both MUST-level requirements, as written? for these fields to be ignored for a specific DetNet flow. side note: it seems like we're using "flow" to mean a couple different (but similar) things in this paragraph (e.g., "considering IPv4 Protocol/IPv6 Next Header to be distinct or not"). Perhaps that's unavioidable, though. Section 5.1.1.4 Traffic Class Field when processing IPv6 packets. Implementations MUST support list based matching of DSCP values, where the list is nit: hyphenate "list-based matching" Section 6 Information identifying a DetNet flow is ordered and implementations use the first match. This can, for example, be used to provide a [this bit might perhaps be affected if my previous comment about implementation-specific results in any changes] DetNet service for a specific UDP flow, with unique Source and Destination Port field values, while providing a different service for the aggregate of all other flows with that same UDP Destination Port value. [and this part actually seems to be setting at least an expectation that the order is tied down more tightly than just "implementation specific". Is this order perhaps something that the controller plane is expected to provision?] Section 7 We discuss elsewhere the need for end systems to (paraphrasing) "not shoot themself in the foot", i.e., actually provide the resources necessary to meet DetNet traffic guarantees. For the case of DN attached systems that are behind a sub-network (e.g., ES2 in Figure 3), are there also considerations on the ability of that sub-network to provide the necessary level of service? Is there a need for synchronization of information about DetNet flows? For example, would the controller plane need to ensure that information about a new flow is fully propagated to the entire DetNet domain before any traffic on that flow starts to flow? If an attacker knows the 6-tuple used by a DetNet flow, isn't there a risk that they could use IP-level spoofing to generate traffic that gets classified as a DetNet flow, potentially causing that flow to exceed its reservation and get erminated? This may be a slightly different risk than the one discussed in the last paragraph as requiring policing at the input of the DetNet domain. (This is related to the "source address spoofing" risk that Bob Briscoe raised.) Security considerations for DetNet are described in detail in [I-D.ietf-detnet-security]. General security considerations are described in [RFC8655]. This section considers exclusively security side note: the wording of these first two sentences feels a little strange, as if the two documents should be somehow the same but are not. Perhaps: % Detailed security considerations for DetNet are catalogued in % [I-D.ietf-detnet-security], and a more general (abbreviated) treatment % is provided in [RFC8655]. Also, it looks like the comments I made on 2020-04-23 regarding draft-ietf-detnet-security (as a side note in my ballot position on draft-ietf-detnet-data-plane-framework-04) remain applicable: % The referenced document (now at -09) seems significantly improved from % when I previously made an in-passing review of the -03 % (https://mailarchive.ietf.org/arch/msg/detnet/jZLodXBmQa7ZFDbBIvDO_xCDD0E/), % however, some of the issues I mentioned there remain, at least in part % (e.g., mentioning the use of HMAC without a colocated discussion of % the need for key distribution and having a taxonomy of threats titled % "threat model"). Security aspects which are unique to DetNet are those whose aim is to provide the specific quality of service aspects of DetNet, which are primarily to deliver data flows with extremely low packet loss rates and bounded end-to-end delivery latency. I recognize that this is essentially verbatim from RFC 8655, but it still reads somewhat strangely to me: specifically, it seems to say that there are "security aspects [...] whose aim is to provide [QoS, low packet loss, and bounded latency]", and I don't think it's the security aspects specifically that aim to provide those. Rather, I think it's the overall goal of DetNet to provide those attributes, and there are some security aspepcts specific to attempting to provide those attributes. The primary considerations for the data plane is to maintain integrity of data and delivery of the associated DetNet service traversing the DetNet network. Application flows can be protected through whatever means is provided by the underlying technology. For example, encryption may be used, such as that provided by IPSec [RFC4301] for IP flows and/or by an underlying sub-net using MACSec [IEEE802.1AE-2018] for IP over Ethernet (Layer-2) flows. It's good that you call this out, so thank you for that. I'd suggest a slight addition, prefacing the sentence that currently starts with "Application flows" with a lead-in that "Since no DetNet-specific fields are available for DetNet IP, data integrity must be provided by a lower (or, potentially, higher) layer; application flows can [...]". I'd also consider noting that providing guaranteed delivery is impossible in the face of a sufficiently powerful attacker (that can drop all traffic, cut fiber, etc.), so the attacker in the DetNet threat model is necessarily slightly weaker than a typical BCP 72 threat model. Section 11.1 The way in which RFC 3473 is used does not seem to require a normative reference, to me. (RFC 4301 is perhaps in a similar situation, though given that we need normative references to 4302 and 4303, it doesn't stick out as much.) Section 11.2 Was it considered to make draft-ietf-detnet-data-plane-framework a normative reference? The reference in Section 3 that says "common data plane procedures and control information for all DetNet data planes" can be found in it makes me wonder whether it contains information that I need to know in order to use detnet-ip properly.
- [Detnet] Benjamin Kaduk's No Objection on draft-i… Benjamin Kaduk via Datatracker
- Re: [Detnet] Benjamin Kaduk's No Objection on dra… Lou Berger
- Re: [Detnet] Benjamin Kaduk's No Objection on dra… Benjamin Kaduk
- Re: [Detnet] Benjamin Kaduk's No Objection on dra… Lou Berger