freeradius + MySQL not working after upgrade from 1.0.1

Alan DeKok aland at ox.org
Wed Aug 24 02:02:46 CEST 2005


marc-ml at neoharmonix.net wrote:
> Could it be something to do with the X-Ascend-Data-Filter abinary format? 
>   Perhaps a configuration option for that introduced after 1.0.1?  This is
> the output from running radtest between the two servers with different
> freeradius versions (just showing the X-Ascend-Data-Filter stuff since
> everything else is the same):

  The parsing & printing code for Ascend data filters
(src/lib/filters.c) hasn't changed in 1.0.0 to 1.0.4.  So that can't
be the source of the problem.

> * 1.0.1 --> 1.0.4 :
> X-Ascend-Data-Filter = "?? out drop"
> X-Ascend-Data-Filter = 0x 69 70 20 69 6e 20 66 6f 72 77 61 72 64 20 64 73
> 74 69 70 20 32 30 39 2e 31 30 32 2e 31 30 37 2e 37 37 2f 33 32 20 30

  Which is the *ascii* version of the data, and not the packed Ascend
format.

> * 1.0.4 --> 1.0.1 :
> X-Ascend-Data-Filter =
> 0x0101010000000000000000000000060100000000000000000000000000000000

  Which looks like it might be the correct (but weird) format.

> * 1.0.4 --> 1.0.4 :
> X-Ascend-Data-Filter = 0x697020696e20666f72776172642074637020657374

  And again, with the text strings.

> Any ideas?  Thanks.

  It looks like the dictionaries you're using for 1.0.4 have the
X-Ascend0Data-Filter as type "octets", and not type "abinary".

  Are you sure you didn't edit the dictionaries?  Are you sure there's
no other attribute 242, of type "octets"?  Are you sure you're using
the 1.0.4 dictionaries with 1.0.4?

  Alan DeKok.




More information about the Freeradius-Users mailing list