Re: [Openvpn-devel] [PATCH] Set o->use_peer_id flag for p2p mode

2022-06-22 Thread Antonio Quartulli
Hi, On 24/05/2022 11:19, Lev Stipakov wrote: From: Lev Stipakov There are two flags to indicate peer-id usage, one is in tls_multi struct and another one is in options. For P2P mode we don't set this flag in options, which is used in MTU calculation. As a result, automatically calculated MSS

[Openvpn-devel] [PATCH] Set o->use_peer_id flag for p2p mode

2022-05-24 Thread Lev Stipakov
From: Lev Stipakov There are two flags to indicate peer-id usage, one is in tls_multi struct and another one is in options. For P2P mode we don't set this flag in options, which is used in MTU calculation. As a result, automatically calculated MSS value in P2P mode is wrong, Fix by bring use_pe