Re: [Isis-wg] draft-decraene-isis-lsp-lifetime-problem-statement-00.txt

David Lamparter <equinox@diac24.net> Tue, 21 July 2015 10:30 UTC

Return-Path: <equinox@diac24.net>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 075981B2D6D for <isis-wg@ietfa.amsl.com>; Tue, 21 Jul 2015 03:30:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] 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 MYp3Kew4RXFc for <isis-wg@ietfa.amsl.com>; Tue, 21 Jul 2015 03:30:46 -0700 (PDT)
Received: from eidolon.nox.tf (eidolon.nox.tf [85.239.127.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9A1C1B2D76 for <isis-wg@ietf.org>; Tue, 21 Jul 2015 03:30:46 -0700 (PDT)
Received: from equinox by eidolon.nox.tf with local (Exim 4.85) (envelope-from <equinox@diac24.net>) id 1ZHUoe-0015HX-At for isis-wg@ietf.org; Tue, 21 Jul 2015 12:30:29 +0200
Date: Tue, 21 Jul 2015 12:30:28 +0200
From: David Lamparter <equinox@diac24.net>
To: "isis-wg@ietf.org list" <isis-wg@ietf.org>
Message-ID: <20150721103028.GR620419@eidolon>
References: <770_1436211470_559AD90E_770_16843_1_36185c15-983d-4b98-8b77-109c5a808142@OPEXCLILMA2.corporate.adroot.infra.ftgroup>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <770_1436211470_559AD90E_770_16843_1_36185c15-983d-4b98-8b77-109c5a808142@OPEXCLILMA2.corporate.adroot.infra.ftgroup>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/isis-wg/B7zUYwxBNrV0mQqqlT7gs3ndPlA>
Subject: Re: [Isis-wg] draft-decraene-isis-lsp-lifetime-problem-statement-00.txt
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Jul 2015 10:30:49 -0000

On Mon, Jul 06, 2015 at 07:37:44PM +0000, bruno.decraene@orange.com wrote:
> Please find below a draft describing the problem statement with regards to the possible corruption of the LSP lifetime.
> https://tools.ietf.org/html/draft-decraene-isis-lsp-lifetime-problem-statement-00

Just wondering - PSNP and CSNP packets have the lifetime and can be
authenticated.  What we want to guard against is LSPDUs on a link that
change the remaining lifetime of an unchanged LSP.  How about this:

- create new capability "restrictive received LSPDU processing" to be
  deployed on a per-circuit level
- under new capability, prohibit processing LSPDUs whose lifetime is not
  either in a small window of the expected value, or 0 / purging
- if the lifetime of a LSP is supposed to actually change, the sending
  system instead sends an (authenticated) PSNP

Unfortunately, this only helps with a narrow attack scenario where there
is an untrusted party on a link that can observe and send modified
packets, but not modify them inflight or drop them.  Similarly, if there
is corruption on the link that affects the first instance of a LSP, this
doesn't help.

Either way - just throwing this out as an idea.  More generically,
keeping LSPDUs as they are, throwing around SNPs (probably with slightly
changed per-circuit flooding semantics) might be part of a solution?
Maybe this mail sparks a thought in someone :)

Cheers,


-David