zephyr/subsys/net/lib
Benjamin Lindqvist 81ccbd96c9 net: coap: Add internal init function to seed message_id
Randomly generating ID the first time coap_next_id() is called is more
in accordance with CoAP recommendations (see
https://tools.ietf.org/html/draft-ietf-core-coap-18, section 4.4)

"It is strongly recommended that the initial value of the
variable (e.g., on startup) be randomized, in order to make successful
off-path attacks on the protocol less likely."

Doing this in a dedicated init function is the cleanest and most
idiomatic approach. This init function is not exposed publically which
means it will be called only once, by the network stack init procedure.

Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se>
2019-10-04 21:22:55 +03:00
..
coap net: coap: Add internal init function to seed message_id 2019-10-04 21:22:55 +03:00
config net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
conn_mgr net: Add CONFIG_NET_NATIVE option for selecting native IP 2019-09-10 12:45:38 +03:00
dns net: llmnr_responder: Fix implicit declaration error 2019-10-04 10:24:56 +03:00
http net: http: client: Initial version 2019-10-04 16:38:34 +03:00
lwm2m net: lwm2m: fix printf warning 2019-09-23 22:29:12 +03:00
mqtt net: mqtt: Modify SOCKS5 based connections 2019-08-05 13:26:11 +03:00
openthread coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
sntp net: lib: sntp_simple: Issue multiple requests with backoff 2019-09-13 10:40:45 +03:00
sockets net: sockets: Store socket private data into its own variable 2019-09-18 23:47:36 +03:00
socks net: socks: Make SOCKS5 implementation transparent 2019-08-05 13:26:11 +03:00
tls_credentials license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
utils include: net: socketutils: Allow to build for CONFIG_POSIX_API 2019-09-12 17:30:29 +03:00
websocket net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
CMakeLists.txt net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00
Kconfig net: websocket: client: Simple API for Websocket client 2019-10-04 16:38:34 +03:00