incorrect time in iked

2020-05-02 Thread René Ammerlaan
Hi, I've found incorrect use of time in iked (-current). The event API doen’t use the monotonic clock, so this breaks the timer: ikev2_ike_sa_alive: outgoing CHILD SA spi 0x07409b52 last used 7466(gettime) - 1588405979(sadb_lifetime_usetime) = 2706568783 second(s) ago

Re: incorrect time in iked

2020-05-02 Thread Tobias Heider
On Sat, May 02, 2020 at 10:15:53AM +0200, René Ammerlaan wrote: > Hi, > > I've found incorrect use of time in iked (-current). The event API doen’t use > the monotonic clock, so this breaks the timer: > ikev2_ike_sa_alive: outgoing CHILD SA spi 0x07409b52 last used > 7466(gettime) - 15884