Autoreload of freeradius configuration files

Michael Schwartzkopff ms at sys4.de
Wed Nov 30 18:08:33 UTC 2022


Hi,


you can put the clients into a database, but that would not solve your 
whole problem.


Perhaps you can set up some automation that updates the config, checks 
the new config and in a final step send a HUP to the server via the 
radmin interface.


Michael.


On 30.11.22 17:40, Amit Prajapati wrote:
> Hi,
>
> I am using freeradius 3.0.20 for one of the projects.
> For my requirement I am using it as a proxy server. I am able to update the
> required configuration file (client.conf, proxy.conf and
> site-enabled/default) with the clients, realms and home-server details, to
> proxy the incoming request to the home server.
>
> My query is that for this requirement I need to add/delete the new/old
> clients in "clients.conf" or add/delete home-server configuration in the
> "proxy.conf" file. But for every change in these files I have to restart
> the server in-order for the change to become effective.
>
> Is there any way to dynamically read these configuration files ((client.conf,
> proxy.conf and site-enabled/default)) without restarting the server?
> I have tried the HUP signal method, but it's reloading only the freeradius
> modules even when I changed any of these three files.
>
> Kindly advise.
>
> Thanks & Regards,
> Amit
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list