(RADIATOR) RE: AccLogFileFormat
Hugh Irvine
hugh at open.com.au
Tue Sep 18 01:58:00 CDT 2001
Hello Paul -
You have to specify which AuthLog you want to use, FILE, SQL or SYSLOG.
#define AuthLog FILE
<AuthLog FILE>
.....
</AuthLog>
hth
Hugh
On Tuesday 18 September 2001 15:53, Paul Thorton wrote:
> 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.
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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