Am 01.03.22 um 14:50 schrieb Lev Stipakov:
From: Lev Stipakov <l...@openvpn.net>
When calculating default mssfix, we take into account
protocol overhead, which usually includes 3 bytes peer-id.
Peer-id usage is indicated by options->use_peer_id flag.
In client mode it is set when applying pushed options.
In server mode it is not set and as a result mssfix value
is 3 bytes off.
Fix by setting this flag in multi.c when calculating
tunnel-specific options.
Acked-By: Arne Schwabe <a...@rfc2549.org>
This fixes the issue at hand. It would be better to refactor the whole
peerid in use signalling eventually but this is good enough for now.
Arne
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel