Re: [babel] Summary of the top-secret unicast Hellos meeting

Toke Høiland-Jørgensen <toke@toke.dk> Thu, 20 July 2017 16:07 UTC

Return-Path: <toke@toke.dk>
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 1328F13192B for <babel@ietfa.amsl.com>; Thu, 20 Jul 2017 09:07:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-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=toke.dk
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 nHuwQkekzo_O for <babel@ietfa.amsl.com>; Thu, 20 Jul 2017 09:07:01 -0700 (PDT)
Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (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 B7EF512F268 for <babel@ietf.org>; Thu, 20 Jul 2017 09:07:00 -0700 (PDT)
Date: Thu, 20 Jul 2017 18:06:47 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1500566813; bh=qb8LehHIFe3VMUY17o2t+hpQxXcjl+Jn1oatoYgEafs=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=HGzBmcZI0sRO7txYbAAEssgPsQMjEXarwKfSkTdt1wPR870+HXULHTsYEValY/48W ndmLFX4bFrdTEo8pLJDJVKYpD/VUqFIwxbdM8Bi33zeIqG+dSK8MghflChrREU8Juc ctFwVUDVv4OrqhwH3knHYM7pz5Ut0w8bZwAuAF6iIM5fQjIE0BF2V2VvHhijY9xHvM Q+YjEJyxiljhYshi/xfn5qJJIHdOkok798LO8072WJUA0bxJpcm130Hf3nvdYDssqL O5p+PYpqOElq8iWG/DDS7xNItUf835D+drT0c+uml5FhnomueHx67Q2MmGLT3md85m /7emH5S7ZebRA==
In-Reply-To: <87lgnjmc3i.wl-jch@irif.fr>
References: <87mv80xv95.wl-jch@irif.fr> <87vamnme5y.fsf@toke.dk> <87lgnjmc3i.wl-jch@irif.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
To: Juliusz Chroboczek <jch@irif.fr>
CC: babel@ietf.org
From: Toke Høiland-Jørgensen <toke@toke.dk>
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <6AD9E808-66F3-40CE-9B78-17733BA41F12@toke.dk>
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/6sV1lbcmsdXlkX-YK5aB0ok7AkU>
Subject: Re: [babel] Summary of the top-secret unicast Hellos meeting
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: Thu, 20 Jul 2017 16:07:03 -0000


On 20 July 2017 16:12:17 CEST, Juliusz Chroboczek <jch@irif.fr> wrote:
>> https://github.com/tohojo/bird/tree/babel-unicast
>
>Looks good to me.  Encapsulating the Hello history into a struct is a
>good
>idea, I might use the same factoring for the specification text.

Yeah, that could probably work for text as well 

>Could you please explain ifa->cf->unicast_mode?

That's the unicast configuration setting. At present, it's just a binary setting (called 'prefer unicast'), which will enable the sending of unicast hellos, and switch to using the unicast hello history to compute the cost to any peer that sends them.

I'm planning to expand the option to also support disabling multicast entirely, and to support specifying unicast peers in the configuration file. I have also yet to add support for sending other TLVs as unicast.

>Any ideas about improving link quality estimation would be useful.

Yeah, haven't gotten to that part yet...

-Toke