START sys/net/pf_policy 2024-05-05T04:11:39Z ==== enable-pf ==== pfctl -e || true pfctl: pf already enabled ==== check-probe-host ==== ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.191 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.191/0.191/0.191/0.000 ms ==== run-pass-absolute ==== pfctl -a "regress/*" -Fa Removing: regress/relative regress/one/two regress/one regress/foo/bar regress/foo/_4 regress/foo regress/_1/foo/_3 regress/_1/foo regress/_1/_3/_4/_5/_6/_7/_8/_9/_10 regress/_1/_3/_4/_5/_6/_7/_8/_9 regress/_1/_3/_4/_5/_6/_7/_8 regress/_1/_3/_4/_5/_6/_7 regress/_1/_3/_4/_5/_6 regress/_1/_3/_4/_5 regress/_1/_3/_4 regress/_1/_3 regress/_1/_2 regress/_1 regress pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/absolute.conf ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.162 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.162/0.162/0.162/0.000 ms ==== run-pass-quick ==== pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/quick.conf ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.200 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.200/0.200/0.200/0.000 ms ==== run-pass-relative ==== pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/relative.conf ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.212 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.212/0.212/0.212/0.000 ms ==== run-block-list ==== pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.179 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.179/0.179/0.179/0.000 ms pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/list.conf ping -c 1 -w 1 10.188.81.22 || true ping: sendmsg: Permission denied PING 10.188.81.22 (10.188.81.22): 56 data bytes ping: wrote 10.188.81.22 64 chars, ret=-1 --- 10.188.81.22 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-block-loop-relative ==== pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.221 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.221/0.221/0.221/0.000 ms pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/loop-relative.conf ping -c 1 -w 1 10.188.81.22 || true ping: sendmsg: Permission denied PING 10.188.81.22 (10.188.81.22): 56 data bytes ping: wrote 10.188.81.22 64 chars, ret=-1 --- 10.188.81.22 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-block-loop ==== pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.217 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.217/0.217/0.217/0.000 ms pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/loop.conf ping -c 1 -w 1 10.188.81.22 || true PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.212 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.212/0.212/0.212/0.000 ms ==== run-block-nesting ==== pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.208 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.208/0.208/0.208/0.000 ms pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/nesting.conf ping -c 1 -w 1 10.188.81.22 || true ping: sendmsg: Permission denied PING 10.188.81.22 (10.188.81.22): 56 data bytes ping: wrote 10.188.81.22 64 chars, ret=-1 --- 10.188.81.22 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-block-simple ==== pfctl -a "regress/*" -Fa Removing: regress/first/second regress/first regress ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.218 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.218/0.218/0.218/0.000 ms pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/simple.conf ping -c 1 -w 1 10.188.81.22 || true ping: sendmsg: Permission denied PING 10.188.81.22 (10.188.81.22): 56 data bytes ping: wrote 10.188.81.22 64 chars, ret=-1 --- 10.188.81.22 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-once-nesting-once ==== pfctl -a "regress/*" -Fa Removing: regress/test regress pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/nesting-once.conf ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.182 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.182/0.182/0.182/0.000 ms ping -c 1 -w 1 10.188.81.22 || true ping: sendmsg: Permission denied PING 10.188.81.22 (10.188.81.22): 56 data bytes ping: wrote 10.188.81.22 64 chars, ret=-1 --- 10.188.81.22 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-once-once ==== pfctl -a "regress/*" -Fa Removing: regress/first/second/third regress/first/second regress/first regress pfctl -a "regress" -f /usr/src/regress/sys/net/pf_policy/once.conf ping -c 1 -w 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.197 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.197/0.197/0.197/0.000 ms ping -c 1 -w 1 10.188.81.22 || true ping: sendmsg: Permission denied PING 10.188.81.22 (10.188.81.22): 56 data bytes ping: wrote 10.188.81.22 64 chars, ret=-1 --- 10.188.81.22 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== cleanup ==== pfctl -a "regress/*" -Fr Removing: regress/first/second/third regress/first/second regress/first regress PASS sys/net/pf_policy Duration 0m24.84s