(no subject)

Alan DeKok aland at ox.org
Tue Feb 21 18:21:40 CET 2006


Walter Reynolds <waltr at umich.edu> wrote:
> Currently we have two files that appear to be accounting data to me.
> 
> Following are what we get (I have removed IP info for safty sake)
> 
> These two lines are from logfile.20060220
> 
> Mon Feb 20 13:07:12 2006: Received-Authentication: 63/62890 'waltr' from 
> XXX.XXX.XXX.XXX port 9126 PPP

  That's not accounting data.  That's just logging information.  You
can update FreeRADIUS to log that, too.  See src/main/auth.c

> Mon Feb 20 13:07:12 2006: Authentication: 63/62890 'waltr' from 
> XXX.XXX.XXX.XXX port 9126 PPP - OK -- total 0, holding 0

  'total 0, holding 0'?  What does that mean?

  I've never understood Merit's logs.

> No, what is more important to me os from the session.20060220.las file 
> (mainly the first line)  This is strange though as because Pre-Auth the 
> accounting data is sent to the merit radius then forwarded to a freeradius 
> and back.

  I have no idea what that means.

> NA      NA      1140458855      20      20      waltr@  NA 
> 'PROFILE' NA      NA      XXX.XXX.XXX.XXX/9126    NA      NA 
> Framed/PPP/XXX.XXX.XXX.XXX
> ##      User-Name:0='waltr'     Calling-Station-Id:0='XXX.XXX.XXX.XXX' 
> Acct-Status-Type:1=Stop

  I have no idea what that log file format is.  The ':0' and ':1'
stuff looks like nonsense to me.

  I'd suggest re-phrasing your requirements as "what information do
you need to have logged", and ignore the existing format.  Then, write
a Perl script that reads the "detail" file, and produces whatever data
you want.

  Alan DeKok.




More information about the Freeradius-Users mailing list