Re: [Gen-art] [6tisch] Genart telechat review of draft-ietf-6tisch-6top-protocol-09

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 23 February 2018 23:11 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5FCD120725; Fri, 23 Feb 2018 15:11:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JN1g7wYhOXNX; Fri, 23 Feb 2018 15:11:13 -0800 (PST)
Received: from mail-pl0-x233.google.com (mail-pl0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (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 DF513126BF7; Fri, 23 Feb 2018 15:11:12 -0800 (PST)
Received: by mail-pl0-x233.google.com with SMTP id c11-v6so2320474plo.0; Fri, 23 Feb 2018 15:11:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XhjGpqY+9QbJl2eVoCzOe6sxRlK5xnW55j+2HOpP2wo=; b=pcRDG4fQu1l3sQrVCUDxWTTuUcHFdX563RsH9O0KL82ZGQAifnBYPBw0YgK2jyaZPc iatgWeO/089AfRtgzF3PWoii/5HszUumuCpzGV9kW67dzaWFSMilHWA9onk2tXnADGLB g0km3jl/8absoRRcD3FIN0dPQxCwuhlXlQZsH2vwX1yYXI0WvL7raCvPM3U0fhH2ATUA u0aJwxkWBdBsqa8WTo2IxE65ivX52mdmIL4ByKGd28R+1pyqVViixww8sgJH1f31d21i hHI/F4ac6VsIRYeRfxLjShvhnBlmvFnvNBZtqvmiTxFojogWw75Z1dPrRKl68fReX7he JjTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XhjGpqY+9QbJl2eVoCzOe6sxRlK5xnW55j+2HOpP2wo=; b=aeTVTdGhevcSZox2jlY6W8ki3rHjnSoRav0fl59JwECuDe6RtlyI1luKdeEAcvTwsn +HxFDxCnXxHJfio/b/hpAFnZffvLIGgasz7Yh6VWpzkMUswUHROCFYU7Jg9QG1CQRz91 0wBsa0GHbXQz0V3gNmfezKoyfh2K2AAXq4uVgvoP9qAMRxX55h1c7b9hlNVFLpxVHpaa Z3J+Deheez/zYzEfu2M3T5hF/dYq8JAy0IIcvWXEdFdjEFAlqjX3K6P//J+AxdBpii7x LmTevdFHv1udq1CHCko5hh8AO9dyL8gIAR58LM2B+NzV6RND4Nu5x9bS5Ra3Tokax/Qb qdhw==
X-Gm-Message-State: APf1xPAHBtgzylL19cuzp/QJ+GpONDXrdiU5JWviMrMASX19QJBAjgbc rGqyEM5tpnXV3vHVFCtWTwDwWASN
X-Google-Smtp-Source: AH8x225K7jL7QY7aIZSZgGoSs267xSbN+1Q3CR/hukfT9kYLxajPEaokBSwYNTZwokz7pbzflVBwrQ==
X-Received: by 2002:a17:902:6184:: with SMTP id u4-v6mr3097819plj.390.1519427472223; Fri, 23 Feb 2018 15:11:12 -0800 (PST)
Received: from [192.168.183.200] ([114.23.138.211]) by smtp.gmail.com with ESMTPSA id 76sm7229321pfp.53.2018.02.23.15.11.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 15:11:11 -0800 (PST)
Sender: Brian Carpenter <becarpenter46@gmail.com>
To: Qin Wang <qinwang6top@yahoo.com>, "gen-art@ietf.org" <gen-art@ietf.org>
Cc: "draft-ietf-6tisch-6top-protocol.all@ietf.org" <draft-ietf-6tisch-6top-protocol.all@ietf.org>, "6tisch@ietf.org" <6tisch@ietf.org>
References: <151908254474.29750.15541242231013194366@ietfa.amsl.com> <2084067720.4335620.1519398960552@mail.yahoo.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <64e5e879-fae3-4cf2-ee77-d40ac9205f5d@gmail.com>
Date: Sat, 24 Feb 2018 12:11:19 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <2084067720.4335620.1519398960552@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/FGVk01ghl5WeMh7pwr1IdFIrlVI>
Subject: Re: [Gen-art] [6tisch] Genart telechat review of draft-ietf-6tisch-6top-protocol-09
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Feb 2018 23:11:15 -0000

Hi Qin, see in line:

On 24/02/2018 04:16, Qin Wang wrote:
> Hi Brian,
> Thank you very much for your comments. Please see inline.
> 
> On Monday, February 19, 2018 6:22 PM, Brian Carpenter <brian.e.carpenter@gmail.com> wrote: 
> 
>  Reviewer: Brian Carpenter
> Review result: Ready with Issues
> 
> Gen-ART Last Call review of draft-ietf-6tisch-6top-protocol-09
> 
> I am the assigned Gen-ART reviewer for this draft. The General Area
> Review Team (Gen-ART) reviews all IETF documents being processed
> by the IESG for the IETF Chair.  Please treat these comments just
> like any other last call comments.
> 
> For more information, please see the FAQ at
> <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
> 
> Document: draft-ietf-6tisch-6top-protocol-09.txt
> Reviewer: Brian Carpenter
> Review Date: 2018-02-20
> IETF LC End Date: 2018-??-??
> IESG Telechat date: 2018-03-06
> 
> Summary: Ready with issues
> --------
> 
> Comment:
> --------
> 
> This is a Last Call review despite the subject field. When will the Last
> Call be started?
> 
> Major issues:
> -------------
> 
> In section 3.1.1 "2-step 6P Transaction" there seems to be a race condition
> if A's timeout expires while B's Response is in flight. Can the 6top layer
> prevent the L2 Ack being sent? (And similar race conditions seem to be
> possible in the 3-step transaction.)
> 
> [Qin] Firstly, sincethe L2 Ack is sent by L2 according to IEEE802.15.4, 6top layer cannot preventit happen. Secondly, the race condition described above unlikely happens,because it is required that “The value of the 6P Timeout should be larger thanthe longest possible time it can take for the exchange to finish.” (3.4.4)

I'm sorry but that sounds like magic. Then whole point of race conditions is that
they happen in *very* unlikely cases such as the exchange taking 10 times normal
for some reason. If it only happens one time in ten million it is still a problem.
So I think you need to state what happens - maybe the inconsistency will be
discovered later? That's fine for something considered highly unlikely.
> 
>> 3.4.3.  Concurrent 6P Transactions
>>
>>   Only a single 6P Transaction between two neighbors, in a given
>>   direction, can take place at the same time.  That is, a node MUST NOT
>>   issue a new 6P Request to a given neighbor before having received the
>>   6P Response for a previous request to that neighbor, except when the
>>   previous 6P Transaction has timed out.  If a node receives a 6P
>>   Request from a given neighbor before having sent the 6P Response to
>>   the previous 6P Request from that neighbor, it MUST send back a 6P
>>   Response with a return code of RC_RESET (as per Figure 36).  A node
>>   receiving RC_RESET code MUST abort the transaction and consider it
>>   never happened.
> 
> It isn't clear to me whether the RC_RESET aborts the first, the second,
> or both transactions.
> 
> [Qin] change textto “abort the second transaction”

OK! 
> Minor issues:
> -------------
> 
>> 1.  Introduction
> ...
>>   6P
>>   allows a node to communicate with a neighbor to add/delete TSCH cells
>>   to one another.
> 
> This sentence is almost unintelligible because of the sequence to...to...to.
> Does it mean this?:
> 
>   6P allows neighbours to add or delete TSCH cells in each other.
> 
> [Qin] Because we want to emphasize that communication between two nodes is the way to add/deletecells, we change text to “6P allows a node to communicate with a neighbor toadd/delete TSCH cells in each other”
 

OK, that will be less confusing.
 
>> 3.4.1.  Version Checking
> 
> This may be a pointless worry, but is there a DOS attack of some kind
> by sending rubbish version numbers?
> 
> [Qin] I think thatnot only the field of Version Number, but also other fields, such as the fieldof Command Identifier can be filled with rubbish for DOS attack. So, I wonderif it is necessary for Version Number field to be treated differently. 
> 
> I would like asksecurity people to help on the question.

Maybe you need to mention in the Security Considerations that you have
no protection against a bad actor sending rubbish as a DOS. If all
nodes are authenticated when they join the network, this seems an
acceptable risk. 

Regards
     Brian
 
> ThanksQin
> _______________________________________________
> 6tisch mailing list
> 6tisch@ietf.org
> https://www.ietf.org/mailman/listinfo/6tisch
> 
> 
>    
>