Dear Brian Candler, thank you for focus. I think freeradius may lack the opportunity to change & filter acctcounting-response(reply) in post-proxy. I have done this througth filter proxy-reply. Best regards WeiJingpeng Brian Candler wrote: On Mon, Apr 18, 2011 at 09:13:47PM +0800, 魏景鹏 wrote:In post-proxy section, I wrote lines as follows:post-proxy { if(cond) { attr_filter.accounting_response } } But it seems not work as expected. Any Ideas?How does it not work as expected? What does radiusd -X show when proxying? attr_filter acts on different lists depending on where it's invoked. preacct: request accounting: reply preproxy: proxy request postproxy: proxy reply postauth: reply authorize: request Unfortunately this is hard-coded. There have been times where I've wanted to filter out reply attributes in the 'authorize' section, for example, and I've been forced to move this to postauth. |
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html