mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:17:45 +00:00
ntpquery: Don't leak local time, and check origin time in reply
This implements the transmit time suggestion in (abandoned?) draft-ietf-ntp-data-minimization. (The other suggestions were already implemented as far as I can tell.)
This commit is contained in:
parent
019788a150
commit
5f50af3b4f
2 changed files with 14 additions and 2 deletions
|
@ -62,3 +62,6 @@ inline T get_random()
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
using AK::fill_with_random;
|
||||
using AK::get_random;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue