Hi all.
I have a Linux RedHat 6.1 with Radiator (latest version) + users and accounting in a
MySQL Server.
The configuration file of radiator follows (realm DEFAULT section only):
<Realm DEFAULT>
AcctLogFileName /var/log/radiator.log
MaxSessions 1
<AuthBy SQL>
DBSource dbi:mysql:radius
DBUsername xxxxxxxxxxx
DBAuth xxxxxxxxxxxxx
AccountingTable ACCOUNTING
AccountingStopsOnly
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,integer
AcctColumnDef ACCTSTATUSTYPE,Acct-Status-Type
AcctColumnDef ACCTDELAYTIME,Acct-Delay-Time,integer
AcctColumnDef ACCTINPUTOCTETS,Acct-Input-Octets,integer
AcctColumnDef ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
AcctColumnDef ACCTSESSIONID,Acct-Session-Id
AcctColumnDef ACCTSESSIONTIME,Acct-Session-Time,integer
AcctColumnDef ACCTTERMINATECAUSE,Acct_Terminate-Cause
AcctColumnDef NASIDENTIFIER,NAS-Identifier
AcctColumnDef NASPORT,NAS-Port,integer
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
AuthSelect select PASSWORD, CHECKATTR, REPLYATTR from SUBSCRIBERS where
USERNAME='%n'
</AuthBy SQL>
</Realm>
In the subscribers table I have registries like this:
USERNAME: usuario@bemarnet
PASSWORD: xxxxxxxxx
REPLYATTR: Service-Type = Framed-User
I need several things:
1.- I have 256 IP addresses for my network, but want to define a 64 IPs pool from
x.x.x.1 to x.x.x.64 in order to assign only this addresses to my users. How can this
be done ?
2.- I want to assign fixed IP addresses starting from x.x.x.65 for several users. Is
this compatible with the 64 IPs pool ?
3.- I have three kind of users: ISDN, Async and mixed (users that can use ISDN and
Async with the same username). How can I restrict ISDN connections for certain users ?
I want user A to be accepted only if connected with modem (Async), B only if connected
with ISDN and C accepted in any case.
Thanks in advance !!
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.