[PATCH v3 3/3] Do not drop vpn connection if packet arrived is larger than MTU

Daniel Lenski dlenski at gmail.com
Sat May 13 16:08:42 PDT 2017


On Fri, May 12, 2017 at 4:57 PM, Nikolay Martynov <mar.kolya at gmail.com> wrote:
>
> Sometimes server sends us packets that are larger than negotiated MTU.
> Current implementation bails out in this case.
> This patch makes openconnect to reserve space and handle incoming packets
> that have size up to (negotiated_mtu + 256)
>
> This improves connection stability.
>
> Signed-off-by: Nikolay Martynov <mar.kolya at gmail.com>

This version looks good to me. Working fine on the Juniper VPN I have
access to (though this particular VPN does not appear to suffer from
the oversized-packet bug).

-Dan



More information about the openconnect-devel mailing list