diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-08-15 15:14:37 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-08-18 15:26:53 +0200 |
| commit | c4e2493eeb28a159980510bca408ca01ccdf4cd5 (patch) | |
| tree | 84e393f972cd7937074efc145442552f3f919dcf | |
| parent | 1aab3e607a3a6bb72dfa76038b40c4145d1630bd (diff) | |
| download | mullvadvpn-c4e2493eeb28a159980510bca408ca01ccdf4cd5.tar.xz mullvadvpn-c4e2493eeb28a159980510bca408ca01ccdf4cd5.zip | |
Fix temporarily raise minimum QUIC payload size to 1252
This is the minimum that the relay masque proxy will accept. We
have to investigate the consequences of this
| -rw-r--r-- | mullvad-masque-proxy/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mullvad-masque-proxy/src/lib.rs b/mullvad-masque-proxy/src/lib.rs index 7a3b60dc1b..7d22dc11d7 100644 --- a/mullvad-masque-proxy/src/lib.rs +++ b/mullvad-masque-proxy/src/lib.rs @@ -28,7 +28,9 @@ const UDP_HEADER_SIZE: u16 = 8; const QUIC_HEADER_SIZE: u16 = 41; /// The minimum allowed `max_udp_payload_size`-value allowed by [quinn::EndpointConfig]. -const MIN_MAX_UDP_PAYLOAD_SIZE: u16 = 1200; +/// FIXME: A bug in the proxy server implementation sets the actual minimum value to 1252 instead +/// of 1200, which would be according to spec. +const MIN_MAX_UDP_PAYLOAD_SIZE: u16 = 1252; /// This is the size of the payload that stores QUIC packets /// MTU - IP header - UDP header |
