Question on implementing Vendor-Specific Attributes
tnt at kalik.net
tnt at kalik.net
Mon Oct 20 11:14:20 CEST 2008
If it's just one attribute why bother with VSA. Use Reply-Message.
Create DEFAULT entries in users file to send replies.
Ivan Kalik
Kalik Informatika ISP
Dana 20/10/2008, "A BlueCoder" <bluecoder008 at gmail.com> piše:
>On Mon, Oct 20, 2008 at 12:09 AM, A BlueCoder <bluecoder008 at gmail.com>wrote:
>
>> Hi,
>>
>> I have a need to implement Vendor-Specific Attributes using a FreeRadius
>> approach (version 0.9.3 on Solaris).
>>
>> I understand probably rewriting a rml module would solve this problem and
>> probably the most effective way. However, given the shortage of time, i
>> would like to explore configuration options (without code writing) if
>> possible.
>>
>> Here are the requirements:
>>
>> 1. Access-Request Requests;
>>
>> 2. Request Attributes -- with VSA (implemented with a Vendor-specific
>> dictionary).
>>
>> 3. Response Attributes -- with VSA (implemented with a Vendor-specific
>> dictionary).
>>
>> 4. There is a map from attributes in (2) to (3), which is what i am trying
>> to implement.
>>
>> e.g.
>>
>> If the request NAS-IP-Address = 111.111.111.111, i would like to response
>> with attribute: VSA1 = 10000001,
>> If the request NAS-IP-Address = 111.111.111.112, i would like to
>> response with attribute: VSA1 = 10000002,
>> If the request NAS-IP-Address = 111.111.111.113, i would like to
>> response with attribute: VSA1 = 10000003,
>> If the request NAS-IP-Address = 111.111.111.114, i would like to
>> response with attribute: VSA1 = 10000004,
>>
>> etc....
>>
>> What's the best way which i can configur without writing a full-fledge rlm
>> module?
>>
>> Thanks in advance,
>>
>> BC
>>
>>
>>
>>
>
>
More information about the Freeradius-Users
mailing list