From 18b0c54576c927bd503dc40493e246f34c344c4e Mon Sep 17 00:00:00 2001 From: Nachtfalkeaw Date: Tue, 6 Sep 2011 23:01:39 +0300 Subject: freeRADIUS: changing logging capabilities (logging to syslog or to /var/log/radius.log). replaced some other static values with variables to change them from webGUI --- config/freeradiussettings.xml | 142 ++++++++++++++++++++++++++---------------- 1 file changed, 90 insertions(+), 52 deletions(-) (limited to 'config/freeradiussettings.xml') diff --git a/config/freeradiussettings.xml b/config/freeradiussettings.xml index 9e3042b9..c842e542 100644 --- a/config/freeradiussettings.xml +++ b/config/freeradiussettings.xml @@ -80,58 +80,96 @@ input 1812 - - Radius Logging - radiuslogging - Enable radius logging to /var/log/radius.log? - select - no - - - - - - - Log bad authentication attempts? - radiuslogbadpass - Specifies whether to log bad authentication attempts to the radius.log file. Radius Logging must be enabled for this to work. - select - no - - - - - - - Log good authentication attempts? - radiusloggoodpass - Specifies whether to log good authentication attempts to the radius.log file. Radius Logging must be enabled for this to work. - select - no - - - - - - + + Maximum requests server + max_requests_var + The maximum number of requests the RADIUS server can handle. Default is 1024. It should be 256 * number of clients e.g.: 4 Switches * 256 = 1024. + input + 1024 + + + Max request time + max_request_time_var + The maximum time (in seconds) to handle a request. Default is 30. Useful range of values: 5 to 120. + input + 30 + + + Cleanup delay + cleanup_delay_var + The time to wait (in seconds) before cleaning up a reply which was sent to the NAS. Default is 5. Useful range of values: 2 to 10. + input + 5 + + + Radius Logging Destination + logdir_var + Logging to "syslog" or "/var/log/radius.log" ? + select + /var/log + + + + + + + Radius Logging + radiuslogging + Enable logging? + select + no + + + + + + + Log bad authentication attempts? + radiuslogbadpass + Specifies whether to log bad authentication attempts to the radius.log file. Radius Logging must be enabled for this to work. + select + no + + + + + + + Log good authentication attempts? + radiusloggoodpass + Specifies whether to log good authentication attempts to the radius.log file. Radius Logging must be enabled for this to work. + select + no + + + + + + freeradius_settings_resync(); -- cgit v1.2.3