Adding a NAS via SQL

Peter Nixon listuser at peternixon.net
Sat Jul 28 17:47:55 CEST 2007


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 at 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/



More information about the Freeradius-Users mailing list