diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-12 18:35:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-12 18:35:11 +0000 |
commit | 637acd3667eb35c9a25136e92d3627bb61843119 (patch) | |
tree | a43319d006f0790776c8d6d8016d6101c3cd0e47 /etc | |
parent | 963247d6559549eea033b6e7e5dcf0860b445e5f (diff) | |
download | pfsense-637acd3667eb35c9a25136e92d3627bb61843119.zip pfsense-637acd3667eb35c9a25136e92d3627bb61843119.tar.gz |
* Turn of ACE. It doesn't work at all.
* Killall racoon. IPSEC Tools racoon seems to work a bit diff
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index f0fbf61..c6a7a09 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -91,12 +91,12 @@ function vpn_ipsec_configure($ipchg = false) { /* determine if we should load the via padlock module */ $dmesg_boot = `cat /var/log/dmesg.boot | grep CPU`; if(stristr($dmesg_boot, "ACE") == true) { - echo "Enabling [VIA Padlock] ..."; - mwexec("/sbin/kldload padlock"); - mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1"); - mwexec("/usr/sbin/setkey -F"); - mwexec("/usr/sbin/setkey -FP"); - echo " done.\n"; + //echo "Enabling [VIA Padlock] ..."; + //mwexec("/sbin/kldload padlock"); + //mwexec("/sbin/sysctl net.inet.ipsec.crypto_support=1"); + //mwexec("/usr/sbin/setkey -F"); + //mwexec("/usr/sbin/setkey -FP"); + //echo " done.\n"; } } @@ -132,7 +132,7 @@ function vpn_ipsec_configure($ipchg = false) { echo "Configuring IPsec VPN... "; } else { /* kill racoon */ - killbypid("{$g['varrun_path']}/racoon.pid"); + mwexec("/usr/bin/killall racoon"); /* wait for process to die */ sleep(2); |