Thanks Alan. This is from 2.1.12. Still using it because that's the default (rpm) for CentOS. If it were just us I'd look at v3 but I need for this to work w/o too much build/deployment issues for our clients. The request pointer is not null, the items within it are. Could this be a thread issue? How can I debug this further? Bill On 4/17/2014 9:19 PM, Alan DeKok wrote:
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html