]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netpfil tests: Add too many fragments test for pf, ipfw and ipf
authorKristof Provost <kp@FreeBSD.org>
Tue, 20 Aug 2019 14:46:12 +0000 (14:46 +0000)
committerKristof Provost <kp@FreeBSD.org>
Tue, 14 Sep 2021 08:28:37 +0000 (10:28 +0200)
commit47fb5e0124d168d70b9633658426c3cc80169d8c
tree485a22b0e00ce5a24aeca91b3c1658bafda9649a
parentcacf2d4beb4e50fe636133ae1e2709537a560475
netpfil tests: Add too many fragments test for pf, ipfw and ipf

Add test for checking that the packets are dropped if it is fragmented into
more than the defined value.

Submitted by: Ahsan Barkati
Reviewed by: kp
Sponsored by: Google, Inc. (GSoC 2019)
Differential Revision: https://reviews.freebsd.org/D21307

(cherry picked from commit 3e1ebe7fb8244e6d9336216e9a982aa900a0a281)
tests/sys/netpfil/common/Makefile
tests/sys/netpfil/common/fragments.sh [new file with mode: 0644]