Hugh Irvine wrote:
> If you send me your existing configuration file, I will show you what
> to do. Could also please explain exactly what you want to happen with
> RADIATOR2?
RADIATOR1 is my actual production radius system.
RADIATOR2 is a new radius system formed by varios radius hosts and a
load balancing device that gives us high avaibility and scalability.
Our intention is test if the new radius system used in RADIATOR2 can
handle the Authentication/Accounting packets received by RADIATOR1 and
test the high avaibility mecanism.
This is the reason for which we want that RADIATOR2 receives all the
Authentication/Accounting packets received by RADIATOR1 but if there is
a communication problem between RADIATOR1 and RADIATOR2 don't bother the
production radius system.
Here is our configuration file:
PidFile ./tmp/radiusd.pid
AuthPort 1812
AcctPort 1813
# BindAddress 0.0.0.0
LogDir ./logs
DbDir ./db
DictionaryFile ./etc/dictionary.ascend
<Client 10.10.10.10>
Secret ssssssssssss
DupInterval 0
IdenticalClients 10.10.10.11
</Client>
<Client 20.20.20.20>
Secret sssssssssss
NasType AscendSNMP
SNMPCommunity ccccccc
IdenticalClients 20.20.20.21
</Client>
<SessionDatabase SQL>
Identifier DBSSQL
DBSource dbi:mysql:radius:1.1.1.1
DBUsername user
DBAuth pass
AddQuery insert into ONLINE (USERNAME, NASIDENTIFIER, NASPORT, \
ACCTSESSIONID, TIME_STAMP, FRAMEDADDRESS, PORTTYPE, \
SERVICETYPE) values ('%n', '%N',
%{NAS-Port},'%{Acct-Session-Id}', \
%{Timestamp}, '%{Framed-Address}',
'%{NAS-Port-Type}','%{Service-Type}')
DeleteQuery delete from ONLINE where \
NASIDENTIFIER='%N' and NASPORT=%{NAS-Port}
ClearNasQuery delete from ONLINE where NASIDENTIFIER='%N'
CountQuery select NASIDENTIFIER, NASPORT, ACCTSESSIONID from
RADONLINE \
where USERNAME='%n'
</SessionDatabase>
<Log FILE>
Filename %L/logfile
Trace 2
</Log>
<Realm /^myrealm/>
SessionDatabase DBSSQL
MaxSessions 1
RewriteUsername s/^([^@]+).*/$1/
AcctLogFileName %L/detail
AccountingHandled
<AuthBy DBFILE>
Filename %D/users
</AuthBy>
</Realm>
<Realm DEFAULT>
<AuthBy FILE>
Filename %D/reject
</AuthBy>
</Realm>
May you help us with the configuration ?
Greetings.
---
Carles Xavier Munyoz Bald� / [EMAIL PROTECTED]
Wanadoo Espa�a
Dpto. Sistemas / System Department
Tel: +34 96 5040000 Ext. 40046 - Fax: +34 96 5040047
http://www.wanadoo.es/
---
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.