Question on implementing Vendor-Specific Attributes

A BlueCoder bluecoder008 at gmail.com
Tue Oct 21 05:10:34 CEST 2008


Hi Ivan,
Actually there are two attributes, and the values of attributes are not
static - they vary based on the NAS-IDentifider attribute values.

(I can set up VSA to send static values - just the dynamic part, I dont have
good ideas).

Thanks for the help.

BC


 <freeradius-users at lists.freeradius.org>
>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" <[EMAIL PROTECTED]> piše:

>On Mon, Oct 20, 2008 at 12:09 AM, A BlueCoder <[EMAIL PROTECTED]>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
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081020/24855484/attachment.html>


More information about the Freeradius-Users mailing list