Skip to content

Commit

Permalink
wireguard: set default keepalive timeout to 5s
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Pashmfouroush <[email protected]>
  • Loading branch information
markpash committed Feb 29, 2024
1 parent fa0c9c5 commit 11312a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
MaxTimerHandshakes = 90 / 5 /* RekeyAttemptTime / RekeyTimeout */
RekeyTimeoutJitterMaxMs = 334
RejectAfterTime = time.Second * 180
KeepaliveTimeout = time.Second * 1
KeepaliveTimeout = time.Second * 5
CookieRefreshTime = time.Second * 120
HandshakeInitationRate = time.Second / 50
PaddingMultiple = 16
Expand Down

0 comments on commit 11312a0

Please sign in to comment.