tests: reproduce #231

This modifies test-pass-script to force a DPD timeout to
verify whether ${IP_REMOTE} is set on the disconnect script.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2020-02-07 17:12:38 +01:00
committed by Nikos Mavrogiannopoulos
parent 8d1aa343b4
commit d852195e64
3 changed files with 109 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ udp-port = 4448
keepalive = 32400
# Dead peer detection in seconds
dpd = 440
dpd = 5
# MTU discovery (DPD must be enabled)
try-mtu-discovery = false
@@ -101,6 +101,10 @@ tls-priorities = "PERFORMANCE:%SERVER_PRECEDENCE:%COMPAT"
# to authentication
auth-timeout = 40
# The time (in seconds) that a client is allowed to stay idle (no traffic)
# before being disconnected. Unset to disable.
#idle-timeout = 5
# The time (in seconds) that a client is not allowed to reconnect after
# a failed authentication attempt.
#min-reauth-time = 2