diff options
author | Jules Maselbas <jmaselbas@kalray.eu> | 2022-05-12 16:37:26 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-05-16 10:27:06 +0200 |
commit | 0c9bf7cada39c5f41c4f3f32c8262b288173c612 (patch) | |
tree | 9fb5aa53df024192ea95b346e3eedea617986a18 /dts/Bindings/mfd | |
parent | 1e7d4ace64cc79d2a7940f818e594afd5b7a2469 (diff) | |
download | barebox-0c9bf7cada39c5f41c4f3f32c8262b288173c612.tar.gz barebox-0c9bf7cada39c5f41c4f3f32c8262b288173c612.tar.xz |
net: dns: Generate and verify transaction ID
The transaction ID wasn't verified on received DNS responses, plus the
ID needs to be difficult to predict in order to avoid MitM (man in the
middle) being able to easily forge responses.
The ID is generated from the time of the request, probably not strongly
unpredictable, this what musl does and it is considered to be enough.
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
Link: https://lore.barebox.org/20220512143726.21614-1-jmaselbas@kalray.eu
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/mfd')
0 files changed, 0 insertions, 0 deletions