Radius timeout

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
MoncionAM64
Posts: 1
Joined: Wed Apr 01, 2020 12:04 pm

Radius timeout

Post by MoncionAM64 » Tue Nov 23, 2021 12:45 pm

Hi,

I try to get a radius timeout more than 10 seconds with MFA. On Centos 7.9.2009 I downloaded the source for Linux V.4.38 b.9760 rtm.

I modified those files:

Radius.h // src/Cedar
define RADIUS_RETRY_TIMEOUT (10 * 1000) // Time-out period
change to...
define RADIUS_RETRY_TIMEOUT (30 * 1000) // Time-out period

Cedar.h // src/Cedar
define CONNECTING_TIMEOUT (15 * 1000) // Timeout in seconds of being connected
change to... Cedar.h
define CONNECTING_TIMEOUT (30 * 1000) // Timeout in seconds of being connected

network.h // src/Mayaqua
define TIMEOUT_SSL_CONNECT (15 * 1000)
change to...
define TIMEOUT_SSL_CONNECT (30 * 1000)

and..
define SSL_DEFAULT_CONNECT_TIMEOUT (15 * 1000) // SSL default timeout
change to..
define SSL_DEFAULT_CONNECT_TIMEOUT (30 * 1000) // SSL default timeout

Then compile with
./configure
make (get some warning but no error)
make install

Now I get a 15 second timeout only. Even if I put value of 60 instead of 30 I always get a 15 seconds timeout.
Did i miss something or I have another value to change?

Thanks for help!

Post Reply