Re: [babel] Shepherd Review of draft-ietf-babel-source-specific-04

Donald Eastlake <d3e3e3@gmail.com> Thu, 11 April 2019 02:14 UTC

Return-Path: <d3e3e3@gmail.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 8840C12008F for <babel@ietfa.amsl.com>; Wed, 10 Apr 2019 19:14:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level:
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 22uouDaCXuXA for <babel@ietfa.amsl.com>; Wed, 10 Apr 2019 19:14:36 -0700 (PDT)
Received: from mail-it1-x12e.google.com (mail-it1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 1BF3F12000F for <babel@ietf.org>; Wed, 10 Apr 2019 19:14:36 -0700 (PDT)
Received: by mail-it1-x12e.google.com with SMTP id y204so7073395itf.3 for <babel@ietf.org>; Wed, 10 Apr 2019 19:14:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bZ+I3lIpilFrHlweXJDQq7GtZuyY4rA7TZNWXglOWdY=; b=V/R+sF5cV9JvjuxSMinblmJGNj0FOFR2KqHaw5Oaun+AGzzBb+59JweGVldIepqeCM odEPCAhK/lhG987Eaeb4RFmOfH4DUw6O6CAtYUpo9kTMptdiNtIBxyyJWVg68gd1HGor YTn7GxuLnlbFcJAYMs/A4Q2JJbmcH4wlpB2jjL9MYsFMPmTRafsLxPuyetWA1LbJg1M6 N2rE2ijHEHetdeinMWI+9Sp+amXjzsHApOrueMC/ZtxzTSjZLdxk9XZ/Urd5iUeHL3oF asgykNdMaar3btlhEpUkReWfm87k944TFL/1+aTdVxoP6RX/tWpMLtf4yn5i/xZIz+RT 1MBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bZ+I3lIpilFrHlweXJDQq7GtZuyY4rA7TZNWXglOWdY=; b=s+srLpFDUe5KVu4mGl0/MpT4R52qg6b+Q9HPDHhpHVBbJrNpTL+JvtjjcKi73AWKPb TUzC6DmWur+kh1mQ28YC2hVLGYWJgU0tOemWc+zbTjLZ/vRR51LcGMNeiSaElLCbglIK spM1LqFTBWzrFT7nNqbktmP+Iygi/gNlIVcqH0RWGX+q7CW+uGIW4jCWWl2XgI3QGeBz tuSi2s1s+SVQUXJzo8ZzUW3Qq77HRzF76LOJl6jPYc0dSAIpmmihCASJrQvNXlW0ILvx q1LVPGuE9fjUxxPxxV6UkqXNNgm+E6ehRa0uPOzzbPVkJPKyVUtLTmXpiGus5nv56POT j7fg==
X-Gm-Message-State: APjAAAXw/SmLXzJS01YS+UhCcV0sVh5zuxF2QqY3yq0mcUATgfE2IYUK 38jSgKmYckwzi6d13wAOGWCwN5U1YkXnjWs/Uig=
X-Google-Smtp-Source: APXvYqz8KzQExRDeFGeU8DYbIG1nYidvItj2AvdBVKfa/csM8mST/MD93TokShXyiMITc9yVg2QyCViULvsPyK81Cvw=
X-Received: by 2002:a24:383:: with SMTP id e125mr5814498ite.96.1554948875328; Wed, 10 Apr 2019 19:14:35 -0700 (PDT)
MIME-Version: 1.0
References: <CAF4+nEEfEvg_ktoudURqvCPshrA8SzL+TMGjQm6vUOFX65q==A@mail.gmail.com> <874l76xhto.wl-jch@irif.fr> <874l76w21k.fsf@toke.dk> <871s2axfei.wl-jch@irif.fr> <87y34iulxd.fsf@toke.dk> <87r2a9x3dd.wl-jch@irif.fr> <87wok1tvfx.fsf@toke.dk> <87ftqpwmkm.wl-jch@irif.fr>
In-Reply-To: <87ftqpwmkm.wl-jch@irif.fr>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Wed, 10 Apr 2019 22:14:23 -0400
Message-ID: <CAF4+nEG_f_EkbmNQt4Z1Gu0PrmJX_ZZdthPdZzrokhLEuU4D4w@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: Toke Høiland-Jørgensen <toke@toke.dk>, Donald Eastlake <d3e3e3@gmail.com>, Babel at IETF <babel@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005ba474058637bf22"
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/XL8zZH8Skj05mMNec9LUwUkzNpk>
Subject: Re: [babel] Shepherd Review of draft-ietf-babel-source-specific-04
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: Thu, 11 Apr 2019 02:14:37 -0000

Hi,

On Wed, Apr 10, 2019 at 5:57 PM Juliusz Chroboczek <jch@irif.fr> wrote:

> ...

Babel is a distributed algorithm, and its correctness relies on all nodes
> in a routing domain behaving correctly.  There are many ways in which
> a buggy or malicious node can disrupt a Babel network, and an
> implementation is not required to detect most of them.  (The most common
> in production is a node that announces a route but doesn't actually
> forward packets, e.g. due to a mis-configured firewall.)
>

While it is true that the protocol data stores and state machines and other
aspects of behavior at the ends of the wire are important, the IETF has
always had a particularly sharp focus on the bits on the wire. It seems
reasonable to have a specification that won't fall over even if it gets a
"routing" packet that's junk. And it is a traditional desiderata in routing
protocols in the IETF that in a network with mixed implementations, you
can't originate a bad routing packet from a node and have a persistent loop
or conceivably even scattered persistent loops form in your network.


> What Donald is requesting here is that we add a requirement that every
> implementation should detect one particular (and rather unlikely) instance
> of incorrect behaviour, and work around it.  I don't necessarily agree
> with this requirement, but I am willing to put it in if the implementation
> cost is low enough.


I don't think I'm necessarily requesting that, at least not in all cases.
For example, if you are parsing a TLV it would be reasonable to set a flag
when you see a valid Source Prefix sub-TLV and just remember the prefix
specified, overwriting any previous source prefix seen in that TLV. Such a
parser can distinguish between no Source Prefix sub-TLVs and one or more
such sub-TLVs and, if there are any, will remember the prefix in the last
one. But it does not "detect" if there are more than one.

In any case, as long as the same packet will be interpreted in the same way
by different routers, I'm fine with whatever reasonable unambiguous
interpretation method is easiest to implement.

Thanks,
Donald
===============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 1424 Pro Shop Court, Davenport, FL 33896 USA
 d3e3e3@gmail.com

...
>
> -- Juliusz
>