request->proxy & request->proxy_reply
hi folks, 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. My doubt is: the AV request->proxy are still valid during post-proxy stage of a rlm_module? -- Massimiliano Liccardo (maX) <liccardo@acmesolutions.it> jid:coccolesto@jabber.org sip:maX@macchese.no-ip.org GnuPG public key available on wwwkeys.eu.pgp.net Key ID: D01F1CAD Key fingerprint: 992D 91B7 9682 9735 12C9 402D AD3F E4BB D01F 1CAD "la velocità induce all'oblio, la lentezza al ricordo"
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
participants (3)
-
Alan DeKok -
Massimiliano Liccardo -
Nicolas Baradakis