diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 02:26:34 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-11-14 02:26:34 (GMT) |
commit | 2a68978c564e53cddc90882ee7776a43839dfcff (patch) | |
tree | 7c8432f893e4c43f2d20d022ba8ccdc05752e4e6 /plugins/check_radius.c | |
parent | 9e009c4b1128352c6039d25b39213fd480e9b055 (diff) | |
download | monitoring-plugins-2a68978c564e53cddc90882ee7776a43839dfcff.tar.gz |
remove call_getopt and ssprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@191 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_radius.c')
-rw-r--r-- | plugins/check_radius.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index 614d467..c346dc7 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c | |||
@@ -52,7 +52,7 @@ | |||
52 | Number of times to retry a failed connection\n\ | 52 | Number of times to retry a failed connection\n\ |
53 | -t, --timeout=INTEGER\n\ | 53 | -t, --timeout=INTEGER\n\ |
54 | Seconds before connection times out (default: %d)\n\ | 54 | Seconds before connection times out (default: %d)\n\ |
55 | -v\n\ | 55 | -v, --verbose\n\ |
56 | Show details for command-line debugging (do not use with nagios server)\n\ | 56 | Show details for command-line debugging (do not use with nagios server)\n\ |
57 | -h, --help\n\ | 57 | -h, --help\n\ |
58 | Print detailed help screen\n\ | 58 | Print detailed help screen\n\ |
@@ -60,11 +60,17 @@ | |||
60 | Print version information\n" | 60 | Print version information\n" |
61 | 61 | ||
62 | #define DESCRIPTION "\ | 62 | #define DESCRIPTION "\ |
63 | The password option presents a substantial security issue because the | 63 | This plugin tests a radius server to see if it is accepting connections.\n\ |
64 | password can be determined by careful watching of the command line in | 64 | \n\ |
65 | a process listing. This risk is exacerbated because nagios will | 65 | The server to test must be specified in the invocation, as well as a user\n\ |
66 | run the plugin at regular prdictable intervals. Please be sure that | 66 | name and password. A configuration file may also be present. The format of\n\ |
67 | the password used does not allow access to sensitive system resources, | 67 | the configuration file is described in the radiusclient library sources.\n\ |
68 | \n\ | ||
69 | The password option presents a substantial security issue because the\n\ | ||
70 | password can be determined by careful watching of the command line in\n\ | ||
71 | a process listing. This risk is exacerbated because nagios will\n\ | ||
72 | run the plugin at regular prdictable intervals. Please be sure that\n\ | ||
73 | the password used does not allow access to sensitive system resources,\n\ | ||
68 | otherwise compormise could occur.\n" | 74 | otherwise compormise could occur.\n" |
69 | 75 | ||
70 | #include "config.h" | 76 | #include "config.h" |
@@ -128,7 +134,7 @@ Please note that all tags must be lowercase to use the DocBook XML DTD. | |||
128 | 134 | ||
129 | <sect2> | 135 | <sect2> |
130 | <title>Future Enhancements</title> | 136 | <title>Future Enhancements</title> |
131 | <para>ToDo List</para> | 137 | <para>Todo List</para> |
132 | <itemizedlist> | 138 | <itemizedlist> |
133 | <listitem>Add option to get password from a secured file rather than the command line</listitem> | 139 | <listitem>Add option to get password from a secured file rather than the command line</listitem> |
134 | </itemizedlist> | 140 | </itemizedlist> |