Vendor-Specific attributes in Modules

Alan DeKok aland at deployingradius.com
Fri Apr 18 11:58:23 CEST 2008


Vincent Arniego wrote:
> But somehow the messages we're getting have that attribute around 3
> times in the request.

  That's allowed in RADIUS.

> This is from the file were feeding radclient:
> 
> Nokia-Avpair="ita:ubi=0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"
> Nokia-Avpair+="ita:ubo=0/231/75672/97893/864/55/5676/247/235578/46759/110/12118/76812/1978453/1534/15359/11246"
> Nokia-Avpair+="ita:sc=0/1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16"
> 
> How do we distinguish each of the values for parsing in the module?

  The attributes are in a "linked list" in request->packet->vps.

  Look at the rest of the code to see how it manipulates the list.

  Alan DeKok.




More information about the Freeradius-Users mailing list