mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Disable MTU discovery when not requested, set the minimum packet size to 1280 for IPv6 and 800 bytes for IPv4. When MTU discovery fails to calculate an MTU over the minimum, it disables itself and ocserv will rely on packet fragmentation. This also enhances DTLS connection detection (due to MTU issues), by setting the DPD packet size to equal to the current data MTU.