Re: rlm_perl and RLM_MODULE_REJECT

2008-01-26 Thread Jean-Michel Caricand
Le vendredi 25 janvier 2008 17:01, Alan DeKok a écrit : Jean-Michel Caricand wrote: Well. I made a lot of tests without success. I'm not yet able to REJECT a request in a post_proxy function, but that works fine in a authorize function. Does someone have ideas ? In 2.0, it

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-26 Thread Alan DeKok
Jean-Michel Caricand wrote: ... I use freeradius-1.1.3 (Debian Etch package). I applied this patch to radiusd.c to solve my problem. That works. My question : my patch seems good or not ? It looks fine. Alan DeKok. - List info/subscribe/unsubscribe? See

rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
Hi, I have a question on rlm_perl and RLM_MODULE_REJECT. If in a function (post_proxy) I return RLM_MODULE_REJECT I can see this in log : modcall[post-proxy]: module perl1 returns reject for request 1 ... but my request is still accepted : Access-Accept not Access-Reject ! How to do

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Boian Jordanov
to # cancel the proxy. # # Only a few modules currently have this method. # Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_perl

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
, or decide to # cancel the proxy. # # Only a few modules currently have this method. # Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_perl

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Boian Jordanov
Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_perl and RLM_MODULE_REJECT. If in a function (post_proxy) I return RLM_MODULE_REJECT I can see this in log

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
to # cancel the proxy. # # Only a few modules currently have this method. # Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_perl

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Alan DeKok
Jean-Michel Caricand wrote: Well. I made a lot of tests without success. I'm not yet able to REJECT a request in a post_proxy function, but that works fine in a authorize function. Does someone have ideas ? In 2.0, it looks like this isn't dealt with in src/main/event.c around line

Re: rlm_perl and RLM_MODULE_REJECT

2008-01-25 Thread Jean-Michel Caricand
to # cancel the proxy. # # Only a few modules currently have this method. # Best Regards, Boian Jordanov SNE Orbitel - Next Generation Telecom tel. +359 2 4004 723 tel. +359 2 4004 002 On Jan 25, 2008, at 11:52 AM, Jean-Michel Caricand wrote: I have a question on rlm_perl