Proxy home server failover

Tomas Hoger tomas.hoger at gmail.com
Sun May 27 12:32:15 CEST 2007


Hi!

I have a question regarding proxy failover in FreeRadius 1.x.  Proxy
code chooses first active home server for realm and send packet to
that one.  If no reply is received after configured number of retries,
request is rejected, other servers are *not* tried.   Does version 2.0
have the same behavior?  According to comments in sample proxy.conf it
seems new version will also try only one server and reject request if
no reply is received.

I have made a quick modification of request_list.c, so that
request_reject is not called when try_count drops to 0.  After that,
when NAS retries, different home server is selected.  Can not calling
request_reject have any negative impact (memory leak, internal
structures inconsistency, ...)?  Wouldn't it make sense to make
configuration parameter, which will instruct radiusd whether it should
reject or silently drop request, for which it has not received reply
from home server?  For realms with single home server, it won't make
much difference, as request will be rejected on next NAS retry (all
home servers are marked dead), but for realms with multiple home
servers, reject will not be sent just because one of the home servers
is not responding.

Ideas?

th.



More information about the Freeradius-Users mailing list