On 22/08/13 16:46, Dean, Barry wrote:
Anyone want to throw in 2 cents/pennies worth to this?
Yep, don't do it like this.
Instead, write the user/ip entries to a file using the "linelog" module,
and use a long-running perl process to tail the file (using File::Tail)
and post them to the PAN. This will likely be more performant and avoid
the hassles of a random module interfering with FreeRADIUS.
You probably want to write a timestamp to the file, and have the
long-running process ignore lines >X old, in case it lags behind e.g.
because it hangs, gets shutdown and restarted much later, etc.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html