Re: New BFD Authentication Optimization draft draft-mahesh-bfd-authentication-00

Jeffrey Haas <jhaas@pfrc.org> Wed, 04 March 2015 21:19 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3177D1A891B for <rtg-bfd@ietfa.amsl.com>; Wed, 4 Mar 2015 13:19:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.578
X-Spam-Level:
X-Spam-Status: No, score=-1.578 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 oQPylUYmN6zJ for <rtg-bfd@ietfa.amsl.com>; Wed, 4 Mar 2015 13:19:12 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id 5D2F71A890B for <rtg-bfd@ietf.org>; Wed, 4 Mar 2015 13:19:12 -0800 (PST)
Received: by slice.pfrc.org (Postfix, from userid 1001) id 1175AC1B5; Wed, 4 Mar 2015 16:19:12 -0500 (EST)
Date: Wed, 04 Mar 2015 16:19:12 -0500
From: Jeffrey Haas <jhaas@pfrc.org>
To: Manav Bhatia <manavbhatia@gmail.com>
Subject: Re: New BFD Authentication Optimization draft draft-mahesh-bfd-authentication-00
Message-ID: <20150304211911.GA9406@pfrc>
References: <BAY176-W28F0D2D92D57BFDD165555FA230@phx.gbl> <20150224211328.GF25639@pfrc> <CAG1kdoi79yg5+HW7KY76anp6QMvsgtWw8iHkvB=5zPRQN5xX_A@mail.gmail.com> <7347100B5761DC41A166AC17F22DF1121B91363E@eusaamb103.ericsson.se> <CAG1kdojdJfV_KO=TMPSDK6=4DRvR7JQgOnoOkcnvQ=76E0wwiA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAG1kdojdJfV_KO=TMPSDK6=4DRvR7JQgOnoOkcnvQ=76E0wwiA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-bfd/reuV_hFOag3OG-Yu_qmL7HHzxHk>
Cc: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 21:19:13 -0000

Manav,

On Wed, Feb 25, 2015 at 06:05:18AM +0530, Manav Bhatia wrote:
> It requires no changes on the RX side. I concede that it does require some
> changes on the TX side.
> 
> If somebody tells me that this requires changes on the RX side as well,
> then that vendor's implementation is broken! :-)

Thinking about this a bit further, I think this is partially a matter that
authentication transitions are "under-specified" in RFC 5880.  

Basically, if you have authentication enabled on your session as a receiver,
and you don't see a packet coming in that you're expecting to be
authenticated, you'd probably just ignore it.

What I believe you're saying in that first sentence almost sounds like
you're saying that the receiver should just trust the auth bit. :-)  I
suspect you don't mean that.

My observation is that implementations likely have additional rules about
when they expect to receive authenticated packets.  This could be modeled as
a state variable for the general packet reception rules, an overlay on the
BFD FSM, whatever.  There's expectations that must be kept in sync.

The proposal in the draft as written are a bit vague as to when things can
turn on, turn off the authentication bit.  I think in fairness to the WG to
evaluate the proposal more fully, those details should be described in more
detail.

As an aside, I've made a few inquiries as to the caching suggestion I had
made previously.  It seems at least one implementation is already doing some
of that work.  I'm awaiting more details before pursuing that direction
further.

--  Jeff