strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
046befe
)
vici: Use a default child rekey time of 1 hour
author
Martin Willi
<martin@revosec.ch>
Tue, 29 Apr 2014 09:18:42 +0000
(11:18 +0200)
committer
Martin Willi
<martin@revosec.ch>
Wed, 7 May 2014 12:13:38 +0000
(14:13 +0200)
src/libcharon/plugins/vici/vici_config.c
patch
|
blob
|
history
diff --git
a/src/libcharon/plugins/vici/vici_config.c
b/src/libcharon/plugins/vici/vici_config.c
index
d0b95b8
..
bf6f88f
100644
(file)
--- a/
src/libcharon/plugins/vici/vici_config.c
+++ b/
src/libcharon/plugins/vici/vici_config.c
@@
-36,6
+36,11
@@
*/
#define LFT_DEFAULT_IKE_REKEY (4 * 60 * 60)
*/
#define LFT_DEFAULT_IKE_REKEY (4 * 60 * 60)
+/**
+ * Default CHILD rekey time
+ */
+#define LFT_DEFAULT_CHILD_REKEY (1 * 60 * 60)
+
typedef struct private_vici_config_t private_vici_config_t;
/**
typedef struct private_vici_config_t private_vici_config_t;
/**
@@
-1278,6
+1283,7
@@
CALLBACK(children_sn, bool,
.start_action = ACTION_NONE,
.lft = {
.time = {
.start_action = ACTION_NONE,
.lft = {
.time = {
+ .rekey = LFT_DEFAULT_CHILD_REKEY,
.life = LFT_UNDEFINED,
.jitter = LFT_UNDEFINED,
},
.life = LFT_UNDEFINED,
.jitter = LFT_UNDEFINED,
},