FreeRadius 3.0.15 - Help with accounting

Fajar A. Nugraha list at fajar.net
Mon Aug 7 13:56:09 CEST 2017


On Mon, Aug 7, 2017 at 6:44 PM, Aurélio de Souza Ribeiro Neto
<netolistas at mpc.com.br> wrote:
> Hello,
>
>     I have problems with some accounting packets.
>
>     Certainly it's my problem, but I need help (or hint).
>
>     Sometimes I receive a complete Start request, but in my database (MySQL)
> the data are inserted incomplete, without nasporttype and callingstationid.

Easiest way? I'd say log the sql queries, and test / replay them on your db.

https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/mods-available/sql#L141

My GUESS is:
- some attributes don't make it to the sql queries
- some queries result in incorrect result (e.g. probably a missing
quote somewhere?)

-- 
Fajar



More information about the Freeradius-Users mailing list