[secdir] Re: Secdir early review of draft-ietf-bfd-optimizing-authentication-16
Jeffrey Haas <jhaas@pfrc.org> Wed, 19 June 2024 17:39 UTC
Return-Path: <jhaas@pfrc.org>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 816B5C14F68F; Wed, 19 Jun 2024 10:39:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7rnww70XUNRh; Wed, 19 Jun 2024 10:39:41 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id EDABCC14F680; Wed, 19 Jun 2024 10:39:37 -0700 (PDT)
Received: from smtpclient.apple (172-125-100-52.lightspeed.livnmi.sbcglobal.net [172.125.100.52]) by slice.pfrc.org (Postfix) with ESMTPSA id C6DE91E039; Wed, 19 Jun 2024 13:39:36 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_3FB9E519-92F0-4FFC-9251-9DE461D77B8B"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\))
From: Jeffrey Haas <jhaas@pfrc.org>
In-Reply-To: <171863246380.36317.13945608266304472653@ietfa.amsl.com>
Date: Wed, 19 Jun 2024 13:39:36 -0400
Message-Id: <F52920D3-7C84-4754-9625-0656EB6EE442@pfrc.org>
References: <171863246380.36317.13945608266304472653@ietfa.amsl.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.3696.120.41.1.8)
Message-ID-Hash: BYN6VZSLDD6XWVP5BPKTI4O3NZKB6RYF
X-Message-ID-Hash: BYN6VZSLDD6XWVP5BPKTI4O3NZKB6RYF
X-MailFrom: jhaas@pfrc.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: secdir@ietf.org, draft-ietf-bfd-optimizing-authentication.all@ietf.org, rtg-bfd@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [secdir] Re: Secdir early review of draft-ietf-bfd-optimizing-authentication-16
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/YP0U2uI8SpNcdEj5v7SzVGecwtk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>
Stephen, Thanks for your review. On Jun 17, 2024, at 9:54 AM, Stephen Farrell via Datatracker <noreply@ietf.org> wrote: > > Generally the idea seems to be to avoid spending CPU on hashing except for cases where the > state changes, and with periodic checks that BFD auth is still working. That seems like an > ok idea to me, given the kinds of authentication that are defined for BFD. > > - For security reviewers, it'd be great if there were a reference to something that sets out > the performance requirements for BFD, and justifies the claims that hashing is such a > burden. That's counterintuitive for people (like me) who consider hashing as fast. (And > md5 as broken, but that's a different matter:-) That text probably shouldn't be here but > it'd be good if there were a reference to it in most BFD security consdiderations sections. The analysis you're looking for is somewhat covered under RFC 7492, which was done as part of the KARP Working Group tasks. Due to that specific focus, while still a valuable document, we've generally not cited it as a primary reference. The property you're bothered by is that these "cheap" hashes, when done for a modest to large number of BFD sessions on a linecard that is otherwise wanting that CPU for other useful work related to forwarding is an attack against the linecard doing its actual job. So, there's a need to balance the costs of strong enough authentication for a BFD scaled scenario vs. the utility that the authentication brings. It's worth noting that section 6 of RFC 7492 notes "hallway conversation" that this optimization draft is addressing. :-) > > - I wondered if the "optimized" terminology is best - say if someone figures out some new > way to optimise things using a different mechanism (e.g. some new way of amortising the cost > of hashing over more packets, or multiple links or something), wouldn't this terminology > then be a bit of a pain? Maybe it'd be better to name this as as a periodic or selective > authentication mechanism or something? While I agree with and am sympathetic to this point, it'd take strong Working Group consensus to change the name. I like "selective authentication". The issue you note is the usual caveat at naming a thing that may have a followup. How many "next generation" technologies got the next-next? Note that the following comments are contained in an upcoming pull request in the github repo for this document: https://github.com/bfd-wg/optimized-auth/tree/jhaas/17-comments <https://github.com/bfd-wg/optimized-auth/tree/jhaas/17-comments> > > - The description in the yang text of the retry-interval seemed odd to me. It says "interval > of time after which a strong authentication should be enabled..." but should that be more > like "re-tried" rather than "enabled"? How about: + "Interval of time after which strong authentication + should be utilized to prevent an on-path-attacker attack. ? > > - The security considerations says "If this interval is set very low, or very high, then it > will make optimization worthless." It might be worth stating that a very high interval value > would allow an attacker that much time to muck about (with whatever attack they're trying), > but I don't have a concrete attack in mind, so feel free to ignore this. How about: If this interval is + set very low, the utility of these optimization procedures are + lessened. If this interval is set very high, attacks detected + by the strong authentication mechanisms may happen overly + late. > > - looks like a typo in section 4: " there is problems" maybe "there are problems"? Fixed, thanks. -- Jeff
- [secdir] Secdir early review of draft-ietf-bfd-op… Stephen Farrell via Datatracker
- [secdir] Re: Secdir early review of draft-ietf-bf… Jeffrey Haas
- [secdir] Re: Secdir early review of draft-ietf-bf… Stephen Farrell
- [secdir] Re: Secdir early review of draft-ietf-bf… Christian Huitema
- [secdir] Re: Secdir early review of draft-ietf-bf… Jeffrey Haas