Hello Andrew -
There are some patches for logging in the patches area:
http://www.open.com.au/radiator/downloads/patches-2.18/
hth
Hugh
At 14:40 -0400 01/4/13, Andrew P. Kaplan wrote:
>I recently upgraded to the new version of Radiator. Now I trying to get
>AUTHlog to work. I currently running Trace 4 on my regular log files. What I
>would like to run is a seperate file that would just list the login
>failures. I can't seem to get the AuthLog to work. Can it work with regular
>logging. I copied the default template from the docs, touch my log file and
>restarted radiator. But still my authlog file is empty.
>
>Enclosed is my radius.cfg
>
>
>>>
>
>Trace 4
>
>AuthPort 1645
>AcctPort 1646
>LogDir /usr/local/radius/log
># The line below was remmed out 11/7/00 in efforts to turn logging ON!
>#LogFile
>DbDir /usr/local/radius/raddb
>DictionaryFile /usr/local/radius/dictionary.ascend
>PidFile /var/run/radiusd.pid
>
>
>
>#<SNMPAgent>
># Community XXXXXXX
>#</SNMPAgent>
>
>RewriteUsername tr/[A-Z]/[a-z]/
>
>#the following will strip out the realms
>RewriteUsername s/^([^@]+).*/$1/
>
>#added by eddy for testing
><Client 63.115.88.53>
> Secret test
></Client>
>
><Client 63.112.159.252>
> Secret XXXXXX
> NasType TotalControlSNMP
> SNMPCommunity XXXXXXX
></Client>
>
>
><Client 63.112.159.254>
> Secret XXXXXX
> NasType TotalControlSNMP
> SNMPCommunity XXXXXXX
></Client>
>
># added second HiPer ARC 2-20-01
><Client 63.112.157.254>
> Secret XXXXXX
> NasType TotalControlSNMP
> SNMPCommunity XXXXXX
></Client>
>
>
># added to run radpwtst 2-27-01
><Client 63.237.136.8>
> Secret XXXXXX
> NasType TotalControlSNMP
> SNMPCommunity XXXX
></Client>
>
>
>
>
>
><Client 206.165.153.21>
> Secret XXXXXXX
> NasType TotalControlSNMP
> SNMPCommunity XXX
></Client>
><Client 63.237.136.2>
> Secret XXXXXXX
> NasType TotalControlSNMP
> SNMPCommunity XXXX
></Client>
><Client 209.206.60.133>
> Secret XXXXXX
></Client>
>#test for ntplex
><Client 204.213.176.6>
> Secret XXXXXX
></Client>
><Client 204.213.176.7>
> Secret XXXXXXX
></Client>
><Client 204.213.179.30>
> Secret XXXXXX
></Client>
># MegaPop Radius Servers
><Client 204.178.185.222>
> Secret XXXXXX
></Client>
><Client 204.178.185.3>
> Secret XXXXX
></Client>
><Client 204.178.185.221>
> Secret XXXXXX
></Client>
><Client 204.178.185.220>
> Secret XXXXXXXX
></Client>
><Client 204.178.185.218>
> Secret XXXXX
></Client>
><Client 204.178.185.219>
> Secret XXXXXX
></Client>
># End of MegaPop Servers
><Client 63.237.136.100>
> Secret testing123
></Client>
>
><Client 127.0.0.1>
> Secret testing123
> DupInterval 0
></Client>
>
><Realm DEFAULT>
> AuthByPolicy ContinueUntilAccept
>
> AcctLogFileName %L/%Y/%m/%d-details
> <AuthBy FILE>
> Filename /etc/acctmgr/users
> </AuthBy>
></Realm>
>
><AuthLog FILE>
> Identifier myauthlogger
> Filename /var/log/radius.authlog
> LogSuccess 1
> LogFailure 1
></AuthLog>
>
><Realm cshore.com>
> AuthByPolicy ContinueUntilAccept
>
> AcctLogFileName %L/%Y/%m/%d-details
> <AuthBy FILE>
> Filename /etc/acctmgr/users
> </AuthBy>
> AuthLog myauthlogger
></Realm>
>
>
><SessionDatabase SQL>
> DBSource dbi:mysql:Radius
> DBUsername Radius
> DBAuth KnubbyDo
> AddQuery \
> insert into Sessions (UserName, NASIdent, NASPort, \
> SessionID, TimeStamp, FramedIPAddress, NASPortType, \
> ServiceType) values ('%n', '%N', %{NAS-Port}, \
> '%{Acct-Session-Id}', %{Timestamp}, '%{Framed-Address}', \
> '%{NAS-Port-Type}', '%{Service-Type}')
> DeleteQuery \
> delete from Sessions where Username='%n' and \
> NASIdent='%N' and NASPort=%{NAS-Port}
> ClearNasQuery \
> delete from Sessions where NASIdent='%N'
> CountQuery \
> select NASIdent, NASPort, SessionID from Sessions \
> where Username='%n'
></SessionDatabase>
>
>
>===
>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.
--
NB: I am travelling this week, so there may be delays in our correspondence.
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.