aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dnssec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-01-31 18:42:26 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-19 16:19:11 +0100
commit68bfee4bc414b9b254dbe73cace5b6f5133ad0be (patch)
tree87e3f71dccfcd443c212a0bf764c3046a1353c5d /scripts/dnssec.c
parent2071dd63d6812392a4b939cd592826e94aaf5341 (diff)
downloadstrongswan-68bfee4bc414b9b254dbe73cace5b6f5133ad0be.tar.bz2
strongswan-68bfee4bc414b9b254dbe73cace5b6f5133ad0be.tar.xz
Avoid returning COOKIEs right after system boot
When the monotonic timer is initialized to 0 right after the system is booted the daemon responded with COOKIES for COOKIE_CALMDOWN_DELAY (10s). Since the COOKIE verification code actually produces an overflow for COOKIE_LIFETIME (10s) it wouldn't even accept properly returned COOKIEs. Checking for last_cookie makes sense anyway as that condition must only apply if we actually sent a COOKIE before.
Diffstat (limited to 'scripts/dnssec.c')
0 files changed, 0 insertions, 0 deletions