Freeradius 2.1-1: failure modes

leopold vova_b at yahoo.com
Mon Mar 9 17:03:36 CET 2009


Guys,
I have a question about different failure modes in FreeRadius, basically I
want to differentiate between different scenarios of failures and return a
proper response (if any) to NAS device.
Failure example:
Backend database is down

Right now FreeRadius returns reject to NAS
rlm_sql (sql): Failed to connect DB handle #8
rlm_sql (sql): reconnect failed, database down?
rlm_sql_getvpdata: database query error
[sql] SQL query error; rejecting user
rlm_sql (sql): Released sql socket id: 8
++[sql] returns fail
Sending Access-Reject
Say I do not want to return reject in this case and I want the switch to
understand that radius is down and retry another radius server (a
backup/failover).
Because if I return reject the NAS device treats this as radius is UP and
running.

What is recommended behavior for Radius for: DB is down,Authentication infra
is down(say kerberos is down)? Should it return REJECT or NOOP?
Thank you very much for your responses.
Leopold
-- 
View this message in context: http://www.nabble.com/Freeradius-2.1-1%3A-failure-modes-tp22413666p22413666.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list