[strongSwan] Windows 8 timeout at connection time due to slow updown script

flyingrhino flyingrhino at orcon.net.nz
Thu Oct 11 07:36:41 CEST 2018


Hi,

I've got a situation where Strongswan is calling an updown script that 
takes 4-15 seconds to complete.
When the script exits in a few seconds then windows 8 client connects 
without any problems.
However, when the script takes longer to exit, windows doesn't have the 
patience to wait and gives a connection error.

Strongswan, however, waits for the script to complete, then brings up 
the tunnel, which results in windows receiving unexpected packets since 
it's given up on the connection. The only way to recover is to wait for 
strongswan to do it's DPD timeout and then reconnect from windows, 
hoping that the updown script completes faster this time.

Does anyone know if there's a registry key in windows that I can 
increase the connection timeout - to allow more time for the updown 
script to complete?

This is 100% not a strongswan problem, so I apologize if this question 
is off-topic.

Thanks.


More information about the Users mailing list