WG: Need for HW-clock independent timestamps
Matthias Urlichs
matthias at urlichs.de
Mon May 21 15:53:10 CEST 2018
On 21.05.2018 14:35, Reto Brunner wrote:
> If you just want a single write cycle, then you loose the ability to graceful
> handle unexpected shutdowns.
Why?
> Even if you increment the counter by 10'000 when restoring it, who's to
> say the device hasn't been running for several weeks before the
> unexpected power cycle happened?
So increment the counter by a trillion instead. It's large enough and
you're not going to send a trillion packets before the next reboot.
--
-- Matthias Urlichs
More information about the WireGuard
mailing list