nagios issues
Alan DeKok
aland at deployingradius.com
Fri Jan 19 09:49:30 CET 2007
Mike wrote:
> You are exactly correct. Good catch. For mailing list archives, the
> simplest patch I came up with:
>
> /* copy the first 20 bytes of the radius header. this size is static
> * per RFC.
> */
> radhead->rad_length = htons(radhead->rad_length);
> memcpy(packet,(char *)radhead,20);
> radhead->rad_length = ntohs(radhead->rad_length);
>
> rad_length is used elsewhere, so this is done to avoid breaking anything
> else.
>
> Thanks for your help! (I wonder how this always worked for xtradius
> from the same machine?)
xtradius is probably less careful about checking the contents of the
RADIUS packet. :)
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list