OK, I have the password log the way I want it.
It now looks like this:
Wed Jun 7 11:01:47 2000: Login incorrect: [whr/whr]
(203.63.154.1)
Wed Jun 7 11:01:55 2000: Login OK: [whr] (203.63.154.1)
I'm still in the testing phase, but I would like to have the
nasname instead of the IP address in the log file.
My portlist files looks like this:
# This file contains a list of permitted port ranges for various
NASs
# You can refer to such a file with the NAS-Address-Port-List
check item
# The format is:
# NAS-name-or-IP firstsport-lastport
# NAS-name-or-IP can be a DNS name or an IP address. Firstport
and
# lastport are the first an last permitted port of a range of
ports
# permitted on that NAS. You can have multiple entries for the
same NAS
#203.63.154.1 1200-1201
#203.63.154.1 1230-1234
#203.63.154.2 1-10
#your.nas.com 1-30
max1.prw.net 1-99999
max2.prw.net 1-99999
max3.prw.net 1-99999
max4.prw.net 1-99999
max5.prw.net 1-99999
max6.prw.net 1-99999
max7.prw.net 1-99999
max8.prw.net 1-99999
max9.prw.net 1-99999
max10.prw.net 1-99999
max11.prw.net 1-99999
max12.prw.net 1-99999
I've also modified the DEFAULT entry in the users file as
follows:
DEFAULT Auth-Type = "System", Simultaneous-Use = 1
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Netmask = 255.255.255.255,
Framed-Compression = Van-Jacobson-TCP-IP,
Ascend-Idle-Limit = 900,
NAS-Address-Port-List = /etc/raddb/portlist
I'm confused here. Is the item I want in the password file coming
from the portlist file? If this is correct is there a default
portlist file, so that I don't have to modify all the entries in
the users file?
Thanks in advance.
whr
----- Original Message -----
From: "Hugh Irvine" <[EMAIL PROTECTED]>
To: "William Hernandez" <[EMAIL PROTECTED]>; "Radiator"
<[EMAIL PROTECTED]>
Sent: Wednesday, May 31, 2000 5:28 PM
Subject: Re: (RADIATOR) Password Log File Format
Hello William -
On Wed, 31 May 2000, William Hernandez wrote:
> The format of the PasswordLogFile is
> time:username:entered_password:correct_password:result.
> Is there a way to change this format? I would like the system
to
> only log failures using the format
> time:username:entered_password.
>
The format used to log the passwords is defined in the code, so
you would have
to change it in the following module: "Radius/Handler.pm". The
routine you want
is "logPassword" (the last routine in the module).
regards
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS
server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT,
Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc,
etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS
X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.