Hello,


We are trying to use the freeradius as a proxy server for another network element but we have the followin issue:

The realm code is the following:

if ((request->proxy != NULL) ||
(request->username == NULL)) {
DEBUG2(" rlm_realm: Proxy reply, or no user name. Ignoring.");
return NULL;


That mean that if the accounting request has no User-Name attribute the request will be ignored. But if you read the rfc 2866 about radius accounting it says that 0 or 1 instance may be present. The nokia gprs ggsn that send us the accounting request doesn't include this username field, that why it was not working at first. We modified the code of rlm_realm.c to remove this condition and add another one setting a default user-name if the attribute is not present, and now it works fine.

I would like to know your point of view on this. If you follow this rfc you cannot only trust the user-name field for proxying as rfc says: "it may be present", but there is maybe another rfc than the 2866 about field that should be present in an accounting request. (I m not a radius specialist). I hope you can give me an answer on this behaviour.

Thanks,

Arnaud G


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to