Chuck <chuck@pathworx.com> wrote:
i have been working with our upstream dialup provider for a week now and he has come to the conclusion that freeradius is passing the data as ascii rather than abinary.
Hmm... that shouldn't happen. Which version are you running?
That too did not change anything. In my testing If I just plug the ascend attributes in my users file as follows Ascend-data-filter += "ip in forward tcp est", Ascend-data-filter += "ip in forward dstip 64.113.34.0/24", Ascend-data-filter += "ip in drop tcp srcport = 80", Ascend-data-filter += "ip in drop tcp dstport = 25", Ascend-data-filter += "ip in forward", And they translate to Abinary fine. This leads me to believe it has to do with the way sql is passing it to you radius server.
I don't see why. The "users" file reads ascii strings, and they get packed as abinary stuff. The SQL module should be doing exactly the same thing. Alan DeKok.