dojot / dojot

An open platform for the Internet of Things
http://www.dojot.com.br
Apache License 2.0
7 stars 1 forks source link

IoT-Agent Leshan allows unregistered devices to connect to dojot #1073

Open rascaraficci opened 5 years ago

rascaraficci commented 5 years ago

Only devices registered to dojot should be able to connect to the platform, but in the current implementation any LwM2M device can connect to.

raulnegreiros commented 5 years ago

I'm not sure if Leshan allows us to reject a registration request. Actually, we use the RegistrationListener that doesn't give us any power to decide the registration response. Despite it, we don't put unregistered device's data into the platform (Kafka), to this the device data go to the message broker is necessary someone registers it on device manager, so it becomes something like 2-steps registration. At my point of view it isn't a bug, but an architecture decision. @rascaraficci, what do you think about it?

bizetti commented 4 years ago

Ticket analyis (Dec, 27th): Rafael will analyse this consideration.