diff options
author | elly <elly@leptoquark.net> | 2013-01-11 14:44:17 -0500 |
---|---|---|
committer | elly <elly@leptoquark.net> | 2013-01-11 15:02:33 -0500 |
commit | ccd12459a1abbc9825c298a5ac96a4cb84998985 (patch) | |
tree | 8a84da8873b427c7aaf861eb51167374800f5600 /man | |
parent | b2593472a8bfc0071d6da63d9f7e4d60ab2a473c (diff) | |
download | tlsdate-ccd12459a1abbc9825c298a5ac96a4cb84998985.tar.gz |
tlsdated: add jitter (-j).
We check for steady-state updates randomly at any time between
(base-jitter,base+jitter). The jitter is generated using libc rand(), seeded
with either some bytes from /dev/urandom (if available) or the time (if not). We
don't particularly need strong randomness here.
Signed-off-by: Elly Fong-Jones <ellyjones@chromium.org>
(cherry picked from commit a8545b2af134f53247bd76507676bc0e3f1e6112)
Diffstat (limited to 'man')
-rw-r--r-- | man/tlsdated.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/man/tlsdated.1 b/man/tlsdated.1 index b9a8fbe..e8fa4cf 100644 --- a/man/tlsdated.1 +++ b/man/tlsdated.1 @@ -42,6 +42,8 @@ run at most every n seconds in steady state don't load disk timestamps .IP "\-s" don't save disk timestamp +.IP "\-j [n]" +add up to n seconds of jitter to steady-state fetches .IP "\-v" be verbose .IP "\-h" |