All rights reserved.
Based on m0n0wall (http://m0n0.ch/wall)
Copyright (C) 2003-2006 Manuel Kasper .
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]> Describe your package requirements hereCurrently there are no FAQ items provided.freeradiussqlconfnoneFreeRADIUS: SQLpkg_edit.php?xml=freeradiussqlconf.xml&id=0/usr/local/pkg/freeradius.incUsers/pkg.php?xml=freeradius.xmlMACs/pkg.php?xml=freeradiusauthorizedmacs.xmlNAS / Clients/pkg.php?xml=freeradiusclients.xmlInterfaces/pkg.php?xml=freeradiusinterfaces.xmlSettings/pkg_edit.php?xml=freeradiussettings.xml&id=0EAP/pkg_edit.php?xml=freeradiuseapconf.xml&id=0SQL/pkg_edit.php?xml=freeradiussqlconf.xml&id=0Certificates/pkg_edit.php?xml=freeradiuscerts.xml&id=0LDAP/pkg_edit.php?xml=freeradiusmodulesldap.xml&id=0View config/freeradius_view_config.phpXMLRPC Sync/pkg_edit.php?xml=freeradiussync.xml&id=0ENABLE SQL DATABASE - SERVER 1listtopicEnable SQL Supportvarsqlconfincludeenable
You must enable at least one of the following options: Authorization, Accounting, Session, Post-Auth.]]>checkboxvarsqlconf2failover,varsqlconf2includeenable,varsqlconfenableauthorize,varsqlconfenableaccounting,varsqlconfenablesession,varsqlconfenablepostauth,varsqlconfdatabase,varsqlconfserver,varsqlconfport,varsqlconflogin,varsqlconfpassword,varsqlconfradiusdb,varsqlconfaccttable1,varsqlconfaccttable2,varsqlconfpostauthtable,varsqlconfauthchecktable,varsqlconfauthreplytable,varsqlconfgroupchecktable,varsqlconfgroupreplytable,varsqlconfusergrouptable,varsqlconfreadgroups,varsqlconfdeletestalesessions,varsqlconfsqltrace,varsqlconfnumsqlsocks,varsqlconfconnectfailureretrydelay,varsqlconflifetime,varsqlconfmaxqueries,varsqlconfreadclients,varsqlconfnastableEnable SQL Authorizationvarsqlconfenableauthorize
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableEnable SQL Accountingvarsqlconfenableaccounting
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableEnable SQL Sessionvarsqlconfenablesession
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableEnable SQL Post-Authvarsqlconfenablepostauth
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableSQL DATABASE CONFIGURATION - SERVER 1listtopicDatabase TypevarsqlconfdatabaseselectmysqlServer IP AddressvarsqlconfserverinputlocalhostServer Port Addressvarsqlconfportinput3306Database UsernamevarsqlconflogininputradiusDatabase PasswordvarsqlconfpasswordpasswordradpassDatabase Table Configurationvarsqlconfradiusdb
For all except Oracle choose: radius
For Oracle change and paste the following line according your environment: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=your_sid)))]]>inputradiusAccounting Table 1 (Start)varsqlconfaccttable1inputradacctAccounting Table 2 (Stop)varsqlconfaccttable2inputradacctPost Auth TablevarsqlconfpostauthtableinputradpostauthAuth Check TablevarsqlconfauthchecktableinputradcheckAuth Reply TablevarsqlconfauthreplytableinputradreplyGroup Check TablevarsqlconfgroupchecktableinputradgroupcheckGroup Reply TablevarsqlconfgroupreplytableinputradgroupreplyUser Group TablevarsqlconfusergrouptableinputradusergroupRead the Group Tablesvarsqlconfreadgroupsyes (default) we read the group tables.
If set to no the user must have Fall-Through = Yes in the radreply table]]>selectyesDelete Stale SessionsvarsqlconfdeletestalesessionsselectyesPrint all SQL StatementsvarsqlconfsqltraceselectnoNumber of SQL Connectionsvarsqlconfnumsqlsocksinput5Failed Database Connection Delayvarsqlconfconnectfailureretrydelayinput60SQL Socket Lifetimevarsqlconflifetimeinput0SQL Socket Maximum Queriesvarsqlconfmaxqueriesinput0Read Clients from Databasevarsqlconfreadclientsyes to read radius clients from the database ('nas' table). Clients will only be read on server startup. (Default: yes)]]>selectyesRADIUS Client TablevarsqlconfnastableinputnasENABLE REDUNDANT SQL DATABASE SUPPORTlisttopicChoose Failover/Loadbalancing Modevarsqlconf2failover redundant: If server 1 fails failover to server 2 load-balance: The load is balanced 50:50 to both databases redundant-load-balance: The load is balanced 50:50 to both databases. If one is down the other does 100%.]]>selectredundantENABLE SQL DATABASE - SERVER 2listtopicEnable SQL Supportvarsqlconf2includeenable
You must enable at least one of the following options: Authorization, Accounting, Session, Post-Auth.]]>checkboxvarsqlconf2enableauthorize,varsqlconf2enableaccounting,varsqlconf2enablesession,varsqlconf2enablepostauth,varsqlconf2database,varsqlconf2server,varsqlconf2port,varsqlconf2login,varsqlconf2password,varsqlconf2radiusdb,varsqlconf2accttable1,varsqlconf2accttable2,varsqlconf2postauthtable,varsqlconf2authchecktable,varsqlconf2authreplytable,varsqlconf2groupchecktable,varsqlconf2groupreplytable,varsqlconf2usergrouptable,varsqlconf2readgroups,varsqlconf2deletestalesessions,varsqlconf2sqltrace,varsqlconf2numsqlsocks,varsqlconf2connectfailureretrydelay,varsqlconf2lifetime,varsqlconf2maxqueries,varsqlconf2readclients,varsqlconf2nastableEnable SQL Authorizationvarsqlconf2enableauthorize
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableEnable SQL Accountingvarsqlconf2enableaccounting
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableEnable SQL Sessionvarsqlconf2enablesession
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableEnable SQL Post-Authvarsqlconf2enablepostauth
SQL support must be enabled for this to work. (Default: Disable)]]>selectDisableSQL DATABASE CONFIGURATION - SERVER 2listtopicDatabase Typevarsqlconf2databaseselectmysqlServer IP Addressvarsqlconf2serverinputlocalhostServer Port Addressvarsqlconf2portinput3306Database Usernamevarsqlconf2logininputradiusDatabase Passwordvarsqlconf2passwordpasswordradpassDatabase Table Configurationvarsqlconf2radiusdb
For all except Oracle choose: radius
For Oracle change and paste the following line according your environment: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=your_sid)))]]>inputradiusAccounting Table 1 (Start)varsqlconf2accttable1inputradacctAccounting Table 2 (Stop)varsqlconf2accttable2inputradacctPost Auth Tablevarsqlconf2postauthtableinputradpostauthAuth Check Tablevarsqlconf2authchecktableinputradcheckAuth Reply Tablevarsqlconf2authreplytableinputradreplyGroup Check Tablevarsqlconf2groupchecktableinputradgroupcheckGroup Reply Tablevarsqlconf2groupreplytableinputradgroupreplyUser Group Tablevarsqlconf2usergrouptableinputradusergroupRead the Group Tablesvarsqlconf2readgroupsyes (default) we read the group tables.
If set to no the user must have Fall-Through = Yes in the radreply table]]>selectyesDelete Stale Sessionsvarsqlconf2deletestalesessionsselectyesPrint all SQL Statementsvarsqlconf2sqltraceselectnoNumber of SQL Connectionsvarsqlconf2numsqlsocksinput5Failed Database Connection Delayvarsqlconf2connectfailureretrydelayinput60SQL Socket Lifetimevarsqlconf2lifetimeinput0SQL Socket Maximum Queriesvarsqlconf2maxqueriesinput0Read Clients from Databasevarsqlconf2readclientsyes to read radius clients from the database ('nas' table). Clients will only be read on server startup. (Default: yes)]]>selectyesRADIUS Client Tablevarsqlconf2nastableinputnas
freeradius_sqlconf_resync();
freeradius_sqlconf_resync();