News: This forum is now permanently frozen.
Pages: [1]
Topic: Fallover time between radius1 and radius2  (Read 2141 times)
« on: July 01, 2007, 16:36:43 »
YvesDM *
Posts: 11

Hi,

I 've setup a second radius.
I noticed the fallover time between radius1 and radius2 is rather long in my tests. (M0n0wall 1.23)
When I simulate a down radius1, it takes about 32 seconds (!!!) to authenticate and succesfully
login through radius2. 32sec is a long time when you're waiting, 15sec would be acceptable!
Anyone else experiencing this?
I've been digging in the code, but didn't find the part where the fallover time is specified.   
Anyone out there who can tell me where in the code this fallover time is specified?
I would like to modify my image to change this.

Kind Regards,
Yves
« Reply #1 on: July 06, 2007, 14:14:03 »
YvesDM *
Posts: 11

Hi,

I 've setup a second radius.
I noticed the fallover time between radius1 and radius2 is rather long in my tests. (M0n0wall 1.23)
When I simulate a down radius1, it takes about 32 seconds (!!!) to authenticate and succesfully
login through radius2. 32sec is a long time when you're waiting, 15sec would be acceptable!
Anyone else experiencing this?
I've been digging in the code, but didn't find the part where the fallover time is specified.   
Anyone out there who can tell me where in the code this fallover time is specified?
I would like to modify my image to change this.

Kind Regards,
Yves


I did some more testing.
I've made a modified image with changes in /etc/inc/radius.inc.
I've set the timeout to 3 instead of 5 and the max retries to 2 instead of 3.
This way it took exactly 14,5 sec to login through radius2 when I simulate a down radius1.
Much better :-)

Kind regards,
Yves

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines