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 wrote: > Is there a way to make FreeRadius log proxy requests in a manner that > resembles ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Drew Weaver 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? > > 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. > > Can anyone assist me please? Actually, you can store them directly into an sql database in the post-auth section: In radiusd.conf: .... post-auth { sql Post-Auth-Type Reject { } } .... In proxy.conf: proxy server { ... post_proxy_authorize = yes } .... -- Groeten, Regards, Salutations, Thor Spruyt M: +32 (0)475 67 22 65 E: thor.spruyt@telenet.be W: www.thor-spruyt.com www.salesguide.be www.telenethotspot.be - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |
![]() |
| Thread Tools | |
| Display Modes | |
|
|