Re: [babel] Comments about rfc7298bis

Denis Ovsienko <denis@ovsienko.info> Fri, 04 May 2018 14:06 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 7823912711B for <babel@ietfa.amsl.com>; Fri, 4 May 2018 07:06:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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, SPF_PASS=-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 KSfK9PLEPPPi for <babel@ietfa.amsl.com>; Fri, 4 May 2018 07:06:24 -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 A4E521205F0 for <babel@ietf.org>; Fri, 4 May 2018 07:06:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1525442781; 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=2527; bh=MEvS+fr3V7EO/S28Yw7YTr1RzAGiYRqeFlxaRf27k70=; b=bmqwaC0WMIYguUJD1QKqdMCst50Y6WTVFS0W28eZc+okeZGHgNbrLPdWEqwmaRUh OY4xmvX8JSOBkUvMjYQpF4ay71vnNnietKa01g0jMfjZO8PcmYOqkuVxtTsvRhleOTm Cz9TMvbCgZE2klQcl73DTCql4NrOMNm0xgzLlV3Y=
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1525442781864763.1266683370094; Fri, 4 May 2018 07:06:21 -0700 (PDT)
Date: Fri, 04 May 2018 15:06:21 +0100
From: Denis Ovsienko <denis@ovsienko.info>
To: Babel at IETF <babel@ietf.org>
Message-ID: <1632b79a2a7.d0dabacb43120.7322644504922173573@ovsienko.info>
In-Reply-To: <8736z89zfq.wl-jch@irif.fr>
References: <87fu4huzgj.wl-jch@irif.fr> <1628e298460.cd82970b35329.4945272877112645380@ovsienko.info> <87muyi3eqi.wl-jch@irif.fr> <16296069fec.e13616a29759.8282754479379679955@ovsienko.info> <878ta1y8k0.wl-jch@irif.fr> <87sh7aaqpw.wl-jch@irif.fr> <16322fb2d40.b754c16418709.3274574589997739202@ovsienko.info> <87po2dzntf.wl-jch@irif.fr> <163258f779c.1272194bf35512.5113105590240148496@ovsienko.info> <8736z89zfq.wl-jch@irif.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Priority: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/He-TnvzrOC35YKEKS65Ksaqv1es>
Subject: Re: [babel] Comments about rfc7298bis
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: Fri, 04 May 2018 14:06:27 -0000

---- On Thu, 03 May 2018 22:55:37 +0100 Juliusz Chroboczek  wrote ---- 
>> Per each packet: one TS/PC TLV and at least one HMAC TLV (as 7298 explains it) 
>> Per each IHU TLV: one TS/PC sub-TLV (as 7298-bis explains it) 
> 
>> If you read the full I-D and confirm you have done that, I will 
>> appreciate that. 
> 
>I have read the I-D, although I skipped over the parts that merely restate 
>what is in 6126. I still don't understand how you deal with more TC/PC 
>sub-TLVs than can fit in a packet. 

Juliusz, the data item you are referring to is called "TS/PC", and this term has been around since 2012. I have already mentioned this before. Do you understand this leaves an impression of a conversation that is not fully two-way?

Regarding your recent concerns about 7298-bis data items not fitting into output packets, the task of fitting protocol data items into a packet buffer is neither new nor really difficult. This is one of the minor tasks you had done yourself when you authored RFC 6126 and its implementation. Specifically, you managed to place IHU TLVs, which consume either 8 octets (AE 0) or 12 octets (AE 1) or 16 octets (AE 3) into a sending buffer without overflowing it. So far so good for RFC 6126 (same for 6126-bis).

RFC 7298 discusses the additional buffer margin for the [per-packet] TS/PC TLV and HMAC TLV(s) in sufficient detail. Besides the margin, the buffer management remains exactly the same (and same for 7298-bis).

In 7298-bis the [IHU TLV-specific] TS/PC sub-TLV consumes 8 octets, so an IHU TLV now consumes either 16 octets (AE 0), or 20 octets (AE 1) or 24 octets (AE 3). The buffer management task again remains exactly the same, it is just one of its input data items that now comes in a different size.

This way, I am sorry to explain that from my point of view it reads as if you are claiming you do not understand how sending buffer management works in RFC 6126. If this is the case and your assumption is this is a fault of 7298-bis or myself, it is likely wrong.

But the main point is, sending buffer management is not the only or the biggest concern here. The main goal of 7298-bis is to add a true bi-directional exchange proof to 7298. This is exactly the approach you suggested if you remember. I believe the proposed solution achieves that goal, can you prove me wrong in that? If the working group intends to deliver proper quality results, this is one of the unfinished work items on that we could (and should) spend our energy.

-- 

    Denis Ovsienko