]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: Test that 'set skip on <group>' works on new group members
authorKristof Provost <kp@FreeBSD.org>
Mon, 12 Oct 2020 12:41:10 +0000 (12:41 +0000)
committerKristof Provost <kp@FreeBSD.org>
Mon, 12 Oct 2020 12:41:10 +0000 (12:41 +0000)
commite6f9af16bc09b3d2789f473073a66870657e9e96
treed2a3cb855dfdf2ceeb5b476ffcd4506c634baa8c
parentc9449e4fb81d7f6c89d760b3b16fee4873174b17
pf tests: Test that 'set skip on <group>' works on new group members

There's a know issue where new group members don't get the 'set skip on'
applied until the rules are re-loaded.

Do this by setting rules that block all traffic, but skip members of the
'epair' group. If we can communicate over the epair interface we know the set
skip rule took effect, even if the rule was set before the interface was
created.

MFC after: 2 weeks
tests/sys/netpfil/pf/set_skip.sh