request->proxy & request->proxy_reply

Nicolas Baradakis nbk at sitadelle.com
Thu Oct 6 10:58:57 CEST 2005


Massimiliano Liccardo wrote:

> I should write a module that strips/modifies AV pairs from a proxy
> reply according to the AV pairs prior sent into the originated
> request.

Perhaps you don't need a module. You could test the AV pairs from the
request in section "authorize" and set the variable "Post-Proxy-Type".
Then you can run different modules to modify the proxy reply in
section "post-proxy".

post-proxy {
	Post-Proxy-Type post-proxy-1 {
		attr_rewrite_1
	}
	Post-Proxy-Type post-proxy-2 {
		attr_rewrite_2
	}
}

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list