Re: [Openvpn-devel] [PATCH] Use P_DATA_V2 for server->client packets too

2017-11-12 Thread Antonio Quartulli
Hi, On 12/11/17 00:03, Steffan Karger wrote: > P_DATA_V2 introduced the peer-id. This allows clients to float, but as a > side-effect 32-bit aligns the encrypted data. That alignment improves > performance particularly on cheaper/older CPUs. So although servers don't > actually have a peer-id,

[Openvpn-devel] [PATCH] Use P_DATA_V2 for server->client packets too

2017-11-11 Thread Steffan Karger
P_DATA_V2 introduced the peer-id. This allows clients to float, but as a side-effect 32-bit aligns the encrypted data. That alignment improves performance particularly on cheaper/older CPUs. So although servers don't actually have a peer-id, still use the V2 packet format (with a zero-id) for