Re: [Idr] WG LC draft-ietf-idr-flowspec-path-redirect-10.txt [11/17/2019 to 12/2/2019]

Robert Raszuk <robert@raszuk.net> Fri, 29 November 2019 09:34 UTC

Return-Path: <robert@raszuk.net>
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 EA8E9120817 for <idr@ietfa.amsl.com>; Fri, 29 Nov 2019 01:34:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 82Nmta6W3L8Z for <idr@ietfa.amsl.com>; Fri, 29 Nov 2019 01:34:38 -0800 (PST)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 10ADF1208CF for <idr@ietf.org>; Fri, 29 Nov 2019 01:34:38 -0800 (PST)
Received: by mail-qt1-x836.google.com with SMTP id j5so6710206qtq.9 for <idr@ietf.org>; Fri, 29 Nov 2019 01:34:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CuMLJoPd0JEb6G78Ub49VMut8p1dQJwFjyzcnEVdOdg=; b=Wa7CD/KqePL6ey2mSDfL9yyLTQXmbz8qHi1HE8F5i0P7VvVbg3piwcfnJK+Bj4Rj/z mFJBtsir4qY0eZeP4g+hcumb420F3Cdshlz7FFlMCv1U5L5lScwqvDIRY9Ow7HUjUL9j PZCwDmWC47r/ABSVxSAbX1SHnXNHsC6TMA0XP2sz5JHQq5yaKhRXq1mZTeDyfVaXXdhW INzxqhliyiEWpgKcxLg9sufK93uN1ZvGTG+Quuz5oTekao3yeCU/SZlRZvENCOyjErqv Yy3eRd4inkosGAQFFniBMZC3cK0TNsQT0eYLei2sVtEF9fmsKddNz77XUN2icD9eRTk7 h1Tw==
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=CuMLJoPd0JEb6G78Ub49VMut8p1dQJwFjyzcnEVdOdg=; b=QRkZ9yOMRHgGPOaU6JmEJJZcRHlVgugvMF0XIkFLuXlKkb0tFOuuu7rRXNfCTP7kaP 1+Lp2vSRpZq7KdBxynnuUxuo1s2JPdzyeLBBqQPMeWsmzNB8P4+Og5k0ShTfJfJG+3xE SbcCv++D4pT2I9L7O8Rk2MP7MsdLsIS1TiNxnbQvEL5gSwwjRbUJ37p+Ao8XmLColN0t ENC0mYj/yC0vjOOowxl+ucLkF7eeAW0Tw1rnFiWIAIvTBGNZBYm5WHK84XZhp+fCacdv FsDwOjM/z8R5AgTGZhbE+dzvhJTQK/WvSc8g5+e2Uq2CrMIeltaJKgJjYsdLE6ZngN9i kN/g==
X-Gm-Message-State: APjAAAU9j8DDBtseZL9gRsLmxVuE206GuyP6nPxozlrhKe/PgAnn6hNs WOZJ+EfWhSn+aLzCLPEQfYWl/ejfhMYqBlh7DzQPIQ==
X-Google-Smtp-Source: APXvYqz6vHzBameRw68H7HIOGmhBtJI4yk68g/E1TZWWIKqMpNBK/EfcsRvxk+kdcfnu2sC4nGxY9DT6R/bc6W0UeRU=
X-Received: by 2002:ac8:5197:: with SMTP id c23mr43609530qtn.343.1575020076849; Fri, 29 Nov 2019 01:34:36 -0800 (PST)
MIME-Version: 1.0
References: <016501d59dd2$e5458850$afd098f0$@ndzh.com> <D0AA5E62-4AE5-43A5-BA23-E66D98AF657B@pfrc.org> <AM6PR07MB482356A327D714512EBAF2DBE0460@AM6PR07MB4823.eurprd07.prod.outlook.com>
In-Reply-To: <AM6PR07MB482356A327D714512EBAF2DBE0460@AM6PR07MB4823.eurprd07.prod.outlook.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 29 Nov 2019 10:34:26 +0100
Message-ID: <CAOj+MMF5SXRuQ-KETkJMRQV4uu5LZyK75AKrKiUMEjpBA7d9ow@mail.gmail.com>
To: "Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com>
Cc: Jeffrey Haas <jhaas@pfrc.org>, Sue Hares <shares@ndzh.com>, "idr@ietf.org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000031f5c1059878f047"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/d0joodnnbJGv_NFo4wxIdjPnWnI>
Subject: Re: [Idr] WG LC draft-ietf-idr-flowspec-path-redirect-10.txt [11/17/2019 to 12/2/2019]
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Nov 2019 09:34:41 -0000

Gunter,

To your and Jeff's point regarding multiple redirect rules I have a bit
different perspective.

First let's observe that redirect could be realized in two forms (both are
valid and used in practice):

-A- redirect of the original flow
-B- redirect of copy of the flow

See while in -A- clearly one redirect must be used, in -B- on the
other hand multiple redirects should be supported. One span, one security
TAP, one TCP analyzer etc ...

Your draft defines -A-. To add -B- all what is needed is just one bit flag.

Would you consider it ?

Cheers,
R.





On Fri, Nov 29, 2019 at 4:51 AM Van De Velde, Gunter (Nokia - BE/Antwerp) <
gunter.van_de_velde@nokia.com> wrote:

> Hi Jeff,
>
> Thanks for the feedback and suggestions.
>
> See inline: *GV>*
>
> -----Original Message-----
> From: Idr <idr-bounces@ietf.org> On Behalf Of Jeffrey Haas
> Sent: Thursday, November 28, 2019 20:21
> To: Sue Hares <shares@ndzh.com>
> Cc: idr@ietf.org
> Subject: Re: [Idr] WG LC draft-ietf-idr-flowspec-path-redirect-10.txt
> [11/17/2019 to 12/2/2019]
>
> Sue,
>
>
>
> > On Nov 18, 2019, at 12:41 AM, Susan Hares <shares@ndzh.com> wrote:
> >
> > This begins a 2 week WG Last call on
> draft-idr-flowspec-path-redirect-10.txt from [11/17/2019 to 12/2/2019].
> >
> > You can obtain the draft at:
> >
> > https://datatracker.ietf.org/doc/draft-ietf-idr-flowspec-path-redirect/
> >
> > Consider in your review whether this draft:
> >
> > 1)      Is compatible with draft-ietf-rfc5575bis-17.txt?
>
> Yes.  (Close enough.)  The current version of the draft is implementable.
>
> > 2)      Whether the draft is useful for deployments of flow specification
>
> It can be useful.
>
> > 3)      Is this technology ready for deployment?
> > 4)      Is the write-up of this technology in
> draft-ietf-idr-flowspec-path-redirect clearly written and ready for
> publication?
>
> Ready with minor issues, IMO:
>
> Procedure-wise, there needs to be a bit more text covering cases about
> interactions with other traffic actions.  This was a known headache for
> similar drafts such as redirect-to-ip.  In particular, interaction with
> redirect-to-ip and redirect-to-vrf is needed.
>
> GV> Section “6. Validation Procedures” gives input on this. We discussed
> this with you long ago and hence this text was added.
>
> “
>    While it MUST NOT happen, and is seen as invalid combination, it is
>    possible from a semantics perspective to have multiple clashing
>    redirect actions defined within a single flowspec rule.  For best and
>    consistant compatibility with legacy implementations, the redirect
>    functionality as documented by rfc5575bis MUST NOT be broken, and
>    hence when a clash occurs, then rfc5575bis based redirect MUST take
>    priority.
> “
>
> This means that redirect-to-VRF will take absolute priority to not break
> rfc5575bis behavior.
> Having also redirect-to-ip will result in an invalid
>
>
> The text "A single flowspec rule MUST NOT have more as one indirection-id
> per S-ID.  On a flowspec client the indirection-id with lowest S-ID MUST be
> imposed first for any given flowspec entry."  There's no procedure for what
> happens in error handling when you do have more than one of the same S-ID.
> The text about the case for S-ID of 0 is also a bit ambiguous.  It feels
> like it's reading "there is no sequence", but what do you do when you then
> have ones that do?
>
> *GV>* What about the following rewrite:
>
> Original:
>    The 'S-ID' field identifies a 4 bit Sequence ID field.  This field is
>    used to provide a flowspec client an indication how and where to
>    sequence the received indirection-ids.  The Sequence ID value 0
>    indicates that Sequence ID field is NOT set and SHOULD be ignored.  A
>    single flowspec rule MUST NOT have more as one indirection-id per
>    S-ID.  On a flowspec client the indirection-id with lowest S-ID MUST
>    be imposed first for any given flowspec entry.
>
> New:
>    The 'S-ID' field identifies a 4 bit Sequence ID field.  This field is
>    used to provide a flowspec client an indication how and where to
>    sequence the received indirection-ids.  The Sequence ID value 0
>    indicates that Sequence ID field is NOT set and *****all** other
> sequence ID's***
>    SHOULD be ignored.  A
>    single flowspec rule MUST NOT have more as one indirection-id per
>    S-ID.  On a flowspec client the indirection-id with lowest S-ID MUST
>    be imposed first for any given flowspec entry.
>
> *GV>* In section *6. Validation procedure" there is text to handle the
> error condition when the flowspec rule results in an invalid redirection,
> that prescribe what needs to happen when the “redirect to indirection-id”
> does not result in a valid redirection:
>
> "
>    While it MUST NOT happen, and is seen as invalid combination, it is
>    possible from a semantics perspective to have multiple clashing
>    redirect actions defined within a single flowspec rule.  For best and
>    consistant compatibility with legacy implementations, the redirect
> *   functionality as documented by rfc5575bis MUST NOT be broken*, and
>    hence when a clash occurs, then *rfc5575bis based redirect MUST take*
> *   priority*.  Additionally, if the "Redirect to indirection-id" does not
>    result in a valid redirection, then the flowspec rule MUST be
>    processed as if the "Redirect to indirection-id" community was not
>    attached to the flowspec route.
> "
>
> *GV>* Is there more to add to this? (We could add a line to detail that
> “redirect-to-ip” is incompatible with “redirect to indirection-id” and
> result in invalid redirection rule, however to me that is already implied
> with enough detail in the text above)
>
> A few IANA issues:
> I see the type registry is currently registered with IANA (code point
> 0x09).  However, the sub-type registry is not established for some reason?
> The ID-Type field likely needs its own IANA registry.  Values 1-5 are
> defined in this draft.
>
> *GV>* Correct. There is a reason for this. When we asked IANA the
> code-points they informed me that once the document get to RFC the sub-type
> registry will be established by IANA.
>
> The flags field (one octet) currently has 3 bits reserved.  In the past,
> we've not done a registry for such cases (c.f. graceful restart) until we
> need to start carving out those reserved bits for future extensions.  I
> leave it to the chairs' opinion whether we want this a priori or not.
>
> *G/*
>
>
> >
> > Thank you for considering this draft.
> >
> > Cheerily, Susan Hares
> >
> > _______________________________________________
> > Idr mailing list
> > Idr@ietf.org
> > https://www..ietf.org/mailman/listinfo/idr
> <https://www.ietf.org/mailman/listinfo/idr>
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf..org/mailman/listinfo/idr
> <https://www.ietf.org/mailman/listinfo/idr>
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>