Hi, I have now taken a look through the archives and I can't see a clean solution for reloading the nas without restarting. I assume this is what you were suggesting I do via cron? Paul. On 7/28/07, Paul Lambert <paul.lambert@gmail.com> wrote:
Peter,
Please accept my apologies for wasting your time.
Paul
On 7/28/07, Peter Nixon <listuser@peternixon.net > wrote:
Paul
All of these questions have been discussed MANY times on the list. Please check the archives..
Peter
On Sat 28 Jul 2007, Paul Lambert wrote:
Thanks,
I thought I might have been going crazy!!!
I however just tried hitting radiusd with a SIGHUP and it really didn't like it.... Output attached, I just got a segfault when I hit it with the next radius request.
Is there a cleaner way to make it re-read the nas list?
TIA Paul.
On 7/28/07, Peter Nixon <listuser@peternixon.net> wrote:
On Fri 27 Jul 2007, Paul Lambert wrote:
Hi all,
I think I might be being a little dense but when I add a NAS to my SQL database, it doesn't appear to be enabled until I restart my radius server.
Yep. Thats to way it's designed to protect against DoS attacks, otherwise every inbound packet from an unknown IP would trigger an SQL query which would mean killing a server would be possible with a few KB of spoofed UDP
packets..
Is there a way to automatically activate a new NAS device that I add to the SQL database?
cron ;-)
--
Peter Nixon http://peternixon.net/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Peter Nixon http://peternixon.net/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html