SQL logging options

Nicolas Baradakis nbk at sitadelle.com
Sat Sep 3 20:18:19 CEST 2005


bendowling at lineone.net wrote:

> I currently have freeradius 1.04 working with mysql. It logs
> successful connections to the 'radpostauth' table, and accouting
> information to the 'radacct' table.  Is it possible to configure
> freeradius to log more data to the mysql database, such as
> unsuccessful connections with bad passwords/certificates etc?

You can run a SQL query for a failed connection by adding the module
"sql" in the stanza "Post-Auth-Type REJECT".

See http://freeradius.org/radiusd/doc/Post-Auth-Type

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list