log good/bad user logins

MHumphries at delcomp.net MHumphries at delcomp.net
Thu Jun 23 19:34:33 CEST 2005





i am running FreeRadius Version 1.0.2 with MySQL 3.23.54 and a Lucent Portmaster 3 ComOS
3.9

Here are some Snippits from radiusd.conf

prefix = /usr/local
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = ${prefix}/var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
raddbdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct

#  Location of config and logfiles.
confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd

#
#  The logging messages for the server are appended to the
#  tail of this file.
#
log_file = ${logdir}/radius.log


log_auth = yes
log_auth_badpass = yes
log_auth_goodpass = yes


detail auth_log {
         detailfile = ${radacctdir}/%{Client-IP-Address}/auth-detail-%Y%m%d
        #

                #  This MUST be 0600, otherwise anyone can read
                #  the users passwords!
 detailperm = 0600
 }


detail reply_log {
 detailfile = ${radacctdir}/%{Client-IP-Address}/reply-detail-%Y%m%d

                #
                #  This MUST be 0600, otherwise anyone can read
                #  the users passwords!
 detailperm = 0600
 }

authorize {
      preprocess
      auth_log
      auth_log
#       attr_filter
        chap
        mschap
#       IPASS
        suffix
#       ntdomain
#       eap
        sql
#       etc_smbpasswd
#       ldap
}


and to make a short ? long i get nothing in the log file for any users what so ever this
is what i see:

[root at linuxtest raddb]# tail -20 /usr/local/var/log/radius/radius.log
Fri Jun 17 03:03:45 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #1
Fri Jun 17 03:03:45 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2
Fri Jun 17 03:03:45 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3
Fri Jun 17 03:03:45 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4
Fri Jun 17 03:03:45 2005 : Info: Ready to process requests.
Mon Jun 20 07:58:30 2005 : Error: Ignoring request from unknown client 90.0.0.163:2253
Mon Jun 20 07:58:34 2005 : Error: Ignoring request from unknown client 90.0.0.163:2253
Mon Jun 20 07:58:37 2005 : Error: Ignoring request from unknown client 90.0.0.163:2253
Mon Jun 20 07:58:41 2005 : Error: Ignoring request from unknown client 90.0.0.163:2253
Mon Jun 20 07:58:45 2005 : Error: Ignoring request from unknown client 90.0.0.163:2253
Mon Jun 20 07:58:48 2005 : Error: Ignoring request from unknown client 90.0.0.163:2253
Thu Jun 23 10:38:53 2005 : Info: rlm_exec: Wait=yes but no output defined. Did you mean
output=none?
Thu Jun 23 10:38:54 2005 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module
rlm_sql_mysql) loaded and linked
Thu Jun 23 10:38:54 2005 : Info: rlm_sql (sql): Attempting to connect to
root at 90.0.0.190:/radius
Thu Jun 23 10:38:54 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #0
Thu Jun 23 10:38:54 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #1
Thu Jun 23 10:38:54 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2
Thu Jun 23 10:38:54 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3
Thu Jun 23 10:38:54 2005 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4
Thu Jun 23 10:38:54 2005 : Info: Ready to process requests.
[root at linuxtest raddb]#


i would like to be able to see good nd bad login attempts.

I am very new to FreeRadius as i just switched to this from ICRadius.  Thank you in
advance for any help.

Michael J. Humphries
Network Engineer
Delcomp/SOFTEK
1431 N. 26th Street
Escanaba, MI  49829
Phone: 906-786-3583, ext 39
Fax:      906-786-4300




More information about the Freeradius-Users mailing list