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

Qin Wang <qinwang6top@yahoo.com> Mon, 26 February 2018 16:32 UTC

Return-Path: <qinwang6top@yahoo.com>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29B8F126B72 for <6tisch@ietfa.amsl.com>; Mon, 26 Feb 2018 08:32:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.029
X-Spam-Level:
X-Spam-Status: No, score=-2.029 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 Vzm3GpA7PmAe for <6tisch@ietfa.amsl.com>; Mon, 26 Feb 2018 08:31:59 -0800 (PST)
Received: from sonic317-34.consmr.mail.ne1.yahoo.com (sonic317-34.consmr.mail.ne1.yahoo.com [66.163.184.45]) (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 5AF7F120227 for <6tisch@ietf.org>; Mon, 26 Feb 2018 08:31:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1519662718; bh=7wriNzbzLF93rgBbKzYVWO+1uHnpWVQe8vA5B+0YzH8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=ZFmmcs6fZzKTte6LRSJKgmBLMkCb/gEwuIblYNfkZy5KjYLQVjKjeNi9MRQ24csmOGC5h1oU5ScJeCQbF7Z/yS9qXC2W2+roSyw5P0HnDbeRWLjAYgG+azjJxF0dki3zP/0jyHpuqBx2ralpx+0jktw6FfKQ2kokieBH77TqGcqsmxu3DK4y49mU82WuMizHNtvAtlZtV8booVisedGBGpRo7WGURIjIdoDAjrkS66k5fjQ8WQwdoKC5FySUiobGGOqqBarWVso9K5a22g7sIO2eF8JR8Iqgr1CoySA7lZd/fFBQoz/YfndDJxlqA+PuSp16tNpH0M1ZenDWjAsb+Q==
X-YMail-OSG: sHMbzAIVM1myMt7o8M9W4XpcHMsc1qdTZMkY3LfbgMDHPBrJfmhlIutnnAgOX5d Jw6.AYmY2Xa8AFNRuyDQOA6eEv_ele_A5mPDrkO0crRRMBgaAtUlrIE6LDABY89SrmQCemfhhPxN OFkQgVkA8be_4sMM8AwYQ9cyAO4MSFSuCW2VGrsVZEfQEE3jdF.asKmV_6iTZFV.HeI7Ybha4yYg eZTg7IJgrdQlt8MKs0mT.nxfUDLbfotkgKXvD0StF7LVWKaBcIo3k3vcpPALskkb9Mo3OcBqcoQw KB4kVe0y33mGwdxi6Hf9lPBaKuFQvfRE98rVR5qBc6SO5Ve4nLcgcfi7mAer_psJEov43lbXi82I ePWs5ayadpjXCeuyKkrNCFbK3rctN7Wp5kBi.ApBWh48Syt0MvWqo4Oa5YxfeR6YnXYDpUZZY3b0 brncqh845_Q17DDyPIZhDVXzeCIqWcUYUh2j0ArMytOAZ1b6T8dqYDZvZoM.tP4hcb10Uk_IFS0I JIG7wIlXT6ZB7Ie6S3A6peA_GP4g-
Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 26 Feb 2018 16:31:58 +0000
Date: Mon, 26 Feb 2018 16:31:52 +0000
From: Qin Wang <qinwang6top@yahoo.com>
Reply-To: Qin Wang <qinwang6top@yahoo.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.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>
Message-ID: <881434618.5718050.1519662712708@mail.yahoo.com>
In-Reply-To: <64e5e879-fae3-4cf2-ee77-d40ac9205f5d@gmail.com>
References: <151908254474.29750.15541242231013194366@ietfa.amsl.com> <2084067720.4335620.1519398960552@mail.yahoo.com> <64e5e879-fae3-4cf2-ee77-d40ac9205f5d@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_5718049_2042568810.1519662712703"
X-Mailer: WebService/1.1.11419 YahooMailNeo Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/3vrajfFyu853uSaxzTF8oPiD-DE>
Subject: Re: [6tisch] Genart telechat review of draft-ietf-6tisch-6top-protocol-09
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Feb 2018 16:32:02 -0000

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
> 
> 
>    
>