Re: [spring] Request comments/feedback on https://datatracker.ietf.org/doc/draft-zzhang-spring-microtap-segment/01/

Eduard Metz <etmetz@gmail.com> Sun, 03 March 2024 12:14 UTC

Return-Path: <etmetz@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 869EAC15109F; Sun, 3 Mar 2024 04:14:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.004
X-Spam-Level:
X-Spam-Status: No, score=-2.004 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, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 1hxv1qgYNchF; Sun, 3 Mar 2024 04:14:06 -0800 (PST)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (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 4F76EC15109A; Sun, 3 Mar 2024 04:14:06 -0800 (PST)
Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5101cd91017so4827947e87.2; Sun, 03 Mar 2024 04:14:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709468044; x=1710072844; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6y3zDe+Es8l/LED+Dd43WMFvTAE5SKq5OkVd4AfOXJ8=; b=Rt6ubQU9thJYqqYYiy4l2C/OHG+xBuT0r7HsErDDL5fqFprPRExwlbjbPCA/Yk/7F3 RvQ4STE8mZFYSKc/xgNOKgJ+GyRDdTllULpQZIMCLIpQRtUogXKuLfCgShBRyV7/dGkE PUbCgHtt3aIuV0iB3QtqLCwF34PxD9vxuWfcTb8brZXWPq5BAwtT9ZWfAUDdBmX4HDJW 71GDBa1dc+6Uwsrga5dhSTueh6Ov3iKWsCkDY57TrsBM2azwb8BU0a2IYzvQL96gSbzz safazs83wB97Cq5n1PscPSbpl/z1o/WokAD9mBsOUC/4v5JcYloKxzHakc1UHARuar5F epQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709468044; x=1710072844; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6y3zDe+Es8l/LED+Dd43WMFvTAE5SKq5OkVd4AfOXJ8=; b=m8/FRbuV5Rhyf5EsmzWTlkd4CoV8wA/4cztOVrpI44f9UND/U7v1P1BkuL77N69K5T b+9Zdpyt4YYiXs4+ctBBSzJRMhtP+VkTLD051rnlWFS8sodvFlZqWlvPfY1NRQDiHfW/ cme9muMip8pQjJQxQnp6SaN7QD/GGSrmVc0XCTS3VW8dHXy4A1NWWxA/xYiCEpA9FBBr +XkanIKOrmqOby1klpZx6DK8lOd5V8v2Zg2Qx3C5jnF2n8hZ8bsJv3zUpdZWzSQuT0zv FzNgVuefi0/bwulzXW4vYM8W8XmZcaPL7p6XR/ULBLwMtzUChN55XwviVNxXHmNEGQEW buRg==
X-Forwarded-Encrypted: i=1; AJvYcCXz4/G+doAjnURlZBzErEOEdF42ogm8Y9TGGVSDRgfbsgAoATnHRJBEbwSS4F+P+j7ST6kvlLPdAcljEIsvWpIYThUvMHu/x9dn0YjXgTdE358nPXzcaK1S9WZVdF5//HPwevmzoIkI6/aQA3jm5w==
X-Gm-Message-State: AOJu0YwvX1CLkZPKFrIPlYxd0DJ0QkuRyQqoeQzQhPq6CSmzx/praA63 levu6RMhtUYIExsPpgHkVB99zGbUKAJGoAjWExiFWOFxIpkg4NTxa7W9Px5ldCXBdeRUHbEaWTT w7cLll7PZNdndFukLzQUTfLfdK8A=
X-Google-Smtp-Source: AGHT+IG5bVT4GupXWFIYGkTrOKvLA35fySl47k+TPWLvisbB7mP6UdQxQbZ5/IY4EPi1BgnMmQhJ7WipQjNzWotXip0=
X-Received: by 2002:a05:6512:2812:b0:513:1ca7:87b1 with SMTP id cf18-20020a056512281200b005131ca787b1mr5408858lfb.1.1709468043461; Sun, 03 Mar 2024 04:14:03 -0800 (PST)
MIME-Version: 1.0
References: <CAKsJ_vjpjKC=9wDboxVK0UZFE=_SnogrwWKso-AaQ0eezq4WBw@mail.gmail.com> <3187342B-DA67-4857-A4E6-926CF54861D2@gmail.com> <CAG=3OHdWa_iVxJtB_VpdWDHdPqa3KgYsBstBnff1qxyHP-m=mw@mail.gmail.com> <IA1PR05MB9550E87D724EE6BF856122CFD45E2@IA1PR05MB9550.namprd05.prod.outlook.com>
In-Reply-To: <IA1PR05MB9550E87D724EE6BF856122CFD45E2@IA1PR05MB9550.namprd05.prod.outlook.com>
From: Eduard Metz <etmetz@gmail.com>
Date: Sun, 03 Mar 2024 13:13:51 +0100
Message-ID: <CAG=3OHceBJnFMQbzqXKiSX5hY_-=hNnYEkACzxCijAVG+sC=+Q@mail.gmail.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
Cc: Jeff Tantsura <jefftant.ietf@gmail.com>, Ryan Hoffman <ryan.hoffman=40telus.com@dmarc.ietf.org>, "spring@ietf.org" <spring@ietf.org>, "draft-zzhang-spring-microtap-segment@ietf.org" <draft-zzhang-spring-microtap-segment@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007c48a20612c08bd5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/eF06NICJUqq0LoUwtji908_xr8E>
Subject: Re: [spring] Request comments/feedback on https://datatracker.ietf.org/doc/draft-zzhang-spring-microtap-segment/01/
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 03 Mar 2024 12:14:10 -0000

Thanks, see inline / below.

/Eduard


>
>
> Few comments after first read:
>
> - For SRv6 the procedure may be slightly different, ie steer traffic via
> MicroTAP capable node or have MicroTAP as integrated capability of
> "default" forwarding (of capable nodes) and indicate the parameter - this
> is the approach in the current draft if I understand correctly.
>
>
>
> Zzh> The microtap segment belongs to the node connected to the monitor,
> which is typically not in the path of most traffic. When a capable node in
> the normal traffic path encounters a microtap SID (which is not advertised
> by that node), it makes a copy and send the copy to the owner of the
> microtap SID (while continue to forward the original copy after removing
> the microtap SID).
>
> Zzh> Therefore, it is not an integrated capability of “default” forwarding
> (of capable nodes).
>
>
>

[EM] Makling a copy based on the microtap SID (instead of simply forwarding
it) is what I referred to as an integrated capabiltiy of the basic SR
forwarding. In SRv6 alternatively one could add a SID that points
(explicitly) to the microtap (replication) function (with the reference to
the microtap SID as the argument) , instead of triggering a different
behaviour based on the value of a SID.



> - Section 2.3 describes that if a MicroTAP SID becomes the active on the a
> node not supporting the MicroTAP capability, the packet would be dropped. I
> wondered if this is correct? Wouldnt the packet be forwarded to the
> "monitor" node? This breaks the communication effectively, but not a drop
> at the node not supported MicroTAP.
>
>
>
> Zzh> A node not supporting MicroTAP will not advertise its capability or
> install the forwarding state for MicroTAP SIDs (advertised by the nodes
> connected to the monitors).
>
> Zzh> As a result, other nodes SHOULD NOT place a MicroTap SID after the
> node/adj SID for the incapable node. In the unlikely case if that happened,
> in the case of MPLS the packet will simply be dropped (there is no
> corresponding state). In the case of SRv6, there might not be a
> corresponding IPv6 route either and traffic will also be dropped. But if
> there is a less specific route covering that MicroTap SID, then it will be
> forwarded accordingly. We will add that clarification.
>

[EM] Ah, this is due to the SID type? Some clarification would be useful
indeed.


>
>
> - In general, or least for intercept, one would be interested in both
> directions of a traffic stream (e.g to / from a specific IP). To
> address this, the MicroTAP SID would need to inserted on all relevant
> ingresses. And the monitor may receive packets from different MicroTAP
> capable nodes. This may have implications for the use of IOM header (e.g.
> to avoid duplicate sequence ids)
>
>
>
> Zzh> A monitor is going to receive tapped packets from all over the places
> (it all depends on which packets carry the MicroTap SID and where in the
> SID list), but unless a MicroTap SID is repeated (in different places of
> the SID list) in the packet, the monitor will only receive one tapped copy
> for a particular packet. I also imagine that an ingress is likely
> coordinating with the monitor when it places the MicroTap SID, even though
> that’s outside the scope of this draft.
>
> Zzh> Can you explain the implications for the use of IOM header?
>

[EM] I wondered whether the sequence ID would be sufficient or additional
info is needed, e.g. to identify a tapped traffic stream and establish if
all tapped packets have been received at the monitor. At the source one may
want to add additional information anyway to identify a tapped traffic
stream, e.g. to combine and/or demultiplex packets at the monitor.




> Zzh> Thanks.
>
> Zzh> Jeffrey
>
>
>
> cheers,
>
>   Eduard
>
>
>
>
>
> On Wed, Feb 28, 2024 at 4:52 AM Jeff Tantsura <jefftant.ietf@gmail.com>
> wrote:
>
> Seems like a very useful feature indeed.
>
>
>
> Cheers,
>
> Jeff
>
>
>
> On Feb 27, 2024, at 07:15, Ryan Hoffman <ryan.hoffman=
> 40telus.com@dmarc.ietf.org> wrote:
>
> 
>
> TELUS intends to deploy this microTap segment feature once available in
> vendor NOS after thorough testing in our lab.  We'd expedite TELUS testing
> and deployment when available from vendors, as this is a much needed
> feature in our network.
>
>
>
> Thanks,
>
> Ryan Hoffman
>
>
>
> On Wed, Apr 5, 2023 at 3:28 PM Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>
> wrote:
>
> Hi,
>
> The authors of this draft would like to get your feedback on this draft.
>
>    This document specifies a microTap segment that can be used to
>    instruct a transit node to make a copy of a segment-routed packet and
>    deliver it to a specified node for the purpose of network monitoring,
>    trouble shooting, or lawful intercept.
>
> Due to the limit of Spring WG session time we have not been able to
> present it but we submitted slides before:
> https://datatracker.ietf.org/meeting/115/materials/slides-115-spring-slides-115-spring-microtap-segment-00
> <https://urldefense.com/v3/__https:/datatracker.ietf.org/meeting/115/materials/slides-115-spring-slides-115-spring-microtap-segment-00__;!!NEt6yMaO-gk!EKhg-4oZEfTFYJNmgp8IGr1V5a4BR45VWyFGE1yjXKX5wyy_b1J1I5V1a1TwceJBWn4B_S11vdYmbIo$>
> .
>
> Thanks.
> Jeffrey
>
> Juniper Business Use Only
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!EKhg-4oZEfTFYJNmgp8IGr1V5a4BR45VWyFGE1yjXKX5wyy_b1J1I5V1a1TwceJBWn4B_S11CmS-d-Q$>
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/spring__;!!NEt6yMaO-gk!EKhg-4oZEfTFYJNmgp8IGr1V5a4BR45VWyFGE1yjXKX5wyy_b1J1I5V1a1TwceJBWn4B_S11CmS-d-Q$>
>
>