]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: don't reveal local clock in client packets
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 10 Nov 2015 16:59:49 +0000 (17:59 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 16 Nov 2015 09:30:52 +0000 (10:30 +0100)
commit8225bf01f7eec88df8a6399767903bc342058ce6
tree5f39836d9cd0eaef8698cece0d35a2217322443d
parent116c6972827819bbff03a1bc32363f56bc8b9290
ntp: don't reveal local clock in client packets

In client packets set the leap, stratum, reference ID, reference time,
root delay and root dispersion to constant values to not reveal the
state of the synchronization. Use precision 32 to make the receive and
transmit timestamps completely random and not reveal the local time.
ntp_core.c