Hi Michael,

I thought about this for the EST-coaps draft. EST allowed for unauthenticated 
/cacerts and /csrattrs (/crt and /att in EST-coaps) as you are suggesting. It 
is not as simple in EST-coaps. Two reasons: 
1) There are constrained networks where an easy amplification attack could take 
place. For example the /crt request is very small and the response can be big 
(a few KBs in the context of a constrained network is big). If unauthenticated, 
then /crts could be an easy amplification attack to saturate a constrained 
network. We don't want that to happen. We want all our clients to be 
authenticated by DTLS before they start loading up our RF network.
2) Additionally, there is a practical challenge of COAPS. When the DTLS 
handshake is taking place the server does not know what the request will be. In 
EST the server would send an HTTP WWW-Authenticate header to ask the client to 
authenticate. Such a mechanism does not exist in COAP, so it would not be 
straightforward unless we introduced a bunch of new things into COAP.

I think it is still right to authenticate clients even for /crt and /att in the 
EST-coaps context. Maybe that is something to be revisited in 
Constrained-BRSKI/voucher, but not taken lightly. 

Rgs,
Panos



-----Original Message-----
From: Michael Richardson <[email protected]> 
Sent: Tuesday, December 11, 2018 11:29 AM
To: [email protected]; [email protected]
Cc: Panos Kampanakis (pkampana) <[email protected]>; Peter van der Stok 
<[email protected]>; Max Pritikin (pritikin) <[email protected]>
Subject: est-coaps clarification on /att and /crts

* PGP Signed by an unknown key


A clarification question from an implementor (me) in the context of constrained 
BRSKI state machine.

The /att and /crts requests do not do anything to change the state of client or 
server.  It would seem that it might be safe to permit clients which have not 
yet authenticated to do this operation.
(/att gets CSR attributes, and /crts gets the list of trust anchors)

When EST-COAPS is used on its own, there usually needs to be a manufacturer 
trust anchor installed on the Registrar before any connection will be permitted.

When EST-COAPS is used as step 2 of constrained-BRSKI, whether or not the 
Registrar will accept any (and all) connections depends upon configuration of 
the operator.  Some devices might not be doing BRSKI (not need to, they already 
trust the operator, but they might still have IDevID only.  This might happen 
during a transition)

If the Registrar is "open" to new manufacturers, should the Registrar permit 
/att and /crts actions to be done by clients that it does not
recognize?   The /att call on an ANIMA ACP network would reveal to the
client the ULA that would be used for that client (and perhaps other 
interesting things), and the /crts would show the name of the operator.
Note that the later info probably is revealed just by doing the TLS handshake.

I think that they should be restricted in general, but I'm concerned that there 
might be some situation I've missed.

--
Michael Richardson <[email protected]>, Sandelman Software Works  -= IPv6 
IoT consulting =-




* Unknown Key
* 0xDDD0DD65

_______________________________________________
Anima mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/anima

Reply via email to