Proxy feature enhancement

Alan DeKok aland at deployingradius.com
Fri Sep 22 18:09:05 CEST 2006


Geoffroy Arnoud <garnoud at yahoo.co.uk> wrote:
> I took a rapid look to the code (on a 1.1.2 I have on my desktop), and I looked into proxy_send. Globally, is it just a matter of changing those 2 lines:
> 
>     request->proxy_try_count = mainconfig.proxy_retry_count - 1;
>     request->proxy_next_try = request->timestamp + mainconfig.proxy_retry_delay;
> 
> with new configuration parameters? (impacts on config.c of course!)

  Yes.  The REALM structure should have two new entries added, with
default value of -1.  The proxy_send code should use the REALM values, unless they're -1, in which case it should use the global configq.

> I think that proxy_next_try will have to get updated further for next retransmissions. I'll find it for sure!

  Ok.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Devel mailing list