|
|||||||||||
|
linux-ipsec: Fun with fryed default expire/rekey timings in Pluto
From: Hugh Daniel <hugh(at)road.toad.com>
Date: Sat Jan 23 1999 - 08:06:05 EST
root@west# ipsec whack --status
Now why would this be? Humm, the ipsec_auto man page says:
rekeystart
Now I had done this in /etc/ipsec-auto:
...
# SA lifetime (before automatic rekeying)
lifetime=8m
So my guess is that the 2000+ second REPLACE is comming from some code trying to do ( 8m - 9m ) and failing only slightly badly. So I go and set "rekeystart=1m" to fix things up, run "ipsec auto ew replace" on both hosts and now I get more strangeness, once again check out the last two lines:
root@west# ipsec whack --status
While on the other machine I get only expires(since there is no time stamp you will have to trust me that I ran both the above and below with in a second of each other)!:
root@east# ipsec whack --status
Then on east I get: 000 #7: "ew" OAKLEY_QUICK_R_2; EVENT_SA_EXPIRE in 475s 000 #6: "ew" OAKLEY_QUICK_R_2; EVENT_SA_EXPIRE in 54s 000 #5: "ew" OAKLEY_MAIN_R_3; EVENT_SA_EXPIRE in 3174s Is it Ok to have two expire events on the same state? Off the top of my head I would expect each end to have both a REPLACE and a EXPIRE. Well for all of my carping here it seems to work. The leading host (the one with out expires and with replace's) does seem to keep the link up, so the bug I am reporting seems to be in ever having REPLACE times larger then EXPIRE times or at least generating them by default. I would like to see some logic in there ranther then a fixed 9m number. ||ugh Received on Sat Jan 23 08:53:01 1999 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:29 EDT |
||||||||||
|
|||||||||||