log failed logins

This is a discussion on log failed logins within the FreeRADIUS Users forums, part of the Networking and Network Related category; I have the following sql in my sql conf file and this is working. My only gripe is if there ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-24-2007
Cory Robson
 
Posts: n/a
Default log failed logins

I have the following sql in my sql conf file and this is working.

My only gripe is if there is no info provided then what gets placed in the
log. It appears in the case of User-Password that a default of Chap-Password
is entered as per below.

Does anyone have a list of attributes I can log on failed attempts and the
structure for the SQL statement.

Eg %{reply:Reply-Message} quite often gives me "=5Cr=5CnYou are already
logged in - access denied=5Cr=5Cn=5Cn" whereas I obviously only need the
statement you are already logged in.

I assume that an attribute followed by :- means to place what follows in the
event of no data provided.

Looking for lots of clarification here.


postauth_query = "INSERT into ${postauth_table} (id, user, pass, reply,
date, callingid) values ('', '%{User-Name}',
'%{User-Password:-Chap-Password}', '%{reply:Reply-Message}', NOW(),
'%{Calling-Station-Id}')"


Thanks

Cory

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0