Miroslav Lichvar
b90d2c084f
ntp: randomize replacement interval
...
Replacement attempts are globally rate limited to one per 7*2^8 seconds
to limit the rate of DNS requests for public servers like pool.ntp.org.
If multiple sources are repeatedly attempting replacement (at their
polling intervals), one source can be getting all attempts for periods
of time.
Use a randomly generated interval to randomize the order of source
replacements without changing the average rate.
2023-06-08 16:14:48 +02:00
Miroslav Lichvar
9339766bfe
test: use env shebang in all bash scripts
...
This allows the scripts to be executed on systems that don't have bash
in /bin. This fixes "make check".
2021-03-04 12:36:36 +01:00
Miroslav Lichvar
d898bd246b
test: extend 139-nts test
2021-02-18 17:44:04 +01:00
Miroslav Lichvar
362d7c517d
test: improve NTS tests
2021-01-14 18:17:48 +01:00
Miroslav Lichvar
de752b28de
nts: save server name in client dump file
...
Save the NTS-KE server name and require it to match the name of the
instance loading the file.
2020-10-01 12:58:17 +02:00
Miroslav Lichvar
1aa4827b3b
test: extend 139-nts test
2020-08-13 16:37:38 +02:00
Miroslav Lichvar
e3cd248f0d
nts: update NTS-KE port number
...
The port assigned by IANA for NTS-KE is 4460.
2020-06-17 15:59:18 +02:00
Miroslav Lichvar
0344b9a9c9
nts: generate cookies from second newest key
...
Generate one server key in advance to give it time to be distributed to
other servers before it is actually used.
2020-04-16 15:23:25 +02:00
Miroslav Lichvar
e569e1c9d9
test: extend 139-nts test
2020-04-09 17:08:52 +02:00
Miroslav Lichvar
1f8355f154
test: make 139-nts more reliable
2020-03-18 12:23:26 +01:00
Miroslav Lichvar
d6dd6f0bc9
test: add 139-nts test
2020-03-05 16:02:15 +01:00