Being new to RADIUS myself (read "not knowning any better") I did a
quick hack on Livingston's 1.16 code for an alpha test of one of our
projects. We do not use detail file. Instead we keep two files
"sessions.tbl" and "sessions.log" (they were supposed to be tables in
RDBMS, but we didn't have time to evaluate which RDBMS we wanted to
use). Anyway, sessions.tbl keeps a list of current sessions (read
"accounting start records"). When the session is done accounting stop
is matched with accounting start, duration and other miscellaneous
information is computed and the whole record is written to
sessions.log (thus sessions.log is a list of completed sessions) and
the corresponding session is discarded from the sessions.tbl
file. With another hour of work it would be possible to restart
sessions.log every so often (daily, monthly, whatever).
One thing to keep in mind, since these are just unix files, these are
not atomic transactions, so there may be a slight problem if the
system crashes. Well, its alpha (is there a "smiley" glyph for
"shrugging shoulders"?).
Also, over the last few days I have been getting a strong feeling that
Bill has implemented everything I could possibly think of in the
Merit's server already :-). So it's worth checking what they've done.
\\\|///
\\ - - //
( @ @ )
+------------------------------oOOo-(_)-oOOo--------------------+
| Victor Muslin | |
| Prodigy Services Company | Voice: (914) 448-4737 |
| 445 Hamilton Avenue, H11A | Fax: (914) 448-8133 |
| Whilte Plains, NY 10601 | Internet: vmuslin@prodigy.com |
+-----------------------------+--------Oooo---------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)