Open CyrilBrulebois opened 2 months ago
How much it cost to generate the PSK? I suggest we do not set the MTU and leave it "automagic".
ACK on the MTU.
I'll investigate the PSK thing (cost) a little later, once I've tackled a few other issues.
I think I'll consider this out of scope for my initial work on ViRogue, and focus on the remaining few topics mentioned today.
Initially I left a FIXME in the code around this option for the
[Peer]
section of the peer config:but this issue is not only about this specific option.
The
wg
manpage mentions this aboutPersistentKeepalive
:It might make sense to have 20 or 25 everywhere (including on the WireGuard “server”) to be on the safe side.
Still for the
[Peer]
section, we have thePresharedKey
option:I'll leave it up to someone like @U039b to draw the line regarding post-quantum resistance, esp. for traffic traveling through the public intarwebz…
Finally, for the
[Interface]
section, documented in thewg-quick
manpage:I've heard from people having forced
MTU=1280
and being very happy with it, maybe we'll want to do something similar?