Adding a NAS via SQL

Paul Lambert paul.lambert at gmail.com
Sat Jul 28 17:08:23 CEST 2007


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070728/794a9a9f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radiusd.out
Type: application/octet-stream
Size: 18414 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070728/794a9a9f/attachment.obj>


More information about the Freeradius-Users mailing list