Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 07:28:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 276838] ovpn(4) - problems with large TCP segments over IPv6 tunnel when DCO module is used at both ends
Message-ID:  <bug-276838-7501-yfQWfoP8j1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276838-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276838-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276838

--- Comment #3 from Kristof Provost <kp@freebsd.org> ---
I am unable to reproduce any such issue testing locally. Over an IPv6 tunne=
l I
manage to transmit arbitrary sized ping requests, and I also see no issues
transmitting a large (1MB) file.

Patch for reference:

diff --git a/tests/sys/net/if_ovpn/if_ovpn.sh
b/tests/sys/net/if_ovpn/if_ovpn.sh
index bbaffa0bce73..0ec2563cf355 100644
--- a/tests/sys/net/if_ovpn/if_ovpn.sh
+++ b/tests/sys/net/if_ovpn/if_ovpn.sh
@@ -308,10 +308,28 @@ atf_test_case "4in6" "cleanup"
                keepalive 100 600
        "

+       dd if=3D/dev/random of=3Dtest.img bs=3D1024 count=3D1024
+       cat test.img | jexec a nc -N -l 1234 &
+
        # Give the tunnel time to come up
        sleep 10

        atf_check -s exit:0 -o ignore jexec b ping -c 3 198.51.100.1
+
+       # MTU sweep
+       for i in `seq 1000 1500`
+       do
+               atf_check -s exit:0 -o ignore jexec b \
+                   ping -c 1 -s $i 198.51.100.1
+       done
+
+       rcvmd5=3D$(jexec b nc -N -w 3 198.51.100.1 1234 | md5)
+       md5=3D$(md5 test.img)
+
+       if [ $md5  !=3D $rcvmd5 ];
+       then
+               atf_fail "Transmit corruption!"
+       fi
 }

 4in6_cleanup()

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276838-7501-yfQWfoP8j1>