Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] LWM2M ports

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?

Thanks,
Rajesh kumar S R

On Apr 15, 2016 3:26 PM, "Simon Bernard" <contact@xxxxxxxxxxxxxxx> wrote:
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.

[1]https://tools.ietf.org/html/rfc6347

Le 15/04/2016 09:38, RAJESH KUMAR S.R a écrit :

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?

Thanks,
Rajesh kumar S R



_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev


_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev


Back to the top