« Wii at Mojito's with Mom and Auntie | Main | Darts league »

May 22, 2007

Freeradius: sql accounting of failed status type

The default version of Freeradius does not record accounting failed packets with rlm_sql. I found CDRTool had a patch file that will enable failed packet logging. However, it is made for a older version of Freeradius that is different from the current code.

So I took there code and made a new patch available here: sql_accounting_failed.patch

Once the patch is applied, all you need to do is add a failed query line to the rlm_sql config file.

accounting_failed_query = "...query goes here..."

Posted by binhqx at May 22, 2007 5:00 PM

Trackback Pings

TrackBack URL for this entry:
http://www.binhqx.com/mt/mt-tb.cgi/665

Comments

Post a comment


Please enter the security code you see here




Remember Me?