(RADIATOR) Multiple Accounting Logs

Hugh Irvine hugh at open.com.au
Sun Apr 18 15:15:43 CDT 2004


Hello Jason -

It is not possible to do what you describe.

The only thing I can suggest is proxying to different instances of 
Radiator and writing different formats in each one.

regards

Hugh


On 18 Apr 2004, at 01:43, Jason Godsey wrote:

>
> What I am looking for is behavior outlined below in the Handler.  I 
> would like to have multiple accounting log files w/ different formats 
> within the same handler (open, write to, and close 3 files for each 
> accounting packet.)
>
> In my tests, I can have multiple files detail.txt test1.txt test2.txt 
> but only 1 shared format.
>
> I have tried placing   AcctLogFileFormat %{User-Name}, and 
> AcctLogFileName /tmp/test1.txt within AuthBy File, SQL as shown in 
> http://www.open.com.au/archives/radiator/1999-08/msg00268.html.
>
> The problem is: Sat Apr 17 08:19:43 2004: ERR: Unknown keyword 
> 'AcctLogFileName' in /usr/local/etc/raddb/radius.cfg line 77
>
> This happens in both AuthBy FILE and SQL.
>
> Here is the behaviour I'd really like:
>
> <Handler>
>   AuthBy WorkingAuthBy
>   AuthLog WorkingAuthLog
>   ###log in default format##############
>   AcctLogFileName /tmp/detail.txt
>   ###log in this format#################
>   AcctLogFileFormat %{User-Name}
>   AcctLogFileName /tmp/test1.txt
>   ###log in this format#################
>   AcctLogFileFormat %{Framed-IP-Address}
>   AcctLogFIleName /tmp/test2.txt
> </Handler>
>
> ########################################################
>                         OR
> ########################################################
>
> <AcctLog FILE>
>   Identifier default
>   AcctLogFIleName /tmp/detail.txt
> </AcctLog>
> <AcctLog FILE>
>   Identifier test2
>   AcctLogFileFormat %{Framed-IP-Address}
>   AcctLogFIleName /tmp/test2.txt
> </AcctLog>
> <AcctLog FILE>
>   Identifier test1
>   AcctLogFileFormat %{User-Name}
>   AcctLogFIleName /tmp/test1.txt
> </AcctLog>
>
>
> <Handler>
>   AuthBy WorkingAuthBy
>   AuthLog WorkingAuthLog
>   AcctLog default
>   AcctLog test1
>   AcctLog test2
> </Handler>
>
>
> Thank you,
>
> Jason
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list