I think I may have answered my own question, but I'd like to check.
If I put this handler above the handler example below, will it do the job
for me?
<Handler Realm=blah,Acct-Status-Type=/Start|Stop>
AcctLogFileName /var/log/radacct/remote/blah/detail
</Handler>
Will this simply intercept (and accept) accounting packets and log them into
the file specified?
Thanks
Andrew
> -----Original Message-----
> From: Andrew Pollock [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 29 February 2000 5:45 PM
> To: [EMAIL PROTECTED]
> Subject: Rewriting usernames and what gets logged with AcctLogFileName
>
>
> Hi,
>
> I'd like to have my cake and eat it too, if possible.
>
> I'd like to be able to strip off the realm in an Access-Request
> before proxying it to another RADIUS server, and I'd like to log
> the accounting records locally (and not proxy them) but leave the
> realm information intact.
>
> Is this possible?
>
> <Handler Realm=blah>
> RewriteUsername s/^([^@]+).*/$1/ # I'd like to only
> r/w this for the auth packet
> AcctLogFileName /var/log/radacct/remote/blah/detail
> <AuthBy RADIUS>
> Identifier Radius
> Host 192.168.129.1
> Host 192.168.129.13
> Secret keepguessing
> AuthPort 1645
> AcctPort 1646
> Retries 3
> RetryTimeout 5
> NoForwardAccounting
> </AuthBy>
> </Handler>
>
> Andrew
>
> ------------------------------------------------------------
> Andrew Pollock Systems Integrator
> [EMAIL PROTECTED] http://www.asiaonline.net/
> Phone: +61 419788191
>
> Asia Online
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.