Re: [babel] Minor clarification to HMAC

Markus Stenberg <markus.stenberg@iki.fi> Sat, 29 June 2019 11:01 UTC

Return-Path: <fingon@kapsi.fi>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 17B201200F3 for <babel@ietfa.amsl.com>; Sat, 29 Jun 2019 04:01:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.35
X-Spam-Level:
X-Spam-Status: No, score=-2.35 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kapsi.fi
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 wWCsyT4l99za for <babel@ietfa.amsl.com>; Sat, 29 Jun 2019 04:01:46 -0700 (PDT)
Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) (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 06C9012006F for <babel@ietf.org>; Sat, 29 Jun 2019 04:01:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=o2uVMiEPvIKCh5HFIZ+yxfYhzW6S90KpeJMYrnjjgLg=; b=pNUg4SMKsyTov5HLrpsis7GLrf hRvibHBUyoPgHtvzIN5RGDX48Oqg1fIiLk/EEOa5tZWl+x/NnawFqBeKTy7+LfJPcN0ewwFrsAkeV H9LgyFXPHPXI093+Vn95pJIpJcFQ0ltBMc9a9NByqXW3DIsn1ZvWtzyJ08OTcLujz2IR5Hw+qaowj Uy+sLzNFsP2m2+gVzaQeQ2U6PIxsOyNcxCFXzaMYKcaC615dZtngJjwTjgNhs2F5qSc5QczPIIgdv ceO9KLkUZtElsNLc60ewLOyWKFLDEHoi9nyhlC7b1DQsiI3rv0ynJyjRzM0BKm68RfDgy07BBlGsN trNNM6Sw==;
Received: from 91-155-69-60.elisa-laajakaista.fi ([91.155.69.60] helo=[192.168.42.210]) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <markus.stenberg@iki.fi>) id 1hhB71-0004ri-5t; Sat, 29 Jun 2019 14:01:43 +0300
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Markus Stenberg <markus.stenberg@iki.fi>
In-Reply-To: <874l481x2q.wl-jch@irif.fr>
Date: Sat, 29 Jun 2019 14:01:42 +0300
Cc: babel@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D71D4396-441A-401F-B16D-C02CB900806B@iki.fi>
References: <874l49j158.wl-jch@irif.fr> <6C3AA518-8EF8-493A-835D-DE096E75D07B@iki.fi> <87ef3c20fh.wl-jch@irif.fr> <3CFB1069-5307-40F2-89DD-CA82CE2976A1@iki.fi> <87a7e01yxe.wl-jch@irif.fr> <5154BFF0-4BE3-4F72-AAA4-AC65DEDF2A97@iki.fi> <877e941xu9.wl-jch@irif.fr> <2EACCFA6-6214-4C95-9951-873B9C0F4B98@iki.fi> <874l481x2q.wl-jch@irif.fr>
To: Juliusz Chroboczek <jch@irif.fr>
X-Mailer: Apple Mail (2.3445.104.11)
X-SA-Exim-Connect-IP: 91.155.69.60
X-SA-Exim-Mail-From: markus.stenberg@iki.fi
X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/ZnxUDyvsXH8M9gX_aesJkLq0Pxc>
Subject: Re: [babel] Minor clarification to HMAC
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Jun 2019 11:01:49 -0000

> On 29 Jun 2019, at 13.54, Juliusz Chroboczek <jch@irif.fr> wrote:
>> So at most you can have # of network size spurious replayed neighbour
>> table entries.
> Right.  We're hoping that implementations don't change their link-local IP
> addresses too often, i.e. that (genuine) link-locals are reasonably stable.

Well, I assume routers don’t really want to be private (some wifi nodes change macs frequently for privacy purposes).

>> No idea how limited implementations might behave with that (e.g. fixed
>> neighbour table size in a largish network with same HMAC key),
> 
> I'll add a note to the Security Considerations that implementations want
> to ensure that they fail gracefully when the neighbour table overflows
> (i.e. that they fail to establish any new adjacencies rather than
> crashing.)
> 
>> I think that given security consideration text it is fine then as long
>> as the behavior is mentioned somewhere.
> 
> Are you retracting your -1?

Yes, given the s.c. text is sensible. 

-Markus