summaryrefslogtreecommitdiff
path: root/scripts/vyatta-vpn-op.pl
AgeCommit message (Collapse)Author
2011-02-07Bugfix 5802: add auto-update feature, for Dynamic DNS peersJohn Southworth
2010-01-12fix show vpn commands to work with strongswanMohit Mehta
(cherry picked from commit 32927e013922e1a79b0f214773e2500a1260871a)
2010-01-12fix op-mode commands for migration to strongswanMohit Mehta
* use `ipsec update` instead of openswan's `ipsec auto` commands to make 'clear vpn ipsec-peer <> tunnel <>' work * no `ipsec barf` in strongswan. instead use detailed version of the command status i.e. `ipsec statusall` for 'show vpn debug detail' * use strongswan's syntax for `ipsec rereadall` and `ipsec status` (cherry picked from commit 2c5e47cc7871bc7da84f3a14398b15cf3b1da352)
2009-10-09* Fix Bug 4017 Add the ability to restart individual IPSec tunnelsMohit Mehta
added new operational mode commands - clear vpn ipsec-peer peer <peer> # clear all tunnels for given peer clear vpn ipsec-peer peer <peer> tunnel <tunnel> # clear specific tunnel If peer is 0.0.0.0/any/@id then tunnel is brought down and loaded again but connection is not initiated as remote end could be multiple end-points The remote ends will bring up the tunnel when they get/detect tunnel down * don't call script with sudo from templates. use sudo in script where needed * script clean up
2008-03-17Fix 2838: Clearing VPN process starts VPN , even if not configured.Stig Thormodsrud
- fix sloppy script which dies with "Unknown op" on valid ops. - use vyatta config rather than ipsec.conf to determine if running
2008-02-22Initialize variable and check for invalid args.Marat Nepomnyashy
2008-02-22Fixed-up operator commands 'clear vpn ipsec-process' and 'show vpn debug ↵Marat Nepomnyashy
detail' so that they no longer require sudo password.