summaryrefslogtreecommitdiff
path: root/scripts/vyatta-vpn-ppp-updown.pl
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-11-24 21:33:31 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2010-01-12 16:53:33 -0800
commit229dd4af29f29d8a2a4983a811b0c4bef7111892 (patch)
tree54ce127ca00f8ee37c6e75e245ec439f27ea1d05 /scripts/vyatta-vpn-ppp-updown.pl
parent275789c02381ebe359d2f0a970aabcf7587e0f58 (diff)
downloadvyatta-cfg-vpn-229dd4af29f29d8a2a4983a811b0c4bef7111892.tar.gz
vyatta-cfg-vpn-229dd4af29f29d8a2a4983a811b0c4bef7111892.zip
First pass code changes to vyatta-cfg-vpn for migration to strongswan :
Remove CLI support and back-end code for unsupported parameters * No aggressive mode support in strongswan * remove syslog facility.level CLI. strongswan uses authpriv facility by default, no syslog parameter support * remove Robert's disable-uniqreqids option for now. need to get strongswan to do the same thing first Remove Openswan specific parameters added to workaroung bugs * remove plutowait, this was added to workaround Openswan Bug 412 * remove nhelpers, this was added to workaround Openswan Bug 198 Other Changes * add '!' at the end of ike and esp proposal list to signify end of list * replace `ipsec start` commands with built-in commands for `ipsec starter` control utility * replace `ipsec auto` with `ipsec whack` commands. Still need to figure out if `ipsec auto --add|--up $connection` could be replaces by simply using `ipsec update` in stronswan * change pluto.ctl path
Diffstat (limited to 'scripts/vyatta-vpn-ppp-updown.pl')
-rwxr-xr-xscripts/vyatta-vpn-ppp-updown.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-vpn-ppp-updown.pl b/scripts/vyatta-vpn-ppp-updown.pl
index 1b5cfe6..00df619 100755
--- a/scripts/vyatta-vpn-ppp-updown.pl
+++ b/scripts/vyatta-vpn-ppp-updown.pl
@@ -161,10 +161,10 @@ my ($cmd, $rc);
$cmd = "mv $tmp_conf $conf_file";
$rc =system($cmd);
logit("$cmd = $rc");
-$cmd = "/usr/sbin/ipsec setup --start 2> /dev/null";
+$cmd = "/usr/sbin/ipsec start 2> /dev/null";
$rc =system($cmd);
logit("$cmd = $rc");
-$cmd = "/usr/sbin/ipsec auto --rereadall 2> /dev/null";
+$cmd = "/usr/sbin/ipsec rereadall 2> /dev/null";
$rc = system($cmd);
logit("$cmd = $rc");