Re: [babel] WG Last Call on draft-ietf-babel-rfc6126bis-04.txt (10/29 - 11/17)

Denis Ovsienko <denis@ovsienko.info> Wed, 01 November 2017 16:35 UTC

Return-Path: <denis@ovsienko.info>
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 AA14A13F792 for <babel@ietfa.amsl.com>; Wed, 1 Nov 2017 09:35:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.8
X-Spam-Level:
X-Spam-Status: No, score=-4.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ovsienko.info
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 XO3SE-Zq3RPj for <babel@ietfa.amsl.com>; Wed, 1 Nov 2017 09:35:07 -0700 (PDT)
Received: from sender-of-o51.zoho.com (sender-of-o51.zoho.com [135.84.80.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9C8C13F758 for <babel@ietf.org>; Wed, 1 Nov 2017 09:35:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1509554104; s=zohomail; d=ovsienko.info; i=denis@ovsienko.info; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=3651; bh=qb6Nr6QP0YeXahTmSv9S60TVXCuoRP6c4uQAoIhiwjw=; b=MqooRW1gU7zahsj0mjLP2d3QdJhy3J6ThUmb4yj/18EnhAnOeVmTGDf+Qn9E2OPk NhtQZ8lUJSDDqlph35AfPk/P19A9BMuphSVf/30/F6FuOUOUzGySx2W76yP0H5mq2s5 Kj5BRC9VYjPiWNBJdxNw8qWX/90Td4zGbOi3NvwU=
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1509554104053136.35838772269312; Wed, 1 Nov 2017 09:35:04 -0700 (PDT)
Date: Wed, 01 Nov 2017 16:35:04 +0000
From: Denis Ovsienko <denis@ovsienko.info>
To: Babel at IETF <babel@ietf.org>
Message-ID: <15f786fa6f0.e3f4b0db12167.6625418531640045846@ovsienko.info>
In-Reply-To: <87inevut4p.fsf@toke.dk>
References: <CAF4+nEHBHnPFnoRXb-4h2uBgQU+mRgW5X9T-CsVg+ZEh_VC98w@mail.gmail.com> <15f6dcf2c8d.e66056b96940.9155266730078596107@ovsienko.info> <871slkb3r3.wl-jch@irif.fr> <15f727f92d8.11e6c3dbd43397.2376860294132856941@ovsienko.info> <87zi87lass.fsf@toke.dk> <15f7353f41b.ffa1d41453323.6020794963079882883@ovsienko.info> <87inevut4p.fsf@toke.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Priority: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/EZf-AzByC0z4jRMQqODtziK-CuQ>
Subject: Re: [babel] WG Last Call on draft-ietf-babel-rfc6126bis-04.txt (10/29 - 11/17)
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, 01 Nov 2017 16:35:08 -0000

---- On Tue, 31 Oct 2017 17:25:26 +0000 Toke Høiland-Jørgensen<toke@toke.dk> wrote ---- 
 > Denis Ovsienko <denis@ovsienko.info> writes: 
 >  
 > >  > I'm terribly sorry if I'm being obtuse here, but from this comment it  
 > >  > seems to me that your objection is specifically to the use of the term  
 > >  > 'bidirectional reachability', because you read that to imply something  
 > >  > stronger than what Babel does?  
 > >  >   
 > >  > If so, what term would you suggest to use instead? Or would it suffice  
 > >  > to explicitly spell out that this is a weaker property than in some  
 > >  > other places (which?)?  
 > > 
 > > No problem, let me explain one more time. 
 > > 
 > > The way Babel is currently specified allows a protocol instance think 
 > > it has a 2-way exchange with a neighbour, whereas in reality it can be 
 > > just fed with replayed old packets. That's the way the protocol is 
 > > literally specified, no matter what was originally meant and what 
 > > comments were made on the mailing list or in person. 
 > > 
 > > The way it is commonly specified for other protocols involves a nonce 
 > > or another proof of freshness. For example, completing a 3-way TCP 
 > > handshake on behalf of a random remote host is impossible with just 
 > > replayed packets. TCP-based protocols rely on this property; non-TCP 
 > > protocols have to implement this property themselves: DD sequence 
 > > numbers in OSPF, nonces in IKE, MPTCP, IPv6 mobility and even almost 
 > > (but not really, because the nonce is not in the right TLV type) 
 > > Babel. There are examples in many other protocol designs as this is 
 > > quite an old problem. 
 >  
 > Yeah, this is what I meant: You're saying that "bidirectional 
 > reachability" has a specific, well-defined and ubiquitous meaning which 
 > implies certain security properties (such as replay protection). 
 >  
 > However, prior to you brining it up, I have not been aware of any such 
 > well-defined meaning of the term. For TCP, for instance, it's called the 
 > "3-way handshake". So I would agree with you that if the term used was 
 > "handshake", your point stands. But simply using "bidirectional 
 > reachability" in the informal way it is used in the Babel spec does not 
 > imply such a specific term to me. So I would ask you to point me any 
 > definitions that include this implication of the wording currently in 
 > the Babel spec? 

3.4.  Neighbour Acquisition

   Neighbour acquisition is the process by which a Babel node discovers
   the set of neighbours heard over each of its interfaces and
   ascertains bidirectional reachability.  On unreliable media,
   neighbour acquisition additionally provides some statistics that may
   be useful for link quality computation.


The text says "ascertains bidirectional reachability" and in the network protocols language this is a statement with a meaning. Then Section 3.4.2 further elaborates on how this is done and it takes to stare at the TLV diagrams for quite a while to realize the actual behaviour is different.

If the protocol does not deliver this property either the text or the protocol need to be fixed. What actually is in the box must be what is says on the box.

 > -Toke 
 >  
 > P.S., as I said, I'm fine with adding a note to, say, section 3.4.2 that 
 > makes it clear that the protocol does *not* have this stronger property. 

Yes, exactly.

-- 

    Denis Ovsienko