WireGuard / wgctrl-go

Package wgctrl enables control of WireGuard interfaces on multiple platforms.
https://godoc.org/golang.zx2c4.com/wireguard/wgctrl
MIT License
727 stars 85 forks source link

Expired last handshake #84

Closed Scapal closed 4 years ago

Scapal commented 4 years ago

How to know if a peer connexion is expired, when the last handshake time is too old ?

mdlayher commented 4 years ago

This library simply exposes whatever the kernel/userspace devices expose. I don't know how the peer expiration logic works and would encourage reaching out on the mailing list.