29 lines
968 B
Diff
29 lines
968 B
Diff
|
From dde144e924005c3048061b4d758019a1358ac505 Mon Sep 17 00:00:00 2001
|
||
|
From: Avesh Agarwal <avagarwa@redhat.com>
|
||
|
Date: Tue, 10 Dec 2013 15:05:25 -0500
|
||
|
Subject: [PATCH 16/20] Fixed defaults values for more parameters to help the
|
||
|
VPN connection stay more reliable.
|
||
|
|
||
|
---
|
||
|
src/nm-openswan-service.c | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/src/nm-openswan-service.c b/src/nm-openswan-service.c
|
||
|
index b73ab1f..b807bcc 100644
|
||
|
--- a/src/nm-openswan-service.c
|
||
|
+++ b/src/nm-openswan-service.c
|
||
|
@@ -573,6 +573,10 @@ nm_openswan_config_write (gint openswan_fd, NMSettingVPN *s_vpn,
|
||
|
}
|
||
|
|
||
|
write_config_option (fdtmp1, " nm_configured=yes\n");
|
||
|
+ write_config_option (fdtmp1, " rekey=yes\n");
|
||
|
+ write_config_option (fdtmp1, " salifetime=24h\n");
|
||
|
+ write_config_option (fdtmp1, " ikelifetime=24h\n");
|
||
|
+ write_config_option (fdtmp1, " keyingtries=1\n");
|
||
|
write_config_option (fdtmp1, " auto=add");
|
||
|
}
|
||
|
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|