Re: Serious mssfix compatibility issue with OpenVPN Connect

Gert Doering <[email protected]> Tue, 3 Sep 2024 21:42:23 +0200
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Hi,

On Tue, Sep 03, 2024 at 07:29:41PM +0200, Marian ??urkovi?? wrote:
> on MacOS, ICMP Fragmentation needed messages only work for TCP protocol.
> They are never delivered to any UDP application. For this reason, sending ICMP messages is useless for anything else than TCP on MacOS.

This is a curious statement to make.

If there is anything in your packet path that can not handle 1500 byte
packets (like, a 1492 byte PPPoE based Internet router), applications
will receive ICMP frag required when sending 1500 byte packets, and
will have to deal with them.  And this is working mostly well (unless
someone filters ICMP), completely unrelated to "OpenVPN".

So, bringing in OpenVPN - if you use 2.x, and configure "--tun-mtu 1400",
this is EXACTLY what is happening - application generates a 1500 byte
packet, operating system looks at the outgoing interface, sees 1400 byte
MTU, and the OS will then generate said ICMP packet.


I agree that the decision by Connect to do "1500 byte MTU, but generate 
the ICMP itself" (instead of doing ifconfig with lower MTU) is somewhat
questionablex - but for the application, the net result should be the
same - packet too big, ICMP message, deal with it.

If you accept 1500 byte packets into the tunnel, you'll end up with
external fragmentation, which causes more issues overall (due to broken
NAT routers, over-eager firewalls, anti-ddos boxes rate-limiting fragments,
etc.).

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJm12afAAoJEB2Cnv7KVigS4V8L/3PS3VtZ7w15Rl3VvoJxJ4wr
0CS9YKE5XEfTHMmjoUZidYPfiHqmst3IUZrI4qcNfI/wuDMqJAceCVngLySVQ9fy
0EGJC4nIIp0Q/mrHiAqk7QMHeHxayvnmCLYqjSMWlsuvaH8Ozu7tKW8/uE/3Z1d+
nu6kBbYG+lBFxb7unIRuSrIp0bCePo0TpApvLvu295xFo0YdUQ3I+1TzRuZPsdzD
X6WDitTssLcdF2DqoHSxVr1w9EdWBKxOlv/GxzZK0vfiHa2TPWcwYecS1SSt7Jn8
NiECyW9edWVG9Zuqmeby0Fth4NI459nmnKkN5DQpTjbyd/EFgsv9arPqqrNTV045
HTLCjbJXJUfvgXZWRCarFF+fA4cz1D0b0gd4qi+FZoAYQW9zyOB6eqTxiUlUW836
08N01DRIWAiSRNJS1W+9iTZclKKHoASVRAtQ4sBFP7BVzbcj75sVb6xLrbTDz3r8
O7eEihZ0sw2t4jEcGaLQMWL6odN5DKOVhOIoqF0IgA==
=qTah
-----END PGP SIGNATURE-----