hotfix(openvpn): bump hand-window from 10s to 20s

This commit is contained in:
Quentin McGaw
2026-05-08 16:12:13 +00:00
parent 891249849a
commit 445f99d9dc
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func modifyConfig(lines []string, connection models.Connection,
modified = append(modified, "pull-filter ignore \"auth-token\"") // prevent auth failed loop
modified = append(modified, "auth-retry nointeract")
modified = append(modified, "suppress-timestamps")
modified = append(modified, "hand-window 10") // default is 60 seconds which is too long
modified = append(modified, "hand-window 20") // default is 60 seconds which is too long
if *settings.User != "" {
modified = append(modified, "auth-user-pass "+openvpn.AuthConf)
}
+1 -1
View File
@@ -62,7 +62,7 @@ func Test_modifyConfig(t *testing.T) {
"pull-filter ignore \"auth-token\"",
"auth-retry nointeract",
"suppress-timestamps",
"hand-window 10",
"hand-window 20",
"auth-user-pass /etc/openvpn/auth.conf",
"verb 0",
"data-ciphers-fallback cipher",