(RADIATOR) Ascend-Xmit-Rate problem

Hugh Irvine hugh at open.com.au
Wed Jun 5 18:05:35 CDT 2002


Hello Gary -

You are quite correct.

I had already sent Romain a patched version of Radius.pm and it is available 
in the patches area on the web site as well.

I didn't copy the patched module to the list in the interests of bandwidth 
economy.

regards

Hugh


On Thu, 6 Jun 2002 01:16, Gary Moe wrote:
> Romain,
>
> I also started to get the below message in my logs after I upgrade from
> 2.19.0 to 3.1.
>
>       WARNING: Invalid reply item Ascend-Xmit-Rate ignored
>
> It turns out that in the Radius.pm file for v3.1 they added the below code
> in "sub pack" function.
>
> ...
>          else
>          {
>              # Dont do anything with native attributes with attribute
>              # numbers greater than 255, since they are prob
>              # pseudo-attributes that cant be translated to the wire
>              &main::log($main::LOG_WARNING, "Invalid reply item $name
>                ignored", $self),next
>                  unless $anum < 255;
>          }
> ...
>
> The "Ascend-Xmit-Rate" Attribute has a value of 255 which should still be
> valid based on what the above code comment says but the way the code is
> written the last valid Attribute value would be 254.
>
> So all I did to fix this issue was change this line:
>
>     unless $anum < 255;
>
> to
>
>     unless $anum < 256;
>
> save the changes and restart Radiator.
>
> ---
>
> -Gary
> =====
> NeoNova Network Services
> Network / System Operations
> gmoe598 at neonova.net
>
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list