[freeside] GNU-Radius
ivan
ivan at 420.am
Wed May 30 05:36:58 PDT 2001
On Thu, May 24, 2001 at 05:37:05PM -0300, Max wrote:
> Hi!
>
> Any body using GNU-RADIUS with Freeside?
> I read that freeside generates a text file "users" or passwd file for
> cistron to authenticate.
> But how does freeside get the accounting info coming in from the TS to the
> Cistron plain text detail file?
You could write something to tail and parse the plaintext logfile. Look
in the fs_radlog/ directory - there's the beginnings of a client/server
system (like the session server, signup server & password server) to parse
RADIUS logfiles and communicate with a backend Freeside machine. By
"there's the beginnings" that means it might help you if you want to write
one, not that it will do anything for you now.
A better solution is to use a RADIUS server with proper callbacks.
See htdocs/docs/session.html
IIRC, Cistron only has a "session start" callback, but not a "session
stop" callback, but there are patches around to add a "session stop"
callback.
--
meow
_ivan
More information about the freeside-users
mailing list