From 51f7b8487b67dd5fbca3794b76919df878c03fb6 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 15 Oct 2008 08:20:21 +0000 Subject: Added additional warning messages about --script-security 2 or higher being required to execute user-defined scripts or executables. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3436 e7ae566f-a301-0410-adde-c780ea21d3b5 --- common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common.h') diff --git a/common.h b/common.h index 844108f..7aa70a5 100644 --- a/common.h +++ b/common.h @@ -81,4 +81,9 @@ typedef unsigned long ptr_type; #define INLINE_FILE_TAG "[[INLINE]]" #endif +/* + * Script security warning + */ +#define SCRIPT_SECURITY_WARNING "openvpn_execve: external program may not be called unless '--script-security 2' or higher is enabled. See --help text for detailed info." + #endif -- cgit v1.2.3