Problem with custom accounting module.
    Alan DeKok 
    aland at deployingradius.com
       
    Fri Apr 18 04:19:04 CEST 2014
    
    
  
Bill Schoolfield wrote:
> We have written a custom accounting module based on rlm_detail. It is
> very similar except it pushes the accounting data to another app via an
> API call. Up until recently it has work fine.
  I'd suggest looking at rlm_rest in v3.  It allows for remote json
calls.  It's really quite nice.
> Today on a client site it is failing. It seems the "accounting method":
> 
> static int modulename_accounting(void *instance, REQUEST *request)
> 
> is getting passed with a request that has at least (I haven't checked
> further) null request->packet and request->listener addresses.
  That should never happen.
> The request is generated via radclient.
> 
> Does anyone know under what circumstances this can occur? Happy to
> provide all details/source etc if it will help.
  It only happens when the request is freed, while it's still being
processed by a module.  That should never happen, either.
  Alan DeKok.
    
    
More information about the Freeradius-Devel
mailing list