aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-09-06 13:25:55 -0700
committerChris Buechler <cmb@pfsense.org>2011-09-06 13:25:55 -0700
commit3d1056c39086d69712fb9d74a33ad912b0b38aeb (patch)
tree5bb16d0ab4e4e78b8faed043eab24a6c3fb8b538
parentee4a613c8e1decd6d12d6d6662c08d7a3726fdec (diff)
parent18b0c54576c927bd503dc40493e246f34c344c4e (diff)
downloadpfsense-packages-3d1056c39086d69712fb9d74a33ad912b0b38aeb.tar.gz
pfsense-packages-3d1056c39086d69712fb9d74a33ad912b0b38aeb.tar.bz2
pfsense-packages-3d1056c39086d69712fb9d74a33ad912b0b38aeb.zip
Merge pull request #62 from Nachtfalkeaw/patch-15
freeRADIUS: changing logging capabilities (logging to syslog or to /var/l
-rw-r--r--config/freeradiussettings.xml142
1 files changed, 90 insertions, 52 deletions
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 @@
<type>input</type>
<default_value>1812</default_value>
</field>
- <field>
- <fielddescr>Radius Logging</fielddescr>
- <fieldname>radiuslogging</fieldname>
- <description>Enable radius logging to /var/log/radius.log?</description>
- <type>select</type>
- <default_value>no</default_value>
- <options>
- <option>
- <name>no</name>
- <value>no</value>
- </option>
- <option>
- <name>yes</name>
- <value>yes</value>
- </option>
- </options>
- </field>
- <field>
- <fielddescr>Log bad authentication attempts?</fielddescr>
- <fieldname>radiuslogbadpass</fieldname>
- <description>Specifies whether to log bad authentication attempts to the radius.log file. Radius Logging must be enabled for this to work.</description>
- <type>select</type>
- <default_value>no</default_value>
- <options>
- <option>
- <name>no</name>
- <value>no</value>
- </option>
- <option>
- <name>yes</name>
- <value>yes</value>
- </option>
- </options>
- </field>
- <field>
- <fielddescr>Log good authentication attempts?</fielddescr>
- <fieldname>radiusloggoodpass</fieldname>
- <description>Specifies whether to log good authentication attempts to the radius.log file. Radius Logging must be enabled for this to work.</description>
- <type>select</type>
- <default_value>no</default_value>
- <options>
- <option>
- <name>no</name>
- <value>no</value>
- </option>
- <option>
- <name>yes</name>
- <value>yes</value>
- </option>
- </options>
- </field>
- </fields>
+ <field>
+ <fielddescr>Maximum requests server</fielddescr>
+ <fieldname>max_requests_var</fieldname>
+ <description>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.</description>
+ <type>input</type>
+ <default_value>1024</default_value>
+ </field>
+ <field>
+ <fielddescr>Max request time</fielddescr>
+ <fieldname>max_request_time_var</fieldname>
+ <description>The maximum time (in seconds) to handle a request. Default is 30. Useful range of values: 5 to 120.</description>
+ <type>input</type>
+ <default_value>30</default_value>
+ </field>
+ <field>
+ <fielddescr>Cleanup delay</fielddescr>
+ <fieldname>cleanup_delay_var</fieldname>
+ <description>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.</description>
+ <type>input</type>
+ <default_value>5</default_value>
+ </field>
+ <field>
+ <fielddescr>Radius Logging Destination</fielddescr>
+ <fieldname>logdir_var</fieldname>
+ <description>Logging to "syslog" or "/var/log/radius.log" ?</description>
+ <type>select</type>
+ <default_value>/var/log</default_value>
+ <options>
+ <option>
+ <name>radius.log</name>
+ <value>/var/log</value>
+ </option>
+ <option>
+ <name>syslog</name>
+ <value>syslog</value>
+ </option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Radius Logging</fielddescr>
+ <fieldname>radiuslogging</fieldname>
+ <description>Enable logging?</description>
+ <type>select</type>
+ <default_value>no</default_value>
+ <options>
+ <option>
+ <name>no</name>
+ <value>no</value>
+ </option>
+ <option>
+ <name>yes</name>
+ <value>yes</value>
+ </option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Log bad authentication attempts?</fielddescr>
+ <fieldname>radiuslogbadpass</fieldname>
+ <description>Specifies whether to log bad authentication attempts to the radius.log file. Radius Logging must be enabled for this to work.</description>
+ <type>select</type>
+ <default_value>no</default_value>
+ <options>
+ <option>
+ <name>no</name>
+ <value>no</value>
+ </option>
+ <option>
+ <name>yes</name>
+ <value>yes</value>
+ </option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Log good authentication attempts?</fielddescr>
+ <fieldname>radiusloggoodpass</fieldname>
+ <description>Specifies whether to log good authentication attempts to the radius.log file. Radius Logging must be enabled for this to work.</description>
+ <type>select</type>
+ <default_value>no</default_value>
+ <options>
+ <option>
+ <name>no</name>
+ <value>no</value>
+ </option>
+ <option>
+ <name>yes</name>
+ <value>yes</value>
+ </option>
+ </options>
+ </field>
+ </fields>
<custom_delete_php_command>
freeradius_settings_resync();
</custom_delete_php_command>