help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Adding Attributes


From: Maurice Makaay
Subject: Re: [Help-gnu-radius] Adding Attributes
Date: Thu, 8 Jan 2004 19:31:07 +0100

Hi,

> I have added to the dictionary the following:
> ATTRIBUTE       Slipstream-Auth         7000    string  - [LR-R-R]
> 
> in my user file I have the following:
> 
> alee    Password="alee1"
>         Slipstream-Auth = true,
>         Framed-Protocol = PPP,
>         Service-Type = Framed

> It doesn't seem to be sending the Slipstream-Auth in the ack.

This would be the way to set this up. Only, gnu-radius does not include  
reply attributes with a type number above 255 in the reply packet. If you
would give Slipstream-Auth type number 255 instead of 7000, the reply packet 
would contain the Slipstream-Auth attribute. However, this would not work of 
course, unless you have control over the dictionary you are using on the 
other side of the connection.

BTW: This is not a gnu-radius problem, but only gnu-radius being RFC compliant
(RFC 2138). Here's an excerpt from that RFC:

---------------------------8<-----------------------------------------
A summary of the Attribute format is shown below.  The fields are
transmitted from left to right.

    0                   1                   2
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
   |     Type      |    Length     |  Value ...
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

   Type
---------------------------8<-----------------------------------------

The Type field is one octet, so it cannot possibly contain a value above 255.

Regards,

-- Maurice Makaay




reply via email to

[Prev in Thread] Current Thread [Next in Thread]