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

"Chris Hall" <chris.hall@highwayman.com> Sun, 09 December 2012 22:35 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 8156C21F8D2A for <idr@ietfa.amsl.com>; Sun, 9 Dec 2012 14:35:05 -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 zSdOeVs054IH for <idr@ietfa.amsl.com>; Sun, 9 Dec 2012 14:35:05 -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 AB37D21F8CED for <idr@ietf.org>; Sun, 9 Dec 2012 14:35:04 -0800 (PST)
Received: from mdfmta010.tbr.inty.net (unknown [127.0.0.1]) by mdfmta010.tbr.inty.net (Postfix) with ESMTP id 420F56F83E5; Sun, 9 Dec 2012 22:35:03 +0000 (GMT)
Received: from mdfmta010.tbr.inty.net (unknown [127.0.0.1]) by mdfmta010.tbr.inty.net (Postfix) with ESMTP id 1DA546F83B2; Sun, 9 Dec 2012 22:35:03 +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; Sun, 9 Dec 2012 22:35:02 +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 1ThpSf-0005fe-Rt; Sun, 09 Dec 2012 22:35:02 +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> <CAH1iCipfup-GEeJduBti_KHvX1pUZfmZLA3Zz5Y9Aw9xV3fQ9w@mail.gmail.com> <079901cdd601$9901b630$cb052290$@highwayman.com> <50C4D7EC.4070309@cisco.com> <CAH1iCiok=sp6=X0ZSAMqHHHCgM4z--tiTpLyKnze64c5M0ck3A@mail.gmail.com>
In-Reply-To: <CAH1iCiok=sp6=X0ZSAMqHHHCgM4z--tiTpLyKnze64c5M0ck3A@mail.gmail.com>
Date: Sun, 09 Dec 2012 22:34:56 -0000
Organization: Highwayman
Message-ID: <07dd01cdd65d$6d5d3520$48179f60$@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: AQHwJ9rDNhpCAk7gfRWZlMlTSLUu6QFwpw6KAjDRnx0CVlUcVAFHaBeAARUnQBoBYBPk8QGYNqrRAQ+Sq64BU0/mmgIDSabIl07I82A=
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: Sun, 09 Dec 2012 22:35:05 -0000

On Sun, Dec 9, 2012 at 1:26 PM, Enke Chen <enkechen@cisco.com> wrote:
> Hi, Chris:
>
> As I replied before, the receiver knows from parsing the path
> attributes whether the MP_REACH_NLRI and/or MP_UNREACH_NLRI is
> the first attribute in an UPDATE message.  It does not need a
> new capability to make that determination.

Well, yes, there is no escaping the fact that... if the receiver can
see an MP_REACH_NLRI attribute and it is the first attribute, the
receiver can be pretty sure that the sender sent an MP_REACH_NLRI
attribute, and (what's more) they sent it first.

The capability, in this case, serves only to provide a warm feeling
that the sender is actually doing what they have committed themselves
to.

But that's not really the purpose of the capability...

...the difficulty/ambiguity I'm trying to get past is: what conclusion
can the receiver draw if they do *not* see an MP_REACH_NLRI attribute
anywhere, and the attributes are broken.  At present the receiver
cannot tell whether:

  a) the sender sent an MP_REACH_NLRI attribute which is
     buried under the debris of the broken attribute(s),

or:

  b) the sender did not send an MP_REACH_NLRI attribute
     at all at all.

The purpose of the capability is to allow the receiver to know that
the answer is (b), because the sender is promising to send
MP_REACH_NLRI and/or MP_UNREACH_NLRI before any other attribute(s),
and hence neither of those attributes can be obscured by some other
broken attribute.

[Well... I guess we have to consider the possibility that the sender
fails to live up to their promise -- in which case the answer could
still be (a) but the receiver would assume (b).  My feeling is that
this case is not worth worrying about...] 

Similarly MP_UNREACH_NLRI on its own, and in combination with
MP_REACH_NLRI.

Clearly, if an UPDATE contains only vanilla IPv4 Unicast in the body
of the message (ie, not in any NLRI attribute), then
"treat-as-withdraw" can be applied to all the NLRI no matter how
broken the attributes -- because the NLRI in the body of the message
are quite separate from the attributes.

Where the sender always sends any NLRI attributes as the first
attributes, they are effectively separated from the rest of the
attributes.  However, the receiver has to *know* that is what the
sender will do in order to take advantage of it -- since, otherwise,
the sender is allowed to send attributes in any order.

That's where the capability comes in.

Chris