Re: Execution of rlm code when remote server is not responding.

2012-10-08 Thread Arka Sharma
On Thu, Sep 27, 2012 at 8:43 PM, Phil Mayers p.may...@imperial.ac.ukwrote: On 27/09/12 12:32, Arka Sharma wrote: Thanks a lot Phil for your reply.Now actually in my rlm code I want to set a flag to mark the vent of server went down and invoke a java code using JNI that is part of rlm.

Re: Execution of rlm code when remote server is not responding.

2012-10-08 Thread Arka Sharma
On Mon, Oct 8, 2012 at 11:41 AM, Arka Sharma arka.sharma1...@gmail.comwrote: On Thu, Sep 27, 2012 at 8:43 PM, Phil Mayers p.may...@imperial.ac.ukwrote: On 27/09/12 12:32, Arka Sharma wrote: Thanks a lot Phil for your reply.Now actually in my rlm code I want to set a flag to mark the vent

Re: Execution of rlm code when remote server is not responding.

2012-10-08 Thread Alan DeKok
Arka Sharma wrote: Please learn to edit your responses to the list. In my code after adding PPAQ vsa rad_send() has been called to send request to PPS. I have check that the return value of rad_send is NULL then fail to send the proxy request.But I want like to check whether PPS response

Execution of rlm code when remote server is not responding.

2012-09-27 Thread Arka Sharma
Hi, I have a remote PPS server where I am proxying radius requests coming from the NAS. I have a requirement like when that remote PPS goes down(which I am simulating by setting a wrong ip in proxy.conf realm configuration) then I have to perform a certain task in rlm code.But my

Re: Execution of rlm code when remote server is not responding.

2012-09-27 Thread Phil Mayers
On 27/09/12 11:22, Arka Sharma wrote: Hi, I have a remote PPS server where I am proxying radius requests coming from the NAS. I have a requirement like when that remote PPS goes down(which I am simulating by setting a wrong ip in proxy.conf realm configuration) then I have to

Re: Execution of rlm code when remote server is not responding.

2012-09-27 Thread Alan DeKok
Arka Sharma wrote: Thanks a lot Phil for your reply.Now actually in my rlm code I want to set a flag to mark the vent of server went down and invoke a java code using JNI that is part of rlm. There is no event of server down. There is a server failed to respond to request. As Phil said,

Re: Execution of rlm code when remote server is not responding.

2012-09-27 Thread Phil Mayers
On 27/09/12 12:32, Arka Sharma wrote: Thanks a lot Phil for your reply.Now actually in my rlm code I want to set a flag to mark the vent of server went down and invoke a java code using JNI that is part of rlm. Sorry, I don't understand that. Can you elaborate? It sounds like you have a