FreeRadius 3.0.11 [Best method to log access accept requests to DB]

Alan DeKok aland at deployingradius.com
Thu Nov 15 12:54:03 CET 2018


On Nov 15, 2018, at 4:34 AM, Ibrahim Nezar Al-Mahfooz via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 
> We are trying to log users access accept requests in a database for later
> statistics and analysis for the network. Firstly, we accomplished this
> requirement using the post-auth section by using sql module to inserting
> users request and it worked perfectly, however, and obviously, if the
> database is down for any reason, the radius won't process further requests
> which will prevent users from authentication.
> 
> So we are wondering if there is any method to log radius accept request in
> a similar fashion like "Post-Auth-Type REJECT" where we noticed that
> FreeRadius can keep accepting radius requests and tolerate DB failures.

  You can use the "linelog" module to log requests to a file on disk.

  Alan DeKok.




More information about the Freeradius-Users mailing list