rlm_sql: more xlat?
Josip Almasi
joe at vrspace.org
Wed Aug 16 11:33:47 CEST 2006
Hi all,
my requirements state that if home server sends policy then freeradius
proxy should attach it to the string for rate limit and send RATE_POLICY
back to RAS.
Rates are determined by radgroupcheck and radgroupreply tables lookup.
So far I hacked that in rlm_sql.c, simple strcat of Value and hardcoded
attribute.
Ideally, I'd be able to enter 256K_%{ERX-Ingress-Policy-Name} as Value
field of radgroupreply table.
This means database values should be xlat-ed too, not only parameters.
So, interested in such a patch?
Or, is there another way to do this?
Regards...
More information about the Freeradius-Devel
mailing list