Arran Cudbard-Bell wrote:
Alan DeKok wrote:
Arran Cudbard-Bell wrote:
Can always apply the accounting_response filter in post-proxy if you were worried about it... something like
post-proxy { ... if("%{Packet-Type}" == 'Accounting-Response'){ attr_filter.accounting_response
That won't do what you think. It filters the Accounting-Request, not the response! See the source code in 2.0.1.
Ah yes ... thanks.
Right, so for 2.02 you've changed the lists the filters operate on for those sections preacct and accounting. Thats good, I can remove those bits of unlang.
Are you still planning on releasing 2.02 this week ? Might be worth mentioning in the attr filter man page that you can use the result of any expanded string as a key, not just attributes.
i.e key = "%{Packet-Type}.%{Realm}" Allows filter entries like: Access-Request.external-realm attr = val .... and Accounting-Request.external-realm acctattr = acctval ...
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900