freeradius + MySQL not working after upgrade from 1.0.1

marc-ml at neoharmonix.net marc-ml at neoharmonix.net
Wed Aug 24 01:41:44 CEST 2005


>> I now have two servers with the same freeradius configuration (minus
>> minor
>> changes from the upgrade) and the same MySQL database with one running
>> version 1.0.1 (which works) and the other running 1.0.4 (which does not
>> work).  Comparing the logs produced by "radiusd -X", I see that the only
>> substantial difference is the X-Ascend-Data-Filter Attributes.
>
> It could be the bug #242.
> http://bugs.freeradius.org/show_bug.cgi?id=242


The issue I'm experiencing appears to be something else.  After further
testing, I've found that the same issue is also present when using the
users file for authorization rather than sql.  I encounter this problem
upon upgrading from version 1.0.1 to >= 1.0.2 (using Gentoo).

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):

* 1.0.1 --> 1.0.1 :
X-Ascend-Data-Filter = "ip in forward tcp est"
X-Ascend-Data-Filter = "ip in forward dstip 209.102.107.77/32 0"
X-Ascend-Data-Filter = "ip in forward dstip 64.24.35.0/24 0"
X-Ascend-Data-Filter = "ip in forward dstip 66.45.243.0/24 0"
X-Ascend-Data-Filter = "ip in drop tcp dstport = 25"
X-Ascend-Data-Filter = "ip in forward 0"

* 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
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 36 34 2e 32 34 2e 33 35 2e 30 2f 32 34 20 30
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 36 36 2e 34 35 2e 32 34 33 2e 30 2f 32 34 20 30
X-Ascend-Data-Filter = "?? out drop"
X-Ascend-Data-Filter = "?? out drop"

* 1.0.4 --> 1.0.1 :
X-Ascend-Data-Filter =
0x0101010000000000000000000000060100000000000000000000000000000000
X-Ascend-Data-Filter =
0x0101010000000000d1666b4d0020000000000000000000000000000000000000
X-Ascend-Data-Filter =
0x0101010000000000401823000018000000000000000000000000000000000000
X-Ascend-Data-Filter =
0x0101010000000000422df3000018000000000000000000000000000000000000
X-Ascend-Data-Filter =
0x0100010000000000000000000000060000000019000200000000000000000000
X-Ascend-Data-Filter =
0x0101010000000000000000000000000000000000000000000000000000000000

* 1.0.4 --> 1.0.4 :
X-Ascend-Data-Filter = 0x697020696e20666f72776172642074637020657374
X-Ascend-Data-Filter =
0x697020696e20666f7277617264206473746970203230392e3130322e3130372e37372f33322030
X-Ascend-Data-Filter =
0x697020696e20666f72776172642064737469702036342e32342e33352e302f32342030
X-Ascend-Data-Filter =
0x697020696e20666f72776172642064737469702036362e34352e3234332e302f32342030
X-Ascend-Data-Filter =
0x697020696e2064726f702074637020647374706f7274203d203235
X-Ascend-Data-Filter = 0x697020696e20666f72776172642030


Any ideas?  Thanks.
-Marc




More information about the Freeradius-Users mailing list