==== enable-pf ==== doas -n pfctl -e || true pfctl: pf already enabled ==== check-probe-host ==== ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.566 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.566/0.566/0.566/0.000 ms ==== run-pass-absolute ==== doas -n 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 doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/absolute.conf ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.675 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.675/0.675/0.675/0.000 ms ==== run-pass-quick ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/quick.conf ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.582 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.582/0.582/0.582/0.000 ms ==== run-pass-relative ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/relative.conf ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.702 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.702/0.702/0.702/0.000 ms ==== run-block-list ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.582 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.582/0.582/0.582/0.000 ms doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/list.conf ping -c 1 -w 1 10.0.0.1 || true ping: sendmsg: Permission denied PING 10.0.0.1 (10.0.0.1): 56 data bytes ping: wrote 10.0.0.1 64 chars, ret=-1 --- 10.0.0.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-block-loop-relative ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.594 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.594/0.594/0.594/0.000 ms doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/loop-relative.conf ping -c 1 -w 1 10.0.0.1 || true ping: sendmsg: Permission denied PING 10.0.0.1 (10.0.0.1): 56 data bytes ping: wrote 10.0.0.1 64 chars, ret=-1 --- 10.0.0.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-block-loop ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.709 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.709/0.709/0.709/0.000 ms doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/loop.conf ping -c 1 -w 1 10.0.0.1 || true PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.819 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.819/0.819/0.819/0.000 ms ==== run-block-nesting ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/second regress/first regress ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.562 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.562/0.562/0.562/0.000 ms doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/nesting.conf ping -c 1 -w 1 10.0.0.1 || true ping: sendmsg: Permission denied PING 10.0.0.1 (10.0.0.1): 56 data bytes ping: wrote 10.0.0.1 64 chars, ret=-1 --- 10.0.0.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-block-simple ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/first/second regress/first regress ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.591 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.591/0.591/0.591/0.000 ms doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/simple.conf ping -c 1 -w 1 10.0.0.1 || true ping: sendmsg: Permission denied PING 10.0.0.1 (10.0.0.1): 56 data bytes ping: wrote 10.0.0.1 64 chars, ret=-1 --- 10.0.0.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-once-nesting-once ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/test regress doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/nesting-once.conf ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.662 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.662/0.662/0.662/0.000 ms ping -c 1 -w 1 10.0.0.1 || true ping: sendmsg: Permission denied PING 10.0.0.1 (10.0.0.1): 56 data bytes ping: wrote 10.0.0.1 64 chars, ret=-1 --- 10.0.0.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-once-once ==== doas -n pfctl -a "regress/*" -Fa Removing: regress/first/second/third regress/first/second regress/first regress doas -n pfctl -a "regress" -f /home/src/regress/sys/net/pf_policy/once.conf ping -c 1 -w 1 10.0.0.1 PING 10.0.0.1 (10.0.0.1): 56 data bytes 64 bytes from 10.0.0.1: icmp_seq=0 ttl=255 time=0.634 ms --- 10.0.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.634/0.634/0.634/0.000 ms ping -c 1 -w 1 10.0.0.1 || true ping: sendmsg: Permission denied PING 10.0.0.1 (10.0.0.1): 56 data bytes ping: wrote 10.0.0.1 64 chars, ret=-1 --- 10.0.0.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== cleanup ==== doas -n pfctl -a "regress/*" -Fr Removing: regress/first/second/third regress/first/second regress/first regress