FreeRADIUS 3.0.25 - Unlang Config Retrieval (Load Balancers) from within Authentication Module
aland at deployingradius.com
Wed Sep 21 12:54:41 UTC 2022
On Sep 21, 2022, at 12:27 AM, Jacob Lane <admin at bitcomputing.io> wrote:
> I'm currently working for a client that would like to list some servers under load-balancers in their config file and, for a somewhat convoluted reason to do with the authentication method, the IP addresses of those load balancers need to be retrieved at a later date from within an authentication module.
This is for proxying?
> I've pored over Doxygen to try and formulate a way of doing it myself but I'm coming up a little short - it would always be possible to manually parse the config file myself or include the IP Addresses in the individual config file for the module but the client would prefer to do it automatically and for the sake of robustness I'd like to at least attempt to pull those values from within FreeRADIUS before going for the other methods! If anyone has any guidance on this matter it would be very gratefully received :)
It's not possible to dynamically change IP addresses when doing load balancing for proxies. It's just too hard to implement correctly.
More information about the Freeradius-Devel