This is a discussion on RE: Iffy idea engineering using freeradius :-) within the FreeRADIUS Users forums, part of the Networking and Network Related category; -----Original Message----- From: freeradius-users-admin@lists.freeradius.org [mailto:freeradius-users-admin@lists.freeradius.org] On Behalf Of Alan ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----Original Message----- From: freeradius-users-admin@lists.freeradius.org [mailto:freeradius-users-admin@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Wednesday, February 16, 2005 12:16 PM To: freeradius-users@lists.freeradius.org Subject: Re: Iffy idea engineering using freeradius :-)=20 "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 !=3D PW_AUTHENTICATION_ACK) return RLM_MODULE_OK; before it prints anything. Alan DeKok. Thanks Alan, I'll give it a shot, the real trick I had originally was getting the source to compile on FC 3 so I ended up using RPM. So I guess im not that good with compilers and linkers and such. Do I need to do anything to the makefile to get it to build in the new module? Thanks, -Drew - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
![]() |
| Thread Tools | |
| Display Modes | |
|
|