]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: ALTQ priority test
authorKristof Provost <kp@FreeBSD.org>
Thu, 26 Aug 2021 08:25:57 +0000 (10:25 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 1 Sep 2021 07:39:06 +0000 (09:39 +0200)
commit80bbb82f231a25f6aac85d3df86fcf816cec81df
tree82f9082d03f188ca0ffbadf2532443d18e339b91
parent97f6c66889343e1593d638cf743180f2a74cc7b5
pf tests: ALTQ priority test

Test that ALTQ can prioritise one type of traffic over another. Do this
by establishing a slow link and saturating it with ICMP echos.
When prioritised TCP connections reliably go through. When not
prioritised TCP connections reliably fail.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit cd46399b9ccf04f6ec00a532e52c8b1edb007af7)
tests/sys/netpfil/pf/altq.sh