HomeFreeBSD

pf tests: add tests for the new scrub syntax

Description

pf tests: add tests for the new scrub syntax

Add functions for testing new scrub option syntax and for packet
fragmentation and route tables, because this was modified too. When
testing of both the new and the compatible syntax is necessary, move
original tests into _compat.sh file.

Reviewed by: kp
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D38129

Details

Provenance
vegeta_tuxpowered.netAuthored on Apr 13 2023, 4:14 PM
kpCommitted on Apr 14 2023, 7:04 AM
Reviewer
kp
Differential Revision
D38129: netpfil tests: Add tests for the new scrub syntax
Parents
rG39282ef356db: pf: backport OpenBSD syntax of "scrub" option for "match" and "pass" rules
Branches
Unknown
Tags
Unknown