[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Autoreload of freeradius configuration files
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2022-11-30 19:20:40
Message-ID: 76378FA0-9A34-4B56-9A99-F9049AA6CCA0 () deployingradius ! com
[Download RAW message or body]

On Nov 30, 2022, at 11:40 AM, Amit Prajapati <amit.subscription@gmail.com> wrote:
> I am using freeradius 3.0.20 for one of the projects.

  You should really upgrade to 3.2.1.

> 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.

  Yes.

> Is there any way to dynamically read these configuration files ((client.conf,
> proxy.conf and site-enabled/default)) without restarting the server?

  No.

> I have tried the HUP signal method, but it's reloading only the freeradius
> modules even when I changed any of these three files.

  HUP only reloads a few things.  It's just too hard to reload clients and home \
servers on the fly.

  3.2.1 has some provisions for reloading home servers dynamically.  But you can't \
just HUP the server, it's more complicated than that.  See \
raddb/home_servers/README.md in the 3.2 distribution.

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic