Re: Iffy idea engineering using freeradius :-)

This is a discussion on Re: Iffy idea engineering using freeradius :-) within the FreeRADIUS Users forums, part of the Networking and Network Related category; "Drew Weaver" <drew.weaver@thenap.com> wrote: > Is there a way to make FreeRadius log ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2005
Alan DeKok
 
Posts: n/a
Default Re: Iffy idea engineering using freeradius :-)

"Drew Weaver" <drew.weaver@thenap.com> wrote:
> Is there a way to make FreeRadius log proxy requests in a manner that
> resembles the AUTH log mechanism and will only log "accepted" requests?
> Or would that be source code modification?


rlm_linelog in CVS. You should be able to copy it to 1.0.1 and
build it there with minimal work.

> I wrote a php script that would parse the radius.log for Login OK: and
> then throw all the usernames/passwords in a SQL DB, but i don't know how
> it will be possible using the module provided considering it logs
> whether or not the authentication attempt was successful.


Put rlm_linelog in "post-auth", and edit the code.

in rlm_linelog:
if (request->reply->code != PW_AUTHENTICATION_ACK) return RLM_MODULE_OK;

before it prints anything.

Alan DeKok.

-
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 08:13 PM.


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