From nobody Fri Mar 22 08:37:26 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V1G0k2D25z5G5Y0; Fri, 22 Mar 2024 08:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1G0k1j62z4RGj; Fri, 22 Mar 2024 08:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711096646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2q76kkTBqTmQ8JL+SNJ7gNfKUqc01IyNtIbDSDhyFSA=; b=pBhTD1o2qU60Ygcw0AdCBu2YOAQgIlQfZ/1u74teSZ6CrI4oSYNEWMk28BkdqQWZiFZdIi ckpBh8b/p23Debcf5Y2zlMOeW1jf7DGaXf30UhwGyisBoasErAZVYLioySSIOTQSMiycgd YR68bEvx1Ng0r7Lve732U1qMLD1vwcNeT+gpIN1B06oOjVdq8WfZvthuqq0s/Yseilzf1s HqeE4Ip8YJxXFYzT6A94jt6HVOz+6vBfF2c3XjH8zxE3co6ESP7d59XOgdHvBqULeZ+IeH y+cuMlz7zgiy3oRydJLwQHg8h50kuEwPIFG3GbuO32aPiVROkBpUHlFdH7YBGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711096646; a=rsa-sha256; cv=none; b=EenhPMMlCMduINPxvZfqjYesA3n+KNhlxn8WZNu6bujI1bj6uWaIYZyXP8WpqNkgEPsWda XLdCckC2VKh+k+n4dixQRI2Hh9uZc2o7fctmGTjIKvQMuFCtuPRcNJSDZoyOwdsVUgu3qS EjdelAmyz2dHHRZo1SCmhI7OFc2MMM1wESMIyC9jGlKbqZM0BEfWk1bX4WPHq2vmvYdqC9 d5WX3mtSJA2X8m5hdvZXAPD2N/6JXigfkX+iM9POkvQB8LezlDrHETFn+BGzpmJcL2o6mj AR1mh0uHA0vM/ObgaxRRpoAeNPBKSDvJszUJUQEfhUkUtq0QMNTe4ZnLITu6aQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711096646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2q76kkTBqTmQ8JL+SNJ7gNfKUqc01IyNtIbDSDhyFSA=; b=pqvzRX3edlK8tKXDYLC/N3zAGabjo5uBMoc4Y1G52fbv29VxHCEa116/FnCVpilHODZgAJ h9GlTZ+H3Y5H6FXCSU8j14f94bZXinOLiZhZ1WwBKJZk7XTxtz2wxiDb4ftOjH+Eh9DxG5 zEfat+yscVnt68LnCK10k0af1sPTclD9+4x+3JTfIcyPA0OL1nYqe8jSUjFDLT080ZYRLP GxetibAO4DZJ06m9s6wzVQU2thOLx1s3Hv/kB2OerIXxi5HTsO7w5HuRsy6Cgv5kjHiJXG R3lYTKtwX2tgZgf8XXOzmKyqbyaxMvYOoB2BaHcVI1avrI0nXozw+eCMCIJM7g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V1G0k1BGyz1Bwv; Fri, 22 Mar 2024 08:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42M8bQmP094208; Fri, 22 Mar 2024 08:37:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42M8bQK3094205; Fri, 22 Mar 2024 08:37:26 GMT (envelope-from git) Date: Fri, 22 Mar 2024 08:37:26 GMT Message-Id: <202403220837.42M8bQK3094205@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: e08b44339b65 - main - if_ovpn tests: test large packets in IPv6 tunnel List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e08b44339b65a6aa7df4a58d0b1f471ba16da410 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=e08b44339b65a6aa7df4a58d0b1f471ba16da410 commit e08b44339b65a6aa7df4a58d0b1f471ba16da410 Author: Kristof Provost AuthorDate: 2024-03-21 07:38:45 +0000 Commit: Kristof Provost CommitDate: 2024-03-22 08:00:05 +0000 if_ovpn tests: test large packets in IPv6 tunnel There's a report of MTU issues over IPv6 DCO tunnels. Extend the 4in6 test to send a series of pings with different sizes, as well as transfer a large file. No issues were found, but we may as well extend the test case. PR: 276838 --- tests/sys/net/if_ovpn/if_ovpn.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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=/dev/random of=test.img bs=1024 count=1024 + 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=$(jexec b nc -N -w 3 198.51.100.1 1234 | md5) + md5=$(md5 test.img) + + if [ $md5 != $rcvmd5 ]; + then + atf_fail "Transmit corruption!" + fi } 4in6_cleanup()