(RADIATOR) Patch: AuthBy RoundRobin -- try only once all alive servers in the RR list

Rok Papez rok.papez at arnes.si
Tue Nov 15 05:36:07 CST 2005


Hello!

Circumstance description:
- We are proxying all unknown realm requests to root Radius servers
- We have disabled the dead timers for the root Radius servers
(we don't want to mark root servers as dead, never; even if they _are_ dead ;->)
- We have configured the load-balancing (round robin) of requests to the root Radius servers
- some Radius servers don't send Access-Reject for unknown domain

Problem description:
- We use Radiator/Auth-By ROUNDROBIN and it's not possible to specify how long
or how many times a request should be retried. It doesn't note request<->server
attempts and keeps retrying over and over again.

Solution description:
- We developed a patch to attempt to deliver only a limited amount of times.
It will remember which server it tried to send to at first and then on retry it will walk the whole
RR list and try each available server in a row. When it reaches the first server, it will
abort the request.

Please find the patch for radiator-3.13 attached. I'd love to hear any feedback...

-- 
best regards,
Rok Papež
ARNES, Jamova 39 p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 88 00, fax: +386 1 479 88 78
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RoundRobin_v2.diff
Type: text/x-diff
Size: 2193 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20051115/c1e7d601/attachment.bin>


More information about the radiator mailing list