[Idr] Re: Flowspec redirect-ip update

Nat Kao <pyxislx@gmail.com> Thu, 24 October 2024 11:08 UTC

Return-Path: <pyxislx@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6A54C1D8768 for <idr@ietfa.amsl.com>; Thu, 24 Oct 2024 04:08:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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_BLOCKED=0.001, 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=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 W_Vkt6RiVRHv for <idr@ietfa.amsl.com>; Thu, 24 Oct 2024 04:08:13 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC407C180B53 for <idr@ietf.org>; Thu, 24 Oct 2024 04:08:13 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2fb443746b8so7607241fa.0 for <idr@ietf.org>; Thu, 24 Oct 2024 04:08:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729768091; x=1730372891; 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=Ztm+tctwLVSjKe8yXp7rmhSTaBaDQiSTP6SDY9wmot8=; b=WxdgSQ51QYFmop1Iru9nQCsaQ8rQBwzm+o0mLa7qt5nMclSXUTVTFLbJrhoTtfdkxt 5PCGWvFBpgvKbDxincTO+FsNG/fYevzsfngdJlpsRnXUfr8iDGlDhNBBCY/T5010V48N inx79OdDJnDFuWlGjbdSyjHYMEiEbx/7OheydLOQZR49n6C+d3PwIzyB3gKgcg000S7B OIcHvKK4ln7jDxEq1g+DZe1dEQM51C4Q7JOKds/MNXylUmn5qd1+EpGrw9cuOB6XUgOX IWgLPP38nHeHPEUz0ops415cc1wIqw3w3RXEr3LepqomdGOF0fj/nfFhFWq/NjdzQbIo lY0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729768091; x=1730372891; 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=Ztm+tctwLVSjKe8yXp7rmhSTaBaDQiSTP6SDY9wmot8=; b=k2Nhl3mEjziE5yEPSn5taJbNXebeFtzLmIdE+bD5rQ8RuQ8qDzlxl3mK8MqzkV0mFe wd/ODs8DWK8qOFJ0ddp/Auh5Aq/TSb4wUxQYR6GQqTEJLAbK+lDWcUo9zWO1SI2LcZCn aHK8t3UVsYPEngI+gRCIJo+diq3lNKKUfbTDtNwsDJPZuRjuqOvsO0mYCA1yT1rXA/LZ lB7/+DcwmzTOOKes6ZXnE+XJHSunaRI98SyQRnsUkA/zbHgpYoSJx+XfwBgFcwU4Up9b W6Qlg+gIP4mqQKuGMYjwz0SpGkLASIQQDy97SNFYyqkksiBFq6/06JEPKK9tzl9+ld+s v/JA==
X-Gm-Message-State: AOJu0YySrzJIYYpJNNw/n6RpwGqTKKqPCrpMuphWWI9RiRa2DHMERnKn 2DlEQeKTDBTGRKQBXuP8FgZo5Pcev0CqiOnMasDw86K2HaYB/ryiPnigF/XCo6gFVCNQS1sOZ6I YI+1l6PxtwfVZX01mpTgJWUnh2IVJtHBI
X-Google-Smtp-Source: AGHT+IEGLktTn/NMcT1luFxQOyCH5kHLYMiAOR0/5S/ERJS/MkVmJnEWNjn5QJj8kLEwjhQn+HRDVK6ft1801YsHxro=
X-Received: by 2002:a05:6512:3c87:b0:539:f886:31c6 with SMTP id 2adb3069b0e04-53b23e8f255mr973894e87.38.1729768090623; Thu, 24 Oct 2024 04:08:10 -0700 (PDT)
MIME-Version: 1.0
References: <20240908101826.GA6410@pfrc.org>
In-Reply-To: <20240908101826.GA6410@pfrc.org>
From: Nat Kao <pyxislx@gmail.com>
Date: Thu, 24 Oct 2024 19:07:34 +0800
Message-ID: <CAKEJeo40Cfx2EiikQAnEmJY=7spXCi=5=oaq27ya6h1OXSi5Jg@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Content-Type: multipart/alternative; boundary="00000000000095e8a806253704a1"
Message-ID-Hash: 3DYK4FXLYR47KQQO42PAROUDVCA7DBVT
X-Message-ID-Hash: 3DYK4FXLYR47KQQO42PAROUDVCA7DBVT
X-MailFrom: pyxislx@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-idr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: idr@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Idr] Re: Flowspec redirect-ip update
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/ULQHdKx5ywWMz1jzD8tpAlmgCkQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Owner: <mailto:idr-owner@ietf.org>
List-Post: <mailto:idr@ietf.org>
List-Subscribe: <mailto:idr-join@ietf.org>
List-Unsubscribe: <mailto:idr-leave@ietf.org>

Hi, Jeff.

After reading -03 of this draft, I have an open question regarding
redirecting traffic into Next-Hops with tunnels from a user's point of view.
Assume:
    - A redirect-to-IPv4 EC with target address T is attached to an FS
route F
    - The best route towards T is R

For per-destination steering into an SR-Policy, we have two choices to put
a Color-EC:
    - If we put the Color-EC on F, it's the case described by
draft-ietf-idr-ts-flowspec-srv6-policy.
      In this case, we treat F more like a service route.
    - If we put the Color-EC on R, T will be the Next-Hop with a tunnel.
      In this case, we treat R more like a service route.
I think either case would work if we don't put the Color-EC on both F & R.
Do we have suggestions for this?

Thanks!

Regards,
Nat

On Sun, Sep 8, 2024 at 6:18 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

> In support of closing out lingering work, plus addressing a dependent
> document MISSREF, here's an update to the flowspec redirect-to-ip work.
>
> Known lingering issues are covered in my github where this work was
> originally being tracked:
>
> https://github.com/jhaas-pfrc/draft-ietf-idr-flowspec-redirect-ip/issues
>
> Redirect-to-ip for flowspec is supported in various forms across multiple
> vendors at this point.  The remaining work is addressing what the current
> inconsistencies and lingering operational security considerations will mean
> for the final form of this document.
>
> Summary of known issues:
> - The "C" bit for copy behavior is not believed to be implemented by anyone
>   at this time.  However, since most of the supporting implementations are
>   with vendors that do support some form of traffic cloning, we perhaps
> have a
>   desire to leave this bit defined in order to future-proof the protocol
>   extension.
> - Since this feature has dire consequences for traffic interception if the
>   redirection address is not strongly controlled, there is new text
>   addressing validating the redirection address vs. the destination
> address in
>   a fashion similar to existing inter-AS/eBGP flowspec.  And very similar
> to
>   that mechanism in the flowspec RFCs, it may be disabled by configuratino.
> - Compound actions in flowspec are known to be challenging, and already a
>   discussion point for enhancement in flowspec v2.  In this draft, the
>   compound action of redirect-to-vrf present in the base flowspec RFCs may
> be
>   augmented with a redirect-to-ip.  At this time, this compound behavior is
>   not believed to be implemented.  However, the authors had been contacted
>   about preserving this encoding to support future use cases.
> - ECMP traffic distribution is inconsistently implemented.  It's not
>   believed that this is a problem but is worth flagging to the working
>   group.
>
> Please review the update to the draft and provide feedback, especially if
> you have an implementation of this feature.
>
> -- Jeff (for the authors)
>
> ----- Forwarded message from internet-drafts@ietf.org -----
>
> Date: Sun, 08 Sep 2024 02:58:28 -0700
> From: internet-drafts@ietf.org
> To: i-d-announce@ietf.org
> CC: idr@ietf.org
> Subject: [Idr] I-D Action: draft-ietf-idr-flowspec-redirect-ip-03.txt
>
> Internet-Draft draft-ietf-idr-flowspec-redirect-ip-03.txt is now
> available. It
> is a work item of the Inter-Domain Routing (IDR) WG of the IETF.
>
>    Title:   BGP Flow-Spec Redirect-to-IP Action
>    Authors: James Uttaro
>             Jeffrey Haas
>             Andy Karch
>             Saikat Ray
>             Pradosh Mohapatra
>             Wim Henderickx
>             Adam Simpson
>             Matthieu Texier
>    Name:    draft-ietf-idr-flowspec-redirect-ip-03.txt
>    Pages:   9
>    Dates:   2024-09-08
>
> Abstract:
>
>    Flow-spec is an extension to BGP that allows for the dissemination of
>    traffic flow specification rules.  This has many possible
>    applications, but the primary one for many network operators is the
>    distribution of traffic filtering actions for distributed denial of
>    service (DDoS) mitigation.  The flow-spec standard [RFC5575] defines
>    a redirect-to-VRF action for policy-based forwarding.  This mechanism
>    can be difficult to use, particularly in networks without L3 VPN
>    infrastructure.
>
>    This draft defines a new redirect-to-IP flow-spec action that
>    provides a simpler method of policy-based forwarding.  The details of
>    the action, including the IPv4 or IPv6 target address, are encoded in
>    newly defined BGP extended communities.
>
> The IETF datatracker status page for this Internet-Draft is:
> https://datatracker.ietf.org/doc/draft-ietf-idr-flowspec-redirect-ip/
>
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-idr-flowspec-redirect-ip-03.html
>
> A diff from the previous version is available at:
>
> https://author-tools.ietf.org/iddiff?url2=draft-ietf-idr-flowspec-redirect-ip-03
>
> Internet-Drafts are also available by rsync at:
> rsync.ietf.org::internet-drafts
>
>
> _______________________________________________
> Idr mailing list -- idr@ietf.org
> To unsubscribe send an email to idr-leave@ietf.org
>
> ----- End forwarded message -----
>
> _______________________________________________
> Idr mailing list -- idr@ietf.org
> To unsubscribe send an email to idr-leave@ietf.org
>