[Ipsec-tools-devel] patches for review
Brought to you by:
mit_warlord,
netbsd
From: Timo T. <tim...@ik...> - 2009-01-21 13:32:31
|
Hi, I will commit the patches 01 - 04 from: http://solidboot.com/~fabled/ipsec-tools/ on Friday after testing them more (and any bugs). Please review and comment. I've mentioned the three first ones earlier. The fourth one is new, and uses monotonic system clock where available. It might need linker switches so I'll try to test it on Linux and on some BSDs before commit. Basically it switches from time() to clock_gettime(CLOCK_MONOTONIC) on systems where it's available to measure relative time. It makes racoon immune to system time changes by ntp etc. The current code has very big problems if time happens to jump backwards; especially if it happens just after start-up and the scheduler current_time() starts to give out negative numbers. - Timo |