Re: [babel] Unscheduled Hellos [was: Cutoff date for rfc6126bis is 3 July]

David Schinazi <dschinazi@apple.com> Wed, 21 June 2017 05:49 UTC

Return-Path: <dschinazi@apple.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 D1A97131602 for <babel@ietfa.amsl.com>; Tue, 20 Jun 2017 22:49:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.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 LL8tkMw0tJH7 for <babel@ietfa.amsl.com>; Tue, 20 Jun 2017 22:49:50 -0700 (PDT)
Received: from mail-in7.apple.com (mail-out7.apple.com [17.151.62.29]) (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 DE6901294F3 for <babel@ietf.org>; Tue, 20 Jun 2017 22:49:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1498024190; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ka5HQxds53RhTioU5t5UUxUF20NiX6cLE7/vBPDJYF0=; b=TsRvWceJ0Cis/cGd7p1Kx29kERNs/M5I0hOM0xYvHWvTNax/6sz4GS8cf4D2A4LX /oUL58NChyURGF3xQW1qUUUjdYzX4kWq/C6lAArNgpU4v9au/8lBmQHqQ/UTXonH 1h+ZH0naX7uc7WLqz2EAmf2Wldbnl5tNCNAWqBTEhfmsxddLtOkO9IF4xJHmv0CC E/vx8Vepj6mQxv2rSf9Bm6g/bJFpLrHUyASpYLgucwH1yEZxMOZ3ih6b646hNqxe gZM5uj3k21+7sRi9kGhtorJRyrEm/PSlhAGIuSIS7DT0mZBdSujQK3g6zjQLUe8W 0yDriLc7YVx9/Re7yAGtIQ==;
Received: from relay5.apple.com (relay5.apple.com [17.128.113.88]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in7.apple.com (Apple Secure Mail Relay) with SMTP id 9E.4C.07949.CF80A495; Tue, 20 Jun 2017 22:49:50 -0700 (PDT)
X-AuditID: 11973e16-bf3fb70000001f0d-ee-594a08fc5eac
Received: from koseret (koseret.apple.com [17.151.62.39]) by relay5.apple.com (Apple SCV relay) with SMTP id E4.57.09344.CF80A495; Tue, 20 Jun 2017 22:49:48 -0700 (PDT)
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_S90p42la3ei4ZiXnGllUvA)"
Received: from [17.234.37.68] (unknown [17.234.37.68]) by koseret.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170210 64bit (built Feb 10 2017)) with ESMTPSA id <0ORV00CTTUUXIK00@koseret.apple.com>; Tue, 20 Jun 2017 22:49:47 -0700 (PDT)
Sender: dschinazi@apple.com
From: David Schinazi <dschinazi@apple.com>
Message-id: <57176DCB-8539-4DDB-8D89-15A991D83C9A@apple.com>
Date: Tue, 20 Jun 2017 22:49:45 -0700
In-reply-to: <87shiutq1z.wl-jch@irif.fr>
Cc: Babel at IETF <babel@ietf.org>
To: Juliusz Chroboczek <jch@irif.fr>
References: <7ir2ynlrxs.wl-jch@irif.fr> <87wp8fzhqn.fsf@alrua-x1> <1E478C33-747C-4451-93D7-754EB9C59CD5@apple.com> <87k24dzk6t.fsf@alrua-x1> <A2F192F0-73E8-4299-8D9E-EA7EA3892277@apple.com> <87wp8dcbmj.wl-jch@irif.fr> <D8B89BD1-CC43-4DAB-B771-893BE2432AE2@apple.com> <87r2ykdfy8.wl-jch@irif.fr> <957DC386-7C82-4B1A-9D28-174E821CC823@apple.com> <87y3ss5nlg.fsf@alrua-x1> <87tw3fwjtt.wl-jch@irif.fr> <5CD7F43D-2FC0-4466-AFDE-FD968D9CC158@apple.com> <87shiutq1z.wl-jch@irif.fr>
X-Mailer: Apple Mail (2.3273)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrELMWRmVeSWpSXmKPExsUi2FAYofuPwyvSoPm2isWWRd0sFvNbl7E5 MHksWfKTyWPxlreMAUxRXDYpqTmZZalF+nYJXBnbn95jLZiiVbFhxxz2BsYPyl2MnBwSAiYS yw9eZexi5OIQEljNJLFh+z52mMTvD23MEIlVjBJbn25kA0nwCghK/Jh8jwXEZhYIkzjesJMd oqiZSeLM3GZWkISwgLRE14W7QDYHB5uAlsSBNUYQvTYSz3bsZIcoCZVoal0DZrMIqEq8XzeH CcTmFNCQ2LLuFTvEfCWJ1d/uMIPYIgIqEsunPQOLCwk8Y5aY1y8LcaisxK3Zl5gh7CNsEpd+ Gk9gFJqF5NRZSE6FsLUkvj9qBYpzANnyEgfPy0KENSWe3fsEVaIt8eTdBdYFjGyrGIVyEzNz dDPzzPUSCwpyUvWS83M3MYIiYbqd2A7Gh6usDjEKcDAq8fBGKHtGCrEmlhVX5h5ilOZgURLn 1dkMFBJITyxJzU5NLUgtii8qzUktPsTIxMEp1cDovKLXh/f/IoFmn59/6tKFFXYc239qye8N zyx2TW78yv5Th1GM3+PeF18HSc75q+/zzHiuETlJt1LXkeNp2k6h3R+6j3ZnhURN6J56oPbA 2uub84u47zbxa7z2bpyn5RXqYbx+4wulO3+KpsR8atK3TOTSWpeteuaF4NFNuxu2zJ5WsHLl xin/lFiKMxINtZiLihMBKwmxX2UCAAA=
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLIsWRmVeSWpSXmKPExsUiON1OXfcPh1ekwZNbYhZbFnWzWMxvXcbm wOSxZMlPJo/FW94yBjBFcdmkpOZklqUW6dslcGVsf3qPtWCKVsWGHXPYGxg/KHcxcnJICJhI /P7QxtzFyMUhJLCKUWLr041sIAleAUGJH5PvsYDYzAJhEscbdrJDFDUzSZyZ28wKkhAWkJbo unAXyObgYBPQkjiwxgii10bi2Q6QepCSUImm1jVgNouAqsT7dXOYQGxOAQ2JLetesUPMV5JY /e0OM4gtIqAisXzaM7C4kMAzZol5/bIQh8pK3Jp9iXkCI/8sJOfNQnIehK0l8f1RK1CcA8iW lzh4XhYirCnx7N4nqBJtiSfvLrAuYGRbxShQlJqTWGmql1hQkJOql5yfu4kRFLoNhRE7GP8v szrEKMDBqMTDy6DoGSnEmlhWXJl7iFGCg1lJhFf7LVCINyWxsiq1KD++qDQntfgQ40RGoCcn MkuJJucDIyuvJN7QxMTAxNjYzNjY3MSclsJK4rx904EuEkhPLEnNTk0tSC2COYqJg1OqgXHW Bp67Jh3HTwb15Ba8OPzwxZGGjo3//nWL9j691dV6KC74YHZ58NKDvy/aTZM8eDWvin91ONfV tVPEJ7rLLi8zeX7sGrtlf/gnhzNvTn/N1GWrzkqfMcFib/3aPV4TUrwCzt7n9Yr2kbKOi91z Um1L9TeHFdFhplv+Zggbcb/tt3nIpzBtQqwSS3FGoqEWc1FxIgCxwVEg0AIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/LIdEqcjb_p2sYg2_i-nZaq3_8ZY>
Subject: Re: [babel] Unscheduled Hellos [was: Cutoff date for rfc6126bis is 3 July]
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: Wed, 21 Jun 2017 05:49:53 -0000

> On Jun 20, 2017, at 12:30, Juliusz Chroboczek <jch@irif.fr> wrote:
> 
> Rather than "Periodic Hello", I'm going to use "Scheduled Hello".  This is
> consistent with Updates, and doesn't imply that jitter is illegal.

Sure, I updated the branch.

> I'm sorely tempted to keep the seqno in unscheduled Hellos, since it makes
> the text simpler.  We can remove them later when we have implementation
> experience.

I thought about this, implemented it, thought about it some more, and
I feel less strongly about it now. Keeping the seqno does not make the
code that much more complex and does simplify the spec.
So I changed the branch to reflect that.

> Folks, I'd really like to avoid the need for Interval=0.  If you can find a good
> way to implement the two use cases above with the existing mecha- nisms,
> I'll be thrilled.  On the other hand, Interval=0 is just a small amount of spec
> (don't reset the timer when Interval=0, and don't tweak the Hello history),
> and a very small amount of code, so we might as well go for it.


I agree, but couldn't come up with a better way without unscheduled hellos.
Unscheduled hellos (with seqno) seem like a good solution to me.

> The way to deal with Unscheduled Hellos for link-quality estimation should
> not be normative -- the only normative condition is that a link that has
> not received a Hello recently (of any kind) has infinite cost.  The term
> "link-quality" should not appear in the normative part of the document.

Agreed, I fixed that

> I'm going to redo Appendix A, since I disagree with much of your advice.
> 
> Ok?

Send some text!


Updated branch is here:
https://github.com/jech/babel-drafts/pull/3/files <https://github.com/jech/babel-drafts/pull/3/files>

David Schinazi