Re: [babel] What's up with HNCP security?

Ted Lemon <mellon@fugue.com> Mon, 29 May 2017 01:27 UTC

Return-Path: <mellon@fugue.com>
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 356F31294D2 for <babel@ietfa.amsl.com>; Sun, 28 May 2017 18:27:16 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.com
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 UYVwChQZookT for <babel@ietfa.amsl.com>; Sun, 28 May 2017 18:27:14 -0700 (PDT)
Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D11EB1294D8 for <babel@ietf.org>; Sun, 28 May 2017 18:27:13 -0700 (PDT)
Received: by mail-qt0-x22e.google.com with SMTP id v27so40648124qtg.2 for <babel@ietf.org>; Sun, 28 May 2017 18:27:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=M3Tko8p1VpsQgx/+0FEAj9Npjrey4uFYPc4W4zbp190=; b=yJyI27pXM3dKtbfcexju69G4GuICSNdrgHMHVs/uZ4K46Zi60y1bdC8gkLIa5/nthS DHlWHsygQ3zAl8SC5cyVXnhNr2V/1JwF9kgnefF0M9OyQqQxwNQcwQOPfycdhZiNCY8/ Vf7zZjthiHOLdsG1GQc2l7l9L6sOokpMpWRBsH2YmyOcMPi1gZLomPo1KlkWrPSNdeBM EAWm67ehH5c/g+sMwsLWPVesFg175JQU3Oqs0JAhGMZvBkrUxGmdovs6mY60KTZDFrMj 9Br4ti2Q/hMQSHibbQXNIo8C8+HpA4dKSfBjcPSZWkapf8pDMi3sRG7i1zNM7TN7Nn7L 8joQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=M3Tko8p1VpsQgx/+0FEAj9Npjrey4uFYPc4W4zbp190=; b=ZsFJTSIEu73SzhzWpbJb1h+717JQ+Tc74Z0fVNbrRPVELRgKwsRXYmgJQjOJfFPcgE zmMTcUbwdpcw3Xm+JJbVcMfACvwp5qv5mbgRTA2kImazS78S5QSkSFVH2l+wA5DiLQaZ dr1KPUJYrR3K5+cOnOBB0obO4fcZdRTE3S89TPgRQRqyOZ7239jd1ZGaozoGieDgYmsg Eza+JwcGJ3csJI973DROBmlYfipz+K048icVfyZoTKoAI0MTXbaui5ox3YTV0mPQqKbW HA3VBN9HnXhRm76EgvOImEeJbwt+e7a3b5td1UX2UNGyVIvrb9SEEidP3hUinW1kCJok wkSA==
X-Gm-Message-State: AODbwcA4vOEnVx5DzFpRynfrHqL9uu3vMlaOUDsPpnMh1iLTImNvdZ/D IpWuul+AXHyVmTviIQCDDw==
X-Received: by 10.200.55.145 with SMTP id d17mr16921711qtc.57.1496021232963; Sun, 28 May 2017 18:27:12 -0700 (PDT)
Received: from [10.0.30.228] (c-73-167-64-188.hsd1.nh.comcast.net. [73.167.64.188]) by smtp.gmail.com with ESMTPSA id n35sm5436997qtc.55.2017.05.28.18.27.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 May 2017 18:27:12 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Ted Lemon <mellon@fugue.com>
In-Reply-To: <87shjoihnz.wl-jch@irif.fr>
Date: Sun, 28 May 2017 21:27:09 -0400
Cc: Markus Stenberg <markus.stenberg@iki.fi>, homenet-babel-sec@ietf.org, babel@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <416AD4BB-7A24-41D4-9C91-96B23BE65EF3@fugue.com>
References: <87d1ask7d9.wl-jch@irif.fr> <B67775FF-31CB-42F6-ABDF-BD47BEA1DB56@iki.fi> <1F8BA8E0-7518-4288-B679-749906B1B19F@fugue.com> <87shjoihnz.wl-jch@irif.fr>
To: Juliusz Chroboczek <jch@irif.fr>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/3EenJj44pX2SKupp72-gfTO_Lig>
Subject: Re: [babel] What's up with HNCP security?
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 29 May 2017 01:27:16 -0000

> I was under the (perhaps mistaken) impression that asymmetric signing can
> be done just as well over multicast.  The reasons people want unicast
> hellos are multiple:

We concluded that asymmetric signing was too expensive, IIRC.

> Even for Stenberg-Schinazi security, it's not obvious to me why we need
> unicast Hellos -- it's only Updates that really need to be protected, if
> an attacker manages to fake a Hello he'll only be able to disrupt the
> link-quality estimation algorithm (which is only a DoS vector).

I will rely on your expertise here.   However, if the point is to identify the attacker, then being able to identify the attacker in a DoS attack is just as important.

>> Network wide keys are useless.
> 
> Depends on the size of the network, I guess.

Yes.   For networks with only two hosts, network-wide keys are adequate...

;)