mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
2008-09-05 Dan Williams <dcbw@redhat.com>
* src/nm-openvpn-service.c - (nm_openvpn_start_openvpn_binary): send --script-security=2 to allow the plugin's scripts to be run. Requires OpenVPN 2.1-rc9 or later, distros with older versions should patch this out. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4041 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
a5a782991f
commit
814336ec8a
2 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2008-09-05 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-openvpn-service.c
|
||||
- (nm_openvpn_start_openvpn_binary): send --script-security=2 to allow
|
||||
the plugin's scripts to be run. Requires OpenVPN 2.1-rc9 or later,
|
||||
distros with older versions should patch this out.
|
||||
|
||||
2008-09-04 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-openvpn-service.c
|
||||
|
|
|
|||
|
|
@ -613,6 +613,13 @@ nm_openvpn_start_openvpn_binary (NMOpenvpnPlugin *plugin,
|
|||
add_openvpn_arg (args, "--syslog");
|
||||
add_openvpn_arg (args, "nm-openvpn");
|
||||
|
||||
/* Bash script security in the face; this option was added to OpenVPN 2.1-rc9
|
||||
* and defaults to disallowing any scripts, a behavior change from previous
|
||||
* versions.
|
||||
*/
|
||||
add_openvpn_arg (args, "--script-security");
|
||||
add_openvpn_arg (args, "2");
|
||||
|
||||
/* Up script, called when connection has been established or has been restarted */
|
||||
add_openvpn_arg (args, "--up");
|
||||
add_openvpn_arg (args, NM_OPENVPN_HELPER_PATH);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue