NAS list update without restarting radius server.

liran tal liransgarage at gmail.com
Wed Jan 23 08:45:58 CET 2008


Maybe freeradius can read the nas list from sql at startup to some
linked list and this list will be updated every given interval with a query
to the database.

Sounds reasonable.


Regards,
Liran Tal.

On Jan 23, 2008 12:51 AM, Marinko Tarlac <mangia81 at gmail.com> wrote:

> Cron can help but how will you know that NAS is added and you can lost
> some updates while your radius server was down.
>
> Better idea is to make script and call it after every insert....
>
> PHP can do this...
>
> Pawel Cieplinski wrote:
> > Hi
> >
> > Ok walter that is clear to me.
> >
> > How would you solve that problem? Lets say I need NAS working just after
> its
> > added to SQL.
> >
> > Restarting freeradius daemon using cron ?
> >
> > Or
> >
> > Use script wchich add NAS to SQL and restarting freerdius ?
> >
> > Regards
> > Pawel Cieplinski
> >
> > -----Original Message-----
> > From: freeradius-users-bounces+pawel=
> parkandmarine.com at lists.freeradius.org
> > [mailto:
> freeradius-users-bounces+pawel=parkandmarine.com at lists.freeradius.or
> > g] On Behalf Of Walter Krivanek, VividVisions
> > Sent: 22 January 2008 18:46
> > To: FreeRadius users mailing list
> > Subject: Re: NAS list update without restarting radius server.
> >
> > Hi,
> >
> > in sql.conf it says:
> >
> > Set readclients to 'yes' to read radius clients from the database
> > ('nas' table)
> > Clients will ONLY be read on server startup.  For performance
> > and security reasons, finding clients via SQL queries CANNOT
> > be done "live" while the server is running.
> >
> > Best,
> > Walter
> >
> >
> > Am 22.01.2008 um 19:30 schrieb Pawel Cieplinski:
> >
> >
> >> Hi there
> >>
> >>
> >>
> >> Everything works fine so far, but after adding a new NAS to DB,
> >> radius server need restart to read this data, I am trying to
> >> manipulate nas list without restarting freeradius, but due to lack
> >> od documentation could you help me with that please.
> >>
> >>
> >>
> >> Pawel Cieplinski
> >>
> >> -
> >> List info/subscribe/unsubscribe? See
> >>
> > http://www.freeradius.org/list/users.html
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> >
> >
> >
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080123/ec70334c/attachment.html>


More information about the Freeradius-Users mailing list