Re: [Idr] draft-ietf-idr-error-handling-08

"Chris Hall" <chris.hall@highwayman.com> Tue, 27 May 2014 10:36 UTC

Return-Path: <chris.hall@highwayman.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FC121A0078 for <idr@ietfa.amsl.com>; Tue, 27 May 2014 03:36:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 Udv9jVzZrLuX for <idr@ietfa.amsl.com>; Tue, 27 May 2014 03:36:31 -0700 (PDT)
Received: from porta.halldom.com (porta.halldom.com [80.177.246.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5FF851A0080 for <idr@ietf.org>; Tue, 27 May 2014 03:36:31 -0700 (PDT)
Received: from hyperion-w.halldom.com ([80.177.246.146] helo=HYPERION) by porta.halldom.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from <chris.hall@highwayman.com>) id 1WpEk5-0001F6-FY for idr@ietf.org; Tue, 27 May 2014 10:36:25 +0000
From: Chris Hall <chris.hall@highwayman.com>
To: "'idr@ietf. org'" <idr@ietf.org>
References: <CE46078A-F276-44D4-9598-430F71150CEB@juniper.net> <B2D84321-FDA0-4A15-90EE-6B4616F15CB4@exa-networks.co.uk> <05fe01cf6f6e$1f4476e0$5dcd64a0$@highwayman.com> <61DC6BC4ABA10E4489D4A73EBABAC18B011EE229@EX01.swan.local> <CAEGVVtAQvEtLH5fOFdGTuyV6957mJpt9X2w0goRNJ01cQTWg-A@mail.gmail.com> <68EFACB32CF4464298EA2779B058889D12493B50@PDDCWMBXEX503.ctl.intranet> <61DC6BC4ABA10E4489D4A73EBABAC18B011EE4E8@EX01.swan.local> <20140523221831.GD561@pfrc> <CA+b+ER==Zi8bQ0q5vXrRpex0p1QOcDDMGo979Ng772DQcEhEVA@mail.gmail.com> <20140524142959.GE561@pfrc> <CA+b+ERks+Ar=+rcqs1fFurq9sCkiEp3-2i1cYtSNmQbpVodgdw@mail.gmail.com> <22974_1401092291_5382F8C3_22974_1226_1_53C29892C857584299CBF5D05346208A0714D15F@PEXCVZYM11.corporate.adroot.infra.ftgroup> <CA+b+ERkCjEdPr666XNBM2pj5-ih3fD115Um-BDpriQytmppbZQ@mail.gmail.com> <22299_1401121246_538369DE_22299_5672_1_53C29892C857584299CBF5D05346208A0714D333@PEXCVZYM11.corporate.adroot.infra.ftgroup> <CA+b+ERkovVskRmfM-KDpwD4dJKqqzHO4GSOh0uJr1m3HE==36g@mail.gm ail.com> <0421 01cf7912$6fb3cba0$4f1b62e0$@highwayman.com> <CA+b+ERnxKY416iUCv2Zpd2nK_PiRLeuJS+LR7JQuUv5Dp2=BWA@mail.gmail.com>
In-Reply-To: <CA+b+ERnxKY416iUCv2Zpd2nK_PiRLeuJS+LR7JQuUv5Dp2=BWA@mail.gmail.com>
Date: Tue, 27 May 2014 11:36:26 +0100
Organization: Highwayman
Message-ID: <045f01cf7997$860cc480$92264d80$@highwayman.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQMPT2U8hNZfkQob/r9whEuUIHdu9wIXLiUiAce54KwBJce6JAHfPLiKAq/uDRIChM5DUAGPjGf1AiAbMeABbHjz7QJ58PX9AwFwMHUBGW2q9AJ1aqkBAbdIocUCdjywRAHI6/vYl9K8O/A=
Content-Language: en-gb
Archived-At: http://mailarchive.ietf.org/arch/msg/idr/UdTXHe4EihUHj_iF0NMno7h9IA4
Subject: Re: [Idr] draft-ietf-idr-error-handling-08
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Tue, 27 May 2014 10:36:33 -0000

Robert Raszuk wrote (on Mon 26-May-2014 at 19:55 +0100):
....
> Isn't your example subject to reset of the session regardless what
> AFI/SAFI it is ? The way I see attribute overrun + no parsable NLRI
> present is that it does not fall under current error handling draft
> exceptions.

I don't know :-(  My reading suggests that the default response is to be "treat-as-withdraw".  If no NLRI at all can be found, what the draft specifies seems to hinge on the interpretation of "successfully parsed": is parsing nothing at all trivially successful or trivially a failure ?  Some folk appear to want the session to stay up no matter what (more or less), so it might be helpful if this was less a matter of interpretation.

Assuming that "not finding any NLRI at all" is defined/deemed to require session-reset: what about the cases where the receiver can find *some* NLRI, but knows it has not found *all* NLRI ?  Suppose:

   Withdrawn Routes field -- empty
   Attributes: MP_UNREACH_NLRI -- some valid NLRI
               ORIGIN    -- some valid origin
               ....      )  other valid stuff...
               ....      )  ...but NOT MP_REACH_NLRI
               <invalid> -- attributes overrun
   NLRI field -- empty

In this case it is pretty clear that there is an MP_REACH_NLRI buried in the rubble.

For this case, and other more ambiguous ones, we need to interpret: "the entire NLRI field and/or the MP_REACH_NLRI and MP_UNREACH_NLRI attributes need to be successfully parsed".

Chris

> On Mon, May 26, 2014 at 8:43 PM, Chris Hall
> <chris.hall@highwayman.com> wrote:
> > Robert Raszuk wrote (on Mon 26-May-2014 at 17:30 +0100):
> >> Bruno Decraene wrote:
> >>
> >> > AFI/SAFI is indeed a valid criteria but on my side, if we had
> >> > multiple level of error handling (which I'm not asking for) I'd
> >> > rather leave it to local configuration for flexibility (and
> >> > because I would not expect rough consensus).
> >
> >> But that is precisely what I am after too.  Not #define that this
> >> SAFI is subject or not, but a text in the draft that the error
> >> handling should be possible to be disabled/enabled on a per
> >> AFI/SAFI per peer basis.
> >
> > Which would be possible when it's clear what the AFI/SAFI was.  In
> the
> > (previously noted) case of:
> >
> >   Withdrawn Routes field -- empty
> >   Attributes: ORIGIN    -- some valid origin
> >               ....      )  other valid stuff...
> >               ....      )  ...but NOT MP_xx_NLRI
> >               <invalid> -- attributes overrun
> >   NLRI field -- empty
> >
> > it's (ever so) slightly tricky to tell what the AFI/SAFI was :-(
> > Unless the session carries only one AFI/SAFI, of course.
> >
> > Chris
> >
> > _______________________________________________
> > Idr mailing list
> > Idr@ietf.org
> > https://www.ietf.org/mailman/listinfo/idr