==== busy-rdomains ==== # Check if rdomains are busy. ==== ifconfig ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' *** Error 1 in target 'stamp-stop' (ignored) rm -f stamp-bpf* # Destroy interfaces. doas -n /sbin/ifconfig lo11 rdomain 11 doas -n /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) doas -n /sbin/ifconfig lo11 inet 127.0.0.11 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) doas -n /sbin/ifconfig lo11 inet6 ::1 delete doas -n /sbin/ifconfig lo11 inet6 fe80::11/64 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) doas -n /sbin/ifconfig lo12 rdomain 12 doas -n /sbin/ifconfig lo12 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) doas -n /sbin/ifconfig lo12 inet 127.0.0.12 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) doas -n /sbin/ifconfig lo12 inet6 ::1 delete doas -n /sbin/ifconfig lo12 inet6 fe80::12/64 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) rm -f stamp-ifconfig # Create and configure loopback interfaces. doas -n /sbin/ifconfig lo11 rdomain 11 doas -n /sbin/ifconfig lo11 inet 127.0.0.1/8 doas -n /sbin/ifconfig lo11 inet 127.0.0.11 alias doas -n /sbin/ifconfig lo11 inet6 ::1/128 doas -n /sbin/ifconfig lo11 inet6 fe80::11/64 doas -n /sbin/route -n -T 11 add -inet 224.0.0.0/4 127.0.0.1 add net 224.0.0.0/4: gateway 127.0.0.1 doas -n /sbin/ifconfig lo12 rdomain 12 doas -n /sbin/ifconfig lo12 inet 127.0.0.1/8 doas -n /sbin/ifconfig lo12 inet 127.0.0.12 alias doas -n /sbin/ifconfig lo12 inet6 ::1/128 doas -n /sbin/ifconfig lo12 inet6 fe80::12/64 doas -n /sbin/route -n -T 12 add -inet 224.0.0.0/4 127.0.0.1 add net 224.0.0.0/4: gateway 127.0.0.1 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig lo11; /sbin/ifconfig lo12; } | fgrep -q tentative; then break; fi; sleep .1; done ! { /sbin/ifconfig lo11; /sbin/ifconfig lo12; } | fgrep tentative ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'IF_N1="lo11"' >>addr.py.tmp echo 'ADDR_N1="127.0.0.11"' >>addr.py.tmp echo 'ADDR6_N1="fe80::11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'IF_N2="lo12"' >>addr.py.tmp echo 'ADDR_N2="127.0.0.12"' >>addr.py.tmp echo 'ADDR6_N2="fe80::12"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /home/src/regress/sys/net/pf_opts/pf.conf | /sbin/pfctl -n -f - cat addr.py /home/src/regress/sys/net/pf_opts/pf.conf | doas -n /sbin/pfctl -a regress -f - ==== run-ping ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG # Ping localhost on loopback /sbin/ping -n -w 1 -c 1 -V 11 127.0.0.11 PING 127.0.0.11 (127.0.0.11): 56 data bytes 64 bytes from 127.0.0.11: icmp_seq=0 ttl=255 time=0.086 ms --- 127.0.0.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.086/0.086/0.086/0.000 ms /sbin/ping -n -w 1 -c 1 -V 12 127.0.0.12 PING 127.0.0.12 (127.0.0.12): 56 data bytes 64 bytes from 127.0.0.12: icmp_seq=0 ttl=255 time=0.079 ms --- 127.0.0.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.079/0.079/0.079/0.000 ms ==== run-ping6 ==== # Ping localhost on loopback /sbin/ping6 -n -w 1 -c 1 -V 11 fe80::11%lo11 PING fe80::11%lo11 (fe80::11%lo11): 56 data bytes 64 bytes from fe80::11%lo11: icmp_seq=0 hlim=64 time=0.102 ms --- fe80::11%lo11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.102/0.102/0.102/0.000 ms /sbin/ping6 -n -w 1 -c 1 -V 12 fe80::12%lo12 PING fe80::12%lo12 (fe80::12%lo12): 56 data bytes 64 bytes from fe80::12%lo12: icmp_seq=0 hlim=64 time=0.080 ms --- fe80::12%lo12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.080/0.080/0.080/0.000 ms ==== run-bpf-ping ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 4 packets received by filter 0 packets dropped by kernel 0 packets received by filter 4 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel rm -f stamp-bpf* # Check that ping packet went through loopback. grep ' 127.0.0.11: icmp: echo request' lo11.tcpdump 04:57:35.521796 127.0.0.11 > 127.0.0.11: icmp: echo request (id:1967 seq:0) [icmp cksum ok] (ttl 255, id 43738, len 84, bad ip cksum 0! -> 12b8) grep ' 127.0.0.12: icmp: echo request' lo12.tcpdump 04:57:35.524501 127.0.0.12 > 127.0.0.12: icmp: echo request (id:f7a6 seq:0) [icmp cksum ok] (ttl 255, id 7084, len 84, bad ip cksum 0! -> a1e4) grep ' fe80:.*::11: icmp6: echo request' lo11.tcpdump 04:57:35.605388 fe80:22d::1 > fe80:22d::11: icmp6: echo request (id:1280 seq:0) [bad icmp6 cksum bf48! -> baee] (len 64, hlim 64) grep ' fe80:.*::12: icmp6: echo request' lo12.tcpdump 04:57:35.611632 fe80:22e::1 > fe80:22e::12: icmp6: echo request (id:3f11 seq:0) [bad icmp6 cksum 29e5! -> 2589] (len 64, hlim 64) ! grep ': icmp: echo request' pflog0.tcpdump ! grep ': icmp6: echo request' pflog0.tcpdump ==== run-ping-record ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG # Ping localhost with record route option /sbin/ping -n -w 1 -c 1 -V 11 -R 127.0.0.11 PING 127.0.0.11 (127.0.0.11): 56 data bytes 64 bytes from 127.0.0.11: icmp_seq=0 ttl=255 time=0.091 ms RR: 127.0.0.11 127.0.0.11 --- 127.0.0.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.091/0.091/0.091/0.000 ms ! /sbin/ping -n -w 1 -c 1 -V 12 -R 127.0.0.12 ping: sendmsg: Permission denied PING 127.0.0.12 (127.0.0.12): 56 data bytes ping: wrote 127.0.0.12 64 chars, ret=-1 --- 127.0.0.12 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss ==== run-bpf-ping-record ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 0 packets received by filter 0 packets dropped by kernel 2 packets received by filter 0 packets dropped by kernel 1 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # Check that ping packet with options is in pflog0. grep ' 127.0.0.11: icmp: echo request .* optlen=40 RR' lo11.tcpdump 04:57:39.989795 127.0.0.11 > 127.0.0.11: icmp: echo request (id:e52e seq:0) [icmp cksum ok] (ttl 255, id 6228, len 124, bad ip cksum 0! -> 8fef, optlen=40 RR{39}= RR{#0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0} EOL) grep ' 127.0.0.12: icmp: echo request .* optlen=40 RR' pflog0.tcpdump 04:57:39.995245 rule 5.regress.1/(match) [uid 0, pid 43755] pass out on lo12: 127.0.0.12 > 127.0.0.12: icmp: echo request (id:d91b seq:0) [icmp cksum ok] (ttl 255, id 4437, len 124, bad ip cksum dbdb! -> 96ec, optlen=40 RR{39}= RR{#0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0} EOL) ==== run-icmp ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp.py N1 send icmp without options /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp.py N2 send icmp without options /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6 ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6.py N1 send icmp6 without options /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6.py N2 send icmp6 without options /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-bpf-icmp ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 0 packets received by filter 2 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel 2 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # Check that icmp packet went through loopback. grep ' 127.0.0.11: icmp: type-#6' lo11.tcpdump 04:57:47.642573 127.0.0.11 > 127.0.0.11: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 44) grep ' 127.0.0.12: icmp: type-#6' lo12.tcpdump 04:57:49.018338 127.0.0.12 > 127.0.0.12: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 44) grep ' fe80::11: icmp6: type-#6' lo11.tcpdump 04:57:50.477462 fe80::11 > fe80::11: icmp6: type-#6 [icmp6 cksum ok] (len 20, hlim 64) grep ' fe80::12: icmp6: type-#6' lo12.tcpdump 04:57:51.867084 fe80::12 > fe80::12: icmp6: type-#6 [icmp6 cksum ok] (len 20, hlim 64) ! grep ': icmp: type-#6' pflog0.tcpdump ! grep ': icmp6: type-#6' pflog0.tcpdump ==== run-icmp6-hop ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop.py N1 send icmp6 with hop by hop header /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop.py N2 send icmp6 with hop by hop header /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-dst ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_dst.py N1 send icmp6 with destination options header /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_dst.py N2 send icmp6 with destination options header /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-bpf-ext ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 2 packets received by filter 2 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel 2 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # Check that icmp6 packet with extension headers were blocked fgrep ' fe80::12: HBH icmp6:' pflog0.tcpdump 04:57:58.989320 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: fe80::12 > fe80::12: HBH icmp6: type-#6 [icmp6 cksum ok] (len 28, hlim 64) fgrep ' fe80::12: DSTOPT icmp6:' pflog0.tcpdump 04:58:01.815666 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: fe80::12 > fe80::12: DSTOPT icmp6: type-#6 [icmp6 cksum ok] (len 28, hlim 64) ! grep fe80::11 pflog0.tcpdump ==== run-icmp-pad ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_pad.py N1 send icmp with options padding /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_pad.py N2 send icmp with options padding /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp-eol ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_eol.py N1 send icmp with option end of list /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_eol.py N2 send icmp with option end of list /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-pad ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_pad.py N1 send icmp6 with hop by hop header with padding /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_pad.py N2 send icmp6 with hop by hop header with padding /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp-max ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_max.py N1 send icmp with maximum length option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_max.py N2 send icmp with maximum length option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-max ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_max.py N1 send icmp6 with hop by hop header with maxium padding /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_max.py N2 send icmp6 with hop by hop header with maxium padding /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp-ra ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_ra.py N1 send icmp with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_ra.py N2 send icmp with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-ra ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_ra.py N1 send icmp6 with hop by hop header with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_ra.py N2 send icmp6 with hop by hop header with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp-bad ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_bad.py N1 send icmp with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp_bad.py N2 send icmp with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-bad ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_bad.py N1 send icmp6 with hop by hop header with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_hop_bad.py N2 send icmp6 with hop by hop header with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-bpf-opts ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 9 packets received by filter 9 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel 9 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # Check that icmp packet with options were blocked grep ' 127.0.0.12:.* optlen=4 NOP NOP NOP NOP)' pflog0.tcpdump 04:58:08.924955 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: 127.0.0.12 > 127.0.0.12: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 48, optlen=4 NOP NOP NOP NOP) grep ' 127.0.0.12:.* optlen=4 NOP EOL-2)' pflog0.tcpdump 04:58:11.764145 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: 127.0.0.12 > 127.0.0.12: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 48, optlen=4 NOP EOL-2) grep ' 127.0.0.12:.* optlen=40 NOP ' pflog0.tcpdump 04:58:17.447435 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: 127.0.0.12 > 127.0.0.12: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 84, optlen=40 NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP) grep ' 127.0.0.12:.* optlen=8 NOP IPOPT-148{4} NOP ' pflog0.tcpdump 04:58:23.130639 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: 127.0.0.12 > 127.0.0.12: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 52, optlen=8 NOP IPOPT-148{4} NOP EOL-1) grep ' 127.0.0.12:.* optlen=4 IPOPT-3{4})' pflog0.tcpdump 04:58:28.815725 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: 127.0.0.12 > 127.0.0.12: icmp: type-#6 [icmp cksum ok] (ttl 64, id 1, len 48, optlen=4 IPOPT-3{4}) grep ' fe80::12: HBH icmp6:.* (len 28,' pflog0.tcpdump 04:58:14.607413 rule 5.regress.1/(match) [uid 0, pid 43755] pass in on lo12: fe80::12 > fe80::12: HBH icmp6: type-#6 [icmp6 cksum ok] (len 28, hlim 64) grep ' fe80::12: HBH icmp6:.* (len 284,' pflog0.tcpdump 04:58:20.285917 rule 5.regress.1/(match) [uid 0, pid 43755] pass in on lo12: fe80::12 > fe80::12: HBH icmp6: type-#6 [icmp6 cksum ok] (len 284, hlim 64) grep ' fe80::12: HBH (rtalert: 0x0000) icmp6:' pflog0.tcpdump 04:58:25.991664 rule 5.regress.1/(match) [uid 0, pid 43755] pass in on lo12: fe80::12 > fe80::12: HBH (rtalert: 0x0000) icmp6: type-#6 [icmp6 cksum ok] (len 36, hlim 64) grep ' fe80::12: HBH (type 0x03: len=0) icmp6:' pflog0.tcpdump 04:58:31.672464 rule 5.regress.1/(match) [uid 0, pid 43755] pass in on lo12: fe80::12 > fe80::12: HBH (type 0x03: len=0) icmp6: type-#6 [icmp6 cksum ok] (len 28, hlim 64) ! grep '127.0.0.11' pflog0.tcpdump ! grep 'fe80::11' pflog0.tcpdump ==== run-igmp ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/igmp_ra.py N1 send internet group management protocol with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/igmp_ra.py N2 send internet group management protocol with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-mld ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_mld_ra.py N1 send icmp6 multicast listener discovery with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_mld_ra.py N2 send icmp6 multicast listener discovery with router alert /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-bpf-mcast ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 2 packets received by filter 0 packets dropped by kernel 2 packets received by filter 0 packets dropped by kernel 0 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # Check that multicast protocol packet with router alert passed grep '127.0.0.12 > 224.0.0.1: igmp query .* IPOPT-148{4}' lo12.tcpdump 04:58:38.854660 127.0.0.12 > 224.0.0.1: igmp query [ttl 1] (id 1, len 32, optlen=4 IPOPT-148{4}) grep 'fe80::12 > ff02::1: HBH (rtalert:.* icmp6: multicast ' lo12.tcpdump 04:58:41.688571 fe80::12 > ff02::1: HBH (rtalert: 0x0000) icmp6: multicast listener query max resp delay: 10000 addr: :: [icmp6 cksum ok] [hlim 1] (len 32) ! grep '127.0.0.11' pflog0.tcpdump ! grep 'fe80::11' pflog0.tcpdump ! grep '127.0.0.12' pflog0.tcpdump ! grep 'fe80::12' pflog0.tcpdump ! grep '224.0.0.1' pflog0.tcpdump ! grep 'ff02::1' pflog0.tcpdump ==== run-igmp-bad ==== rm -f lo11.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11' || true doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo11 >lo11.tcpdump & rm -f stamp-stop rm -f lo12.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12' || true tcpdump: listening on lo11, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni lo12 >lo12.tcpdump & rm -f stamp-stop rm -f pflog0.tcpdump doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0' || true tcpdump: listening on lo12, link-type LOOP doas -n /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog0 >pflog0.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog0, link-type PFLOG doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/igmp_bad.py N1 send internet group management protocol with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/igmp_bad.py N2 send internet group management protocol with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-icmp6-mld-bad ==== doas -n /sbin/route -T 11 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_mld_bad.py N1 send icmp6 multicast listener discovery with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. doas -n /sbin/route -T 12 exec env PYTHONPATH=/home/src/regress/sys/net/pf_opts/obj python3 -u /home/src/regress/sys/net/pf_opts/icmp6_mld_bad.py N2 send icmp6 multicast listener discovery with unknown option /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release cipher=algorithms.Blowfish, /usr/local/lib/python3.11/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release cipher=algorithms.CAST5, . Sent 1 packets. ==== run-bpf-mcast-bad ==== sleep 2 # XXX doas -n pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 2 packets received by filter 2 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel 2 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # Check that multicast protocol packet with options were blocked grep '127.0.0.12 > 224.0.0.1: igmp query .* IPOPT-3{4}' pflog0.tcpdump 04:58:48.838105 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: 127.0.0.12 > 224.0.0.1: igmp query [ttl 1] (id 1, len 32, optlen=4 IPOPT-3{4}) grep 'fe80::12 > ff02::1: HBH (type 0x03:.* icmp6: multicast ' pflog0.tcpdump 04:58:51.683548 rule 5/(ip-option) [uid 0, pid 43755] pass in on lo12: fe80::12 > ff02::1: HBH (type 0x03: len=0) icmp6: multicast listener query max resp delay: 10000 addr: :: [icmp6 cksum ok] [hlim 1] (len 32) ! grep '127.0.0.11' pflog0.tcpdump ! grep 'fe80::11' pflog0.tcpdump ==== unconfig ==== # Destroy interfaces. doas -n /sbin/ifconfig lo11 rdomain 11 doas -n /sbin/ifconfig lo11 inet 127.0.0.1 delete doas -n /sbin/ifconfig lo11 inet 127.0.0.11 delete doas -n /sbin/ifconfig lo11 inet6 ::1 delete doas -n /sbin/ifconfig lo11 inet6 fe80::11/64 delete doas -n /sbin/ifconfig lo12 rdomain 12 doas -n /sbin/ifconfig lo12 inet 127.0.0.1 delete doas -n /sbin/ifconfig lo12 inet 127.0.0.12 delete doas -n /sbin/ifconfig lo12 inet6 ::1 delete doas -n /sbin/ifconfig lo12 inet6 fe80::12/64 delete rm -f stamp-ifconfig