Re: [Idr] I-D Action: draft-ietf-idr-error-handling-03.txt

"Chris Hall" <chris.hall@highwayman.com> Sat, 08 December 2012 11:20 UTC

Return-Path: <chris.hall@highwayman.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 CC07E21F8752 for <idr@ietfa.amsl.com>; Sat, 8 Dec 2012 03:20:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.539
X-Spam-Level:
X-Spam-Status: No, score=-0.539 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_UK=1.749, HOST_MISMATCH_NET=0.311]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WpE6tGaM+kGb for <idr@ietfa.amsl.com>; Sat, 8 Dec 2012 03:20:59 -0800 (PST)
Received: from smtp.demon.co.uk (mdfmta010.mxout.tbr.inty.net [91.221.168.51]) by ietfa.amsl.com (Postfix) with ESMTP id 2A1CE21F8751 for <idr@ietf.org>; Sat, 8 Dec 2012 03:20:58 -0800 (PST)
Received: from mdfmta010.tbr.inty.net (unknown [127.0.0.1]) by mdfmta010.tbr.inty.net (Postfix) with ESMTP id 6B5666F843F; Sat, 8 Dec 2012 11:20:57 +0000 (GMT)
Received: from mdfmta010.tbr.inty.net (unknown [127.0.0.1]) by mdfmta010.tbr.inty.net (Postfix) with ESMTP id 50A916F8421; Sat, 8 Dec 2012 11:20:57 +0000 (GMT)
Received: from hestia.halldom.com (unknown [80.177.246.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mdfmta010.tbr.inty.net (Postfix) with ESMTP; Sat, 8 Dec 2012 11:20:57 +0000 (GMT)
Received: from hyperion.halldom.com ([80.177.246.170] helo=HYPERION) by hestia.halldom.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from <chris.hall@highwayman.com>) id 1ThISm-0005dg-Eb; Sat, 08 Dec 2012 11:20:56 +0000
From: Chris Hall <chris.hall@highwayman.com>
To: idr@ietf.org
References: <20121121191321.6164.6887.idtracker@ietfa.amsl.com> <50AD2986.90705@cisco.com> <058b01cdd3b4$9f5193b0$ddf4bb10$@highwayman.com> <8ED5B0B0F5B4854A912480C1521F973A0F4940@xmb-rcd-x13.cisco.com> <94913EE5-2864-4EE2-B474-9631430B1E22@ericsson.com> <068701cdd478$2cf01cf0$86d056d0$@highwayman.com> <CAEGVVtBy-zdLz8hVajLnuAqgzfgQHrseK4r-N9=pOZGtqV7LbA@mail.gmail.com>
In-Reply-To: <CAEGVVtBy-zdLz8hVajLnuAqgzfgQHrseK4r-N9=pOZGtqV7LbA@mail.gmail.com>
Date: Sat, 08 Dec 2012 11:20:50 -0000
Organization: Highwayman
Message-ID: <074d01cdd536$173f5830$45be0890$@highwayman.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
thread-index: AQHwJ9rDNhpCAk7gfRWZlMlTSLUu6QFwpw6KAjDRnx0CVlUcVAFHaBeAARUnQBoBYBPk8Zd8bHrQ
Content-Language: en-gb
X-MDF-HostID: 3
Subject: Re: [Idr] I-D Action: draft-ietf-idr-error-handling-03.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
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: Sat, 08 Dec 2012 11:20:59 -0000

Shyam Sethuram wrote (on Fri 07-Dec-2012 at 21:56 +0000):
...
> One attribute follows another. There's really no way to tell
> what pairs of octets are really acceptable as Flags and Type.
 
Currently, for both known and unknown Types there are some (small)
restrictions on the Flags, and repeat Types are invalid.  However
strong these cross-checks are, the draft relaxes them.

For known Types there are known restrictions on the length.  The draft
relaxes all those cross-checks too.

...
> You can reset the session at this point if you haven't come
> across MP_REACH so far and know that IPv4 NLRI length is 0.
 
Indeed.  If you have a messed up set of attributes and no NLRI in your
hands, then it's fair to assume that some NLRI have been lost, so
session-reset is the only way forward.

This is one of the few unambiguous cases.

...
> IMO, MP_UNREACH_NLRI does not enter the picture here. The
> test for NLRI presence for the scenario you described is
> limited to plain IPv4 NLRI and/or MP_REACH_NLRI.
 
I suggest that failing to withdraw some routes is worse than failing
to install or update the attributes of some routes.

Suppose an MP_UNREACH_NLRI was sent, but is obscured by some broken
attribute.  If the code takes the view that MP_UNREACH_NLRI do not
matter, then routes which the sender knows should not be used, may
continue to be installed and advertised by the receiver -- and may
stay that way "forever".

Conversely, with an MP_REACH_NLRI the receiver may (a) not install a
new route (which is effectively "treat-as-withdraw"), or (b) not
update an existing route (which is bad, but may not actually matter).

Chris