Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] ffh.exitnode: add MTU fix for QUIC #107

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Commits on Jan 18, 2021

  1. ffh.exitnode: add MTU fix for QUIC

    This commit creates a dummy interface with the "bottleneck" MTU
    among our VPN path (currently batadv - see issue #80).
    Furthermore it creates an iptables DNAT rule which changes the
    destination IP address of incoming QUIC (UDP 443) packets which
    exceed the bottleneck MTU to a special IPv4 continuity address
    which is part of the subnet of the dummy interface.
    When an oversized QUIC packet arrives, it will thus be routed
    to the dummy interface which in turn generates an ICMP destination
    unreachable (fragmentation needed) packet as the packet does
    not fit the MTU of the dummy interface.
    The QUIC servers will react to the ICMP packet by changing the
    PMTU of their UDP sockets according to the maximum MTU advertised
    in the ICMP message, which is the dummy interface's MTU.
    CodeFetch committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    4ca31a8 View commit details
    Browse the repository at this point in the history