Re: [Isis-wg] [karp] Question regardingdraft-chunduri-isis-extended-sequence-no-tlv-00

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Sat, 31 March 2012 03:48 UTC

Return-Path: <ginsberg@cisco.com>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32BE821F8562; Fri, 30 Mar 2012 20:48:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.988
X-Spam-Level:
X-Spam-Status: No, score=-9.988 tagged_above=-999 required=5 tests=[AWL=0.611, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V3th6XlLXtxV; Fri, 30 Mar 2012 20:48:28 -0700 (PDT)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 7710A21F855F; Fri, 30 Mar 2012 20:48:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=ginsberg@cisco.com; l=3006; q=dns/txt; s=iport; t=1333165708; x=1334375308; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to:cc; bh=sMj8tA7YKzMNeTYvTjlflccjaf2YDpPZ6AusOTHfmWI=; b=XTK60gkCHTyo6pXmGh++DuaUFuhuJXKkULa1HLwNQDM3IfLnawsVUN8G /MmdYOEiT5E5Bv35C8oWnqDvpSOhoJz9lpH32MHliCoFKy7C5fe7wEJeX 4iW3ZXH6cpig1Npvx8wJDbl1zfIC6mOVxluALZLmGwru6Wtvn5ZaQ/vqO E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAGB+dk+rRDoJ/2dsb2JhbABFuHmBB4IJAQEBBBIBHQo/DAQCAQgRBAEBCwYXAQYBRQkIAgQBEggTB4dmAZtBnnKLEoUfYwSIWJtQgWiDB4E2
X-IronPort-AV: E=Sophos;i="4.75,347,1330905600"; d="scan'208";a="35893855"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-3.cisco.com with ESMTP; 31 Mar 2012 03:48:11 +0000
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by mtv-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id q2V3mBnb005574; Sat, 31 Mar 2012 03:48:11 GMT
Received: from xmb-sjc-222.amer.cisco.com ([128.107.191.106]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 30 Mar 2012 20:48:11 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 30 Mar 2012 20:48:09 -0700
Message-ID: <AE36820147909644AD2A7CA014B1FB52112B4BCA@xmb-sjc-222.amer.cisco.com>
In-Reply-To: <7C362EEF9C7896468B36C9B79200D8350D02E41D5D@INBANSXCHMBSA1.in.alcatel-lucent.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [karp] [Isis-wg] Question regardingdraft-chunduri-isis-extended-sequence-no-tlv-00
Thread-Index: AcyVD3r+AHoMB7E2R0+4FJMQgKrozAAACfDQHh1xsYAAGkt94AAFMrTQAAJooMAAEcn4IAAkpaZwAAF6EGA=
References: <AE36820147909644AD2A7CA014B1FB520FB85CA7@xmb-sjc-222.amer.cisco.com><4F31FB49-B9B2-492E-BC9E-A32986E4BCF0@cisco.com><AE36820147909644AD2A7CA014B1FB520FB85E04@xmb-sjc-222.amer.cisco.com><A68AF4AA-EF26-4298-BAD2-1F58890D3E5A@cisco.com><AE36820147909644AD2A7CA014B1FB520FB85E13@xmb-sjc-222.amer.cisco.com><F6B7DD15-9B50-46EF-9CEC-C6C46E245A7F@cisco.com><4EA9D09A.6070206@googlemail.com><E7F32C60-DE04-400A-BBE9-419FA11EF96D@cisco.com><AE36820147909644AD2A7CA014B1FB520FB861ED@xmb-sjc-222.amer.cisco.com><D07B7651-E3DC-4AC5-8929-0704663F5ABD@cisco.com><AE36820147909644AD2A7CA014B1FB520FB86204@xmb-sjc-222.amer.cisco.com><D1D8138DDF34B34B8BC68A11262D10791B8DA39007@EUSAACMS0701.eamcs.ericsson.se><AE36820147909644AD2A7CA014B1FB52111F8F3E@xmb-sjc-222.amer.cisco.com><D1D8138DDF34B34B8BC68A11262D10791B8DA396F5@EUSAACMS0701.eamcs.ericsson.se><AE36820147909644AD2A7CA014B1FB52112B4794@xmb-sjc-222.amer.cisco.com> <D1D8138DDF34B34B8BC68A11262D10791B8DA39790@EUSAACMS0701.eamcs.ericsson .se> <7C 362EEF9C7896468B36C9B79200D8350D02E41D5D@INBANSXCHMBSA1.in.alcatel-lucent.com>
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: "Bhatia, Manav (Manav)" <manav.bhatia@alcatel-lucent.com>, Uma Chunduri <uma.chunduri@ericsson.com>, "Naiming Shen (naiming)" <naiming@cisco.com>
X-OriginalArrivalTime: 31 Mar 2012 03:48:11.0319 (UTC) FILETIME=[17D27C70:01CD0EF1]
Cc: Mike Shand <imc.shand@googlemail.com>, isis-wg@ietf.org, karp@ietf.org
Subject: Re: [Isis-wg] [karp] Question regardingdraft-chunduri-isis-extended-sequence-no-tlv-00
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF IS-IS working group <isis-wg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/isis-wg>
List-Post: <mailto:isis-wg@ietf.org>
List-Help: <mailto:isis-wg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 31 Mar 2012 03:48:29 -0000

Indeed, the deployment issues are another thing that is troubling -
especially in the case of LSPs. I don't think this extension can be
safely enabled for LSPs unless all routers in the network support it.
Consider this simple example:

   R1----R2----R3

R1 does NOT support the extension, but R2 and R3 do support the
extension.

All routers have an LSP originated by R3 - call it R3.00-00 Seq #10 ESSN
# 50

An attacker has an old LSP from a previous incarnation of R3. Call it
R3.00-00 Seq #20 ESSN # 40.
 
The attacker injects this replayed LSP into the network at R1. As the
sequence # is greater than the copy in the local database R1 accepts the
replayed LSP and then floods it to R2. R2 however rejects the replayed
LSP because it has an older ESSN #. LSPDB is now inconsistent between R1
and R2/R3. This condition will persist until R3 generates a new LSP with
sequence # > 20 or until the replayed LSP on R1 ages out.

I think there are similar constraints as regards the use of the
extension in IIHs and SNPs - though in that case it is only necessary to
upgrade all routers on a particular link - and probably support enabling
the extension on a per link basis.

Note that if not all ISs on a LAN segment support the extension, then a
replay attack could result in an inconsistent set of neighbors and
multiple DISs might be elected, rendering the LAN unreliable for
forwarding.

There may be ways to protect against the perils of partial deployment -
which it would be good if the draft addressed - but I do think full
deployment is required for the feature to be enabled.

   Les

> -----Original Message-----
> From: Bhatia, Manav (Manav) [mailto:manav.bhatia@alcatel-lucent.com]
> Sent: Friday, March 30, 2012 7:40 PM
> To: Uma Chunduri; Les Ginsberg (ginsberg); Naiming Shen (naiming)
> Cc: Mike Shand; isis-wg@ietf.org; karp@ietf.org
> Subject: RE: [karp] [Isis-wg] Question
regardingdraft-chunduri-isis-extended-
> sequence-no-tlv-00
> 
> Hi Uma,
> 
> > [Uma]: I would only say, just because we  have an in-built
> > recovery, you can't assume a mechanism which mitigates this
> > threat in first place has low ROI. And coming to the
> > solution,  this optional TLV introduce neither complexity nor
> > introduce significant overhead in processing. So I didn't
> > quite understand your claim of "low" ROI.
> 
> Well it does introduce an additional burden on the vendors to
implement and
> test this feature. It also places a huge burden on operators to see
the
> impact of deploying this feature. There is no flag day where all
routers are
> upgraded with the new image and you might have to deal with cases
where there
> is a mix of routers that support and don't support this feature. You
will
> have to define some mechanism on how this needs to work. I don't say
its
> unachievable - I am trying to tell you what Les could possibly be
alluding to
> when he mentions "low" ROI.
> 
> Cheers, Manav