[network-manager-openswan/dcbw/avesh-fixes: 10/10] Fixed defaults values for more parameters to help the VPN connection stay more reliable.



commit ba66591cb23607edd59b1b1968341a83b9d347bd
Author: Avesh Agarwal <avagarwa redhat com>
Date:   Tue Dec 10 15:05:25 2013 -0500

    Fixed defaults values for more parameters to help the VPN connection stay more reliable.

 src/nm-openswan-service.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/nm-openswan-service.c b/src/nm-openswan-service.c
index d389854..8f8f039 100644
--- a/src/nm-openswan-service.c
+++ b/src/nm-openswan-service.c
@@ -574,6 +574,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");
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]