Re: [nwcrg] IRSG review of draft-irtf-nwcrg-bats-03

Shenghao Yang <shenghao.yang@gmail.com> Sat, 03 December 2022 17:29 UTC

Return-Path: <shenghao.yang@gmail.com>
X-Original-To: nwcrg@ietfa.amsl.com
Delivered-To: nwcrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD689C14F75F; Sat, 3 Dec 2022 09:29:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DtlkYGVBSS3q; Sat, 3 Dec 2022 09:29:48 -0800 (PST)
Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29C83C14F735; Sat, 3 Dec 2022 09:29:48 -0800 (PST)
Received: by mail-pg1-x52a.google.com with SMTP id h33so6905869pgm.9; Sat, 03 Dec 2022 09:29:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=w4f2GXMojgGDq3oYgSjMCkpMvOF8YYk+fZfeSMoP4Us=; b=APfzyzY4a4Sk1T1DTziZF1p44RUDEvQi3lJFdmNFayUUkT2sVfPtiWysR9O5HvwWYM xOdkxQqKDT7t+GhdwAD6X4LMKop+BdTFPcowrUbDo5c83uBO/Zdxh47PuhMp05GUEuHU qqK454yYt2Zdt5lJSLuIemQD6DqPSC/hFB6Rwbp3vJ+yzQKIZYfnNkF2WyoDZD6sOVLL FQFWLgLBmq5mkXbe1Oi3xKfXRWahgCRFO0eOck+bSuTlRkwZ1fUHSmi4Z+Mzf5u7KfhH LBWrrNR/JHhgPY6k37Jz7bKgDwC4AQUV22FlSoUStmO4icn84i4R1jXJ80i6c4bEszPj qFsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=w4f2GXMojgGDq3oYgSjMCkpMvOF8YYk+fZfeSMoP4Us=; b=kwsdu2DPbaoV+jDfcDIcoVK/zLKjA+fUb+qzdkV2l08EDb+hyeXXHMSGgxfei8uRWW WsrPJR3r/CTDN+pcp4NVrWtAC1+K9LYTf3Puk3GjRatE48Le/JQpO6VCzWsTUke0kbcC SBR+yuWxy+5ow2TF7IOPLbDPbYeTGYLkL8ND7J0ipPAgjS8eREHwYMSRlUY31u9RIANU dL2P26oiCEEPrN5sd+t/yUBZbIa7pIOImulq7uPLKRfGYn7WQ5tTLJ4GiwWwPHwNGfSK H97lHWhPMsr61gLXRHqUFYCQkybNXxWCnuLbCFlU7s8iQyj2K33n1/mOhPyY2KHQoTT2 yzhA==
X-Gm-Message-State: ANoB5pmNrp1YFBzcBGMknA0SVdAv7+RykUwV/whcsaoAqLybnY/gZqgL fojK0P0z79CJGUKhMdWtinTMxZaZz0DBqA==
X-Google-Smtp-Source: AA0mqf5dUBjFyc5jmRM1VaqKmfOV6hkZG7mn36Fhu0fn/8FPYKfi8ySDagskCZa28bDDvGLsR6nUxw==
X-Received: by 2002:a05:6a02:183:b0:477:98cc:3c43 with SMTP id bj3-20020a056a02018300b0047798cc3c43mr49320402pgb.0.1670088587112; Sat, 03 Dec 2022 09:29:47 -0800 (PST)
Received: from smtpclient.apple ([45.62.167.203]) by smtp.gmail.com with ESMTPSA id q17-20020a170902eb9100b00188b5d25438sm7653314plg.35.2022.12.03.09.29.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Dec 2022 09:29:46 -0800 (PST)
From: Shenghao Yang <shenghao.yang@gmail.com>
Message-Id: <610D2FA6-CFDD-4098-8DC0-25545F6D2A12@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3A11EEB0-A0FD-4A7D-801A-92FAE5B4659C"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Date: Sun, 04 Dec 2022 01:29:22 +0800
In-Reply-To: <1209B42F-9115-4796-9160-716D2D4EE23A@orandom.net>
Cc: The IRSG <irsg@irtf.org>, Nwcrg <nwcrg@irtf.org>
To: "David R. Oran" <daveoran@orandom.net>
References: <AEB59B2F-5D77-49C3-8A4F-265C19DD5502@csperkins.org> <5778CB87-DF64-47E0-88A2-3C8E423C643E@orandom.net> <2550D87D-FDB5-47E1-80EF-222933DE1752@csperkins.org> <1209B42F-9115-4796-9160-716D2D4EE23A@orandom.net>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nwcrg/aIQ1dZ0q13W2nViUB01qgKkafis>
Subject: Re: [nwcrg] IRSG review of draft-irtf-nwcrg-bats-03
X-BeenThere: nwcrg@irtf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IRTF Network Coding Research Group discussion list <nwcrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/nwcrg>, <mailto:nwcrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nwcrg/>
List-Post: <mailto:nwcrg@irtf.org>
List-Help: <mailto:nwcrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/nwcrg>, <mailto:nwcrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 03 Dec 2022 17:29:51 -0000

Dear David, 

We just submitted a revised version based on comments. 
https://datatracker.ietf.org/doc/draft-irtf-nwcrg-bats/04/ <https://datatracker.ietf.org/doc/draft-irtf-nwcrg-bats/04/>

See the point-to-point response below. The security related issues took us some time to revise. 


Best, 

Shenghao

> On Jun 22, 2022, at 21:43, David R. Oran <daveoran@orandom.net> wrote:
> 
> I reviewed draft-irtf-nwcrg-bats-03 as designated reviewer for the IRSG. The document is in very good shape and the technical content sound. I have just a few minor comments and some grammar/typographic nits for the authors to consider prior to publication.
> 
> Minor Comments
> 
> In the introduction (paragraph 2), you should mention more than just interference as something that makes a wireless channel unreliable. There’s also fading, multipath, etc.
> 
> 
We mentioned fading and multiparty in the revision.
> 
> Discussion of multipath doesn’t show up until quite far along in the document, and in a few places the wording seems to restrict operation to a single receiver. There is in fact good discussion of multicast in the research questions section, so I suggest just a brief mention in the introduction that BATs is intended to work well in both unicast and multicast environments, possibly with a forward reference to the later discussion.
> 
> 
Multicast is mentioned in the introduction with referring to Sec 4. 
> On p7, the way the requirements on coded packets are laid out is bit difficult to follow. I suggest starting each set with something like a description list, with who the requirement applies to as the lead-in, for example:
> Encoder - the encoder DDP must deliver each coded packet with for following:
> 
> BID: batch ID
> Recoder - The DDP MUST deliver the following information to each recorder:
> 
> M: batch size
> q: recoding field size
> Decoder - The DDP MUST deliver the following information to each decoder:
> 
> M: batch size
> q: recoding field size
> K: the number of source packets
> T: the number of Octets in a source packet
> DD: the degree of distribution
The presentation style of this part is revised. 
> p9, beginning of section 2.2.4 says “A destination node needs the data transmitted by the source node”. Well, sure, but are you trying to say something beyond the obvious here? If so, it isn’t coming through.
> 
This paragraph is rewritten.
> In the various field descriptions and the equations, you use the letter “O” for “octets”. This slowed me down a bit as I had to think each time that you didn’t mean zero (“0”), despite the fact that the glyphs are in fact distinguishable in all three target renderings. It might be a pain to fix all of these, but I do think a better choice would either be “T” (which you use in the example above as a parameter for the decoder), or a two-letter variable name like “OC”.
> 
> 
O is changed to CO (the first two letters of coefficient). 
> 
> On p12 you say “A common primitive polynomial should be specified for all the finite field multiplications over GF(256). Is this actually a MUST for the operation of the code?
> 
“Should” is changed to “MUST"
> In the discussion of routing issues, on p18, you talk about the possibility of different batches being sent on different paths to achieve multipath gain. Is there a reason why batches can’t be similarly split and sent over different paths? If not, why not?
> 
We add the discussion about whether to transmit the packets of a batch on the same path or different paths for unicast and multicast. 
> Section 4.3 is titled “Application-related issues”, however most (perhaps all?) of the discussion isn’t actually about applications but about usage and deployment scenarios over different kinds of network technologies and topologies. Suggest renaming this “Usage Scenario Considerations” or something similar and if there are in fact application issues (e.g. multimedia, IoT, etc.) split those out in a separate section.
> 
The section title is changed to “Usage Scenario Considerations”.
> In section 6 on security considerations you address eavesdropping well, but don’t talk at all about traffic analysis. Are there interesting factors in BATs affecting the ability of traffic analysis to figure out what is happening with the application data flows, e.g. does BATs produce detectable timing or padding behavior that can be leveraged better than non-coded data, or perhaps conversely make things harder for an adversary?
> 
A new subsection is added to discuss traffic analysis. See 6.2.
> The discussion of attestation in section 6.2 left me feeling a bit un-satisfied, given that the protocol doesn’t actually provide provenance (i.e. the attestation of the chain of coders/recoders does not seem explicitly bound into the data streams). Simple origin authentication (e.g. using signatures) doesn’t seem to be adequate. Am I missing something here?
> 
The pollution attack part is rewritten. See 6.3.
> Nits
> 
> p7, s/DD[i] is the possibility/DD[i] is the probability/
> 
> p12, s/addition is an logical XOR/addition is a logical XOR/
> 
> p17, s/increasing too much end-to-end latency/increasing end-to-end latency too much/
> 
> p17, s/achieves the mulicast/achieves the multicast/
> 
> [End of review]
> 
> _______________________________________________
> nwcrg mailing list
> nwcrg@irtf.org
> https://www.irtf.org/mailman/listinfo/nwcrg