Re:NAT Is the Enemy of Low Power Devices
by oakwhiz on Friday February 14, 2025 @03:46AM
(#43046260)
Is DTLS a workaround for the session issue? Haven't had much experience with it myself but it does cut down some of the statefulness.
[ Parent
| on HN ]
Re:NAT Is the Enemy of Low Power Devices
by hasheddan on Friday February 14, 2025 @07:54AM
(#43047857)
The post details the use of CoAP over DTLS, employing Connection IDs.
You don’t want to redo the handshake (which, as far as I know, is identical to TLS) every time you send a packet using DTLS. Therefore, you still need to retain state information. In my opinion, using DTLS (UDP) is considerably more nuanced than using TLS (TCP) in an embedded IoT context.