User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0
1. No, you are free to use secure or unsecure communication for
registration.
2. Client or Server can have secure or unsecure connection at same
time but not with the same peer.
I mean Server A can have a secure connection with a Client B and a
non secure connection with a client C at the same time but not 2
connections (one secure and one unsecure) with the same device.
(Same thing for clients)
3.if you use secure connection all message goes through 5684. If you
use unsecure way no message goes throught this port.
Le 15/04/2016 12:46, RAJESH KUMAR S.R a
écrit :
Hi,
Thanks for you answer.
Have some more doubts.
In LWM2M spec, in section 8.6.1 UDP Binding, it is given that,
"The CoAP binding for UDP is defined in [CoAP]. The protocol has
a IANA registered scheme of coap:// and a default port of 5683.
The UDP binding is used in NoSec (no security) mode. Reliability
over the UDP transport is provided by the built-in
retransmission mechanism of CoAP."
1. Does that mean that initial client registration is unsecure.
2. Is it like we can use only one of ports (5683/5684) at a
time?
3. Are there any messages which goes through 5684 alone?
By default, 5683 is for
unsecure communication and 5684 is for secure communication
(based on DTLS[1]).
Of course server could bind 5683 and 5684 with a single IP
address.
Hi,
I am new to LWM2M.
I have the following doubts regarding two ports used for
LWM2M server.
Does initial registration from server to client take
place through port 5683.(coap://leshan.eclipse.org:5683
)
If so, is the communication secure?
What is use of coaps://leshan.eclipse.org:5684?
and what messages are exchanged between server and
client through this port?
Can the server bind to two ports 5683 and 5684 with a
single IP address?