Re: [secdir] Secdir last call review of draft-ietf-dots-signal-channel-30

<mohamed.boucadair@orange.com> Thu, 14 March 2019 16:17 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2024B130ECD; Thu, 14 Mar 2019 09:17:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 7OV39uFmU85D; Thu, 14 Mar 2019 09:17:16 -0700 (PDT)
Received: from orange.com (mta239.mail.business.static.orange.com [80.12.66.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD908130E58; Thu, 14 Mar 2019 09:17:12 -0700 (PDT)
Received: from opfedar06.francetelecom.fr (unknown [xx.xx.xx.8]) by opfedar22.francetelecom.fr (ESMTP service) with ESMTP id 44Kv466g6Vz2xlr; Thu, 14 Mar 2019 17:17:10 +0100 (CET)
Received: from Exchangemail-eme6.itn.ftgroup (unknown [xx.xx.13.95]) by opfedar06.francetelecom.fr (ESMTP service) with ESMTP id 44Kv465PZFz3wbJ; Thu, 14 Mar 2019 17:17:10 +0100 (CET)
Received: from OPEXCAUBMA2.corporate.adroot.infra.ftgroup ([fe80::e878:bd0:c89e:5b42]) by OPEXCAUBM24.corporate.adroot.infra.ftgroup ([fe80::b43f:9973:861e:42af%21]) with mapi id 14.03.0439.000; Thu, 14 Mar 2019 17:17:10 +0100
From: mohamed.boucadair@orange.com
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "secdir@ietf.org" <secdir@ietf.org>
CC: "draft-ietf-dots-signal-channel.all@ietf.org" <draft-ietf-dots-signal-channel.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "dots@ietf.org" <dots@ietf.org>
Thread-Topic: Secdir last call review of draft-ietf-dots-signal-channel-30
Thread-Index: AQHU2ntKiSfaP6506UeavLvIGqIf7KYLQyKg
Date: Thu, 14 Mar 2019 16:17:10 +0000
Message-ID: <787AE7BB302AE849A7480A190F8B93302EA3DFC8@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
References: <155257761487.2625.10003476313108979036@ietfa.amsl.com>
In-Reply-To: <155257761487.2625.10003476313108979036@ietfa.amsl.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.13.247]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/YmnLfncbyx2AWTg8w-48u2To2TI>
Subject: Re: [secdir] Secdir last call review of draft-ietf-dots-signal-channel-30
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Mar 2019 16:17:18 -0000

Hi Stephen, 

Thank you for the review. 

Please see inline. 

Cheers,
Med

> -----Message d'origine-----
> De : Stephen Farrell via Datatracker [mailto:noreply@ietf.org]
> Envoyé : jeudi 14 mars 2019 16:34
> À : secdir@ietf.org
> Cc : draft-ietf-dots-signal-channel.all@ietf.org; ietf@ietf.org;
> dots@ietf.org
> Objet : Secdir last call review of draft-ietf-dots-signal-channel-30
> 
> Reviewer: Stephen Farrell
> Review result: Has Issues
> 
> 
> I think there's one issue with this draft that'd be well
> worth discussion and/or fixing:
> 
> - p12: Why does the cuid need to be so static? I would
> have thought that an identifier that can change more
> often than a key pair would have been better, esp if this
> could be used in a CPE. (Creating a new long-lived
> identifier for a CPE seems like a bad plan if it's not
> really needed.) For example, one could use both the SPKI
> and a timestamp as input for a recommended way to generate
> a cuid and that should be as unique, but much more easily
> changed.  That could also mitigate the possible TLS1.2
> client-cert snooping issue mentioned on p90.

[Med] cuid is used for avoidance detection but also as a stable key to identify resources at the server side. Any change of the cuid will lead to a failure in accessing the resources.
Furthermore, this identifier is used to "glue" the signal and data channels.  

The spec does not forbid the clients to change its cuid, but to do so, the client will need to manage state migration. 

> 
> nits:
> 
> - (Not really a nit, but probably too much to ask, so...)
> The protocol here seems very complex. Has anyone
> tried to prove anything about the state machine, e.g.
> that's it's safe in some senses? It'd be fair to say that
> that is a good task to do after the initial RFC is
> published in this case, I guess.  OTOH, could be some of
> the theorem-proving tools used in the development of
> TLS1.3 could be useful here. (And those tools usually
> do turn up some issues worth fixing - I'd bet a beer they
> would in this case:-)

[Med] The specification was edited following an incremental approach in which new pieces are validated through at least two interoperable implementations. We hope that more feedback will be received after the initial RFC.   

> 
> - p18: "Only single-valued 'cdid' are defined in this
> document." That confused me given the text 3 paras
> before about multiple cdid values. Maybe clarifying that
> some could be useful?

[Med] What is meant here is the case where multiple GWs are involved in the path; each inserts a cdid value. 

Will clarify the text.   

> 
> - p77 has a few lowercase "should" and "must" statements.
> Not sure if that's on purpose or by accident.

[Med] I confirm it was on purpose. These are not new requirements (see Section 7.2).  

> 
> - p90: Is the mention of TCP-AO there for real? I'd be
> happy it it were but if it's merely aspirational and you
> don't think it'll be used, it'd be better to not pretend
> it might get used.
> 

[Med] We are providing an example of how the issue can be solved. That is fine, IMO.

> - Couldn't a bad actor in control of an authorised DOTS
> client colluding with the controller of a DDoS attack
> use this to probe the system to see how their attack is
> going and change the attack to be more effective?

[Med] The client will only see the reports for attacks it detected and signaled. That bad actor won't signal the attack in the first place!

  I don't
> think any protocol change could help there, but perhaps
> you could give some guidance to implementers to try catch
> such cases (e.g., if the probing DOTS client's local n/w
> doesn't actually appear to be under attack).
>