Hello everyone. I have a question about TLV definitions on Freeradius dictionaries. From what i understand from the standard, the Type field for TLV can be up to two bytes. But when i tried to define a tlv bigger than 255 i get an error when Freeradius tries to read the dictionary: Errors reading dictionary: dict_init: /usr/share/freeradius/dictionary.wimax[190]: sub-tlv's cannot have value > 255 Is this a non supported length or am i misinterpreting the standard? if it is just unsupported, is there any plan to support tlv>255? Thanks
Ricardo Larrañaga wrote:
Hello everyone. I have a question about TLV definitions on Freeradius dictionaries. From what i understand from the standard, the Type field for TLV can be up to two bytes.
No. The type field can only be one byte. See the WiMAX NWG specs.
Is this a non supported length or am i misinterpreting the standard?
The standard says *explicitly* that the type field is one byte. If you think it's two bytes, please explain why, and quote the relevant portion of the spec. Alan DeKok.
Hi again Alan. The only references about TLV definitions that i came across while reading the NWG specs are found in page 342 of stage 3 version 1.2, right before the radius attributes section. Looking at them more closely, i am now doubting they refer to the RADIUS attributes TLV. (This section defines the type field as 2 byte). Still i havent found any other reference to a TLV definition for radius attributes. If you have a reference, could you share it with me? Thank you very much On Sun, Jun 27, 2010 at 4:36 AM, Alan DeKok <aland@deployingradius.com>wrote:
Ricardo Larrañaga wrote:
Hello everyone. I have a question about TLV definitions on Freeradius dictionaries. From what i understand from the standard, the Type field for TLV can be up to two bytes.
No. The type field can only be one byte. See the WiMAX NWG specs.
Is this a non supported length or am i misinterpreting the standard?
The standard says *explicitly* that the type field is one byte.
If you think it's two bytes, please explain why, and quote the relevant portion of the spec.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Ricardo Larrañaga wrote:
The only references about TLV definitions that i came across while reading the NWG specs are found in page 342 of stage 3 version 1.2, right before the radius attributes section. Looking at them more closely, i am now doubting they refer to the RADIUS attributes TLV. (This section defines the type field as 2 byte).
They don't define RADIUS attributes.
Still i havent found any other reference to a TLV definition for radius attributes. If you have a reference, could you share it with me?
It's in the NWG spec. Alan DeKok.
participants (2)
-
Alan DeKok -
Ricardo Larrañaga