Re: request-proxy request-proxy_reply

2005-10-06 Thread Nicolas Baradakis
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

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


request-proxy request-proxy_reply

2005-10-05 Thread Massimiliano Liccardo
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) [EMAIL PROTECTED]
 jid:[EMAIL PROTECTED]
 sip:[EMAIL PROTECTED]
 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

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: request-proxy request-proxy_reply

2005-10-05 Thread Alan DeKok
Massimiliano Liccardo [EMAIL PROTECTED] wrote:
 My doubt is:  the AV request-proxy are still valid during post-proxy stage 
 of 
 a rlm_module? 

  Yes.

  Alan DeKok.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html