(RADIATOR) RE: AccLogFileFormat
Paul Thorton
paul.thornton at asiaonline.net
Tue Sep 18 00:53:49 CDT 2001
Hi,
As per previous email. I have attempted to use the AuthLog option
instead
to get the code / Pwd returned, but it looks like The AuthBy module is
not
installed. Where can I get this?
Can't locate Radius/AuthLog.pm in @INC (@INC contains: .
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl .)
at /usr/local/lib/perl5/site_perl/5.005/Radius/ServerConfig.pm line 106,
<FILE> line 22.
Thanks,
Paul
I have set up a new AcctLogFileFormat and was wondering why I am not
getting 2 values back?
AcctLogFileName /var/log/radius/new.log
AcctLogFileFormat
%{Timestamp}|%{Acct-Session-Id}|%{Acct-Status-Type}|%{User-Name}|%{User-
Password}|%{Class}|%{NAS-IP-Address}|%{NAS-Port}|%{NAS-Port-Type}|%{Fram
ed-Protocol}|%{Framed-IP-Address}|%{Called-Station-Id}|%{Calling-Station
-Id}|%{Ascend-Disconnect-Cause}|%{Acct-Input-Octets}|%{Acct-Output-Octet
s}|%{Acct-Session-Time}|%{Reply:code}
All values are being returned except for:
%{User-Password} <- Any
and
%{Reply:code} <- Access Accept or Reject for example
I can do it in a hook, but the replyhook does not work in <AuthBy File>
I.E.
my $original_packet = ${$_[2]};
my $reply_packet = ${$_[0]};
my $debug_what = $reply_packet->code(); <- Here
my $debug_pwd =
$original_packet->decode_password($original_packet->{Client}->{Secret});
Can someone please help?
Thanks,
Paul
===
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