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

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 26 February 2018 21:28 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 8048E126DFB; Mon, 26 Feb 2018 13:28:33 -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 IHj2cn6vTvNR; Mon, 26 Feb 2018 13:28:31 -0800 (PST)
Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (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 264D1126C2F; Mon, 26 Feb 2018 13:28:31 -0800 (PST)
Received: by mail-pg0-x22a.google.com with SMTP id g12so6686666pgs.0; Mon, 26 Feb 2018 13:28:31 -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=Nqdexkvs4XY18HuQkMQEAC2dYmIw81un8DA/JK+DG4k=; b=Y4QzCT6+epR/yOGWZDwJFY2PQm1d4wKZNAcs1/rhMjGEVkFPNavoZp3WzmT8CKyOMH XaJJz0nplQ4YEwtIo5rUnfvyCZagqxqIMHojSoQKk0to3lzn9wbvMYDemGXPMmD+TB+w NeQJWtEYfVG7cAOMiYSm1FKPgOVQoga7h1ukJ6p/NVa2WVcRzFIerihxmWJXKnSsK4pH MnmWrSmoDqh54VPLxa1V1YdLsw/sjZglWGfy2y4xfzqT6Fw4j19amCqjX/iPTCSfUr2r DCyXWcaGagCHo+znPcDNZJFzgyGaYV+AcnAqGJZjTt5K6jsn/+CM8SPkTxqU6mREVxYX sZLQ==
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=Nqdexkvs4XY18HuQkMQEAC2dYmIw81un8DA/JK+DG4k=; b=hqg/DLcpisgSnRJ+G77P5hwLCdbI61Nx8v7h+9jnS6KnzO4lt/qnNMc4XFdwOZtd4s Kq+WXcyE7NGoiUtqG3jSpkxrdmVHs0v0M1BWLCtdemmajPGNOvMvZz7bcq33DaLNunqI CiggvHbncJO91BNOmibich/LV0rucHFABRzGlQAOTrxRYG9H0TFuB13ccBwyINa0q/lk FqYnG6PcbelrOuQNhZ6zCe4qpyrpnee+i90O+J0sR/SmbRC+jgOsYHKWMPvFKs5o+KHI r5ZgwOyy29nzEOBdjwqGXTNhRUVutS8ywyIOOXpEoKW90BU1b1SL0hNNU6nP9+GxuTfN KIfw==
X-Gm-Message-State: APf1xPBTckiftgYK895cR2+p9S9ZWX+N9IG0C94i2Ay2Q1n9Wqz73Lpn FLPz5SKDbA550+E9qmAhZF+PY1/M
X-Google-Smtp-Source: AH8x227I4Ia9Dc0dV7dxDw4RH8c56xBoxntwf8B6AH0b5ShkT0MvhwTmEfW5C9YKrkcd4gL1GwZOgA==
X-Received: by 10.99.126.17 with SMTP id z17mr9529711pgc.218.1519680510145; Mon, 26 Feb 2018 13:28:30 -0800 (PST)
Received: from [130.216.38.97] (sc-cs-567-laptop.uoa.auckland.ac.nz. [130.216.38.97]) by smtp.gmail.com with ESMTPSA id 184sm17517882pfd.156.2018.02.26.13.28.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Feb 2018 13:28:29 -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> <64e5e879-fae3-4cf2-ee77-d40ac9205f5d@gmail.com> <881434618.5718050.1519662712708@mail.yahoo.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <e85986d3-5426-9028-4415-a7ec92bf5cc3@gmail.com>
Date: Tue, 27 Feb 2018 10:28:26 +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: <881434618.5718050.1519662712708@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/F66leXr66OJ0ek1jdvo74dX_Ios>
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: Mon, 26 Feb 2018 21:28:33 -0000

Thanks, those changes look good.

Regards
   Brian

On 27/02/2018 05:31, Qin Wang wrote:
> Hi Bian,
> Thank you for your comments. Please see inline.
> 
> 
> 
>     On Friday, February 23, 2018 6:11 PM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>  
> 
>  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.
> [Qin] Add following textin both section 3.1.1 and 3.1.2
> In case a race conditionhappens during the communication, the TSCH schedule of node A may becomeinconsistent with the TSCH schedule of node B. 6top handles the schedule inconsistency in the way described in Section3.4.6.2
>>
>>> 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. 
> [Qin] Add text intoSecurity Consideration sectionThe 6P protocol does not provide protection against DOS attacks which involves sending garbage.
> 
> Regards
>     Brian
>  
>> ThanksQin
> ThanksQin
>> _______________________________________________
>> 6tisch mailing list
>> 6tisch@ietf.org
>> https://www.ietf.org/mailman/listinfo/6tisch
>>
>>
>>     
>>
> 
> 
>    
>