Hi, On Sat, Jan 01, 2022 at 05:25:27PM +0100, Arne Schwabe wrote: > Instead relying on the link_mtu_dynamic field and its calculation > in the frame struct, add a new field max_fragment_size and add > a calculation of it similar to mssfix. > > Also whenever mssfix value is calculated, we also want to calculate > the values for fragment as both options need to be calculated from > the real overhead. > > Patch v2: Fix syntax in rst man page
NAK, as this breaks about everything :-o - I tried applying this on top of "master as of today" (3780ce0e1). It goes in with a little bit of help in options.h and compiles fine, but almost all t_client "--client" tests break with run IPv4 ping tests (want_ok), 64 byte packets... run IPv4 ping tests (want_ok), 1440 byte packets... run IPv4 ping tests (want_ok), 3000 byte packets... FAIL: IPv4 ping test (3000 bytes) failed, but should succeed. run IPv6 ping tests (want_ok), 64 byte packets... run IPv6 ping tests (want_ok), 1440 byte packets... run IPv6 ping tests (want_ok), 3000 byte packets... FAIL: IPv6 ping test (3000 bytes) failed, but should succeed. Test sets succeeded: 8 8a 9 9a 9b 9x. Test sets failed: 1 1a 1b 1c 1d 1e 2 2a 2b 2c 2d 2e 2f 3 4 4a 4b 5 6. (8+9 are p2p tests, with or without --client, which makes this a bit more puzzling) Looking more closely, I see this in the log now: 2022-02-03 14:24:04 /sbin/ifconfig tun0 10.194.2.54 10.194.2.53 mtu 1572 netmask 255.255.255.255 up "mtu 1572" while 3780ce0e16c configures 2022-02-03 14:28:24 /sbin/ifconfig tun0 10.194.2.54 10.194.2.53 mtu 1500 netmask 255.255.255.255 up - so, the ping fails are explained (client OS fragments to 1572 MTU, which the client OS on the receiving end rejects). I couldn't easily see why this happens, though... Client config is: src/openvpn/openvpn --client --ca ... --cert ... --key ... --comp-lzo --verb 3 --dev tun --proto udp4 --remote conn-test-server.openvpn.org --port 51194 and server pushes this: 2022-02-03 14:28:24 PUSH: Received control message: 'PUSH_REPLY,route 10.194.0.0 255.255.0.0,route-ipv6 fd00:abcd:194::/48,tun-ipv6,route 10.194.2.1,topology net30,ping 10,ping-restart 30,compress lz4,ifconfig-ipv6 fd00:abcd:194:2::100c/64 fd00:abcd:194:2::1,ifconfig 10.194.2.54 10.194.2.53,peer-id 0,cipher AES-256-GCM,key-derivation tls-ekm' 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 g...@greenie.muc.de
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel