START sys/net/pflog 2024-03-05T02:50:55Z ==== busy-rdomains ==== # Check if rdomains are busy. ==== ifconfig ==== sleep 2 # XXX pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' *** Error 1 in target 'stamp-stop' (ignored) rm -f stamp-bpf* # Destroy interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 169.254.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.2 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::2 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.3 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::3 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.4 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::4 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.5 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::5 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.6 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::6 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.11 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::11 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.12 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::12 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.14 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::14 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.21 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::21 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.22 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::22 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.23 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::23 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 169.254.0.24 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 fc00::24 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet 127.0.0.1 delete ifconfig: SIOCDIFADDR: Can't assign requested address *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig pflog11 destroy ifconfig: pflog11: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pflog12 destroy ifconfig: pflog12: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig pflog13 destroy ifconfig: pflog13: SIOCIFDESTROY: Device not configured *** Error 1 in target 'unconfig' (ignored) /sbin/ifconfig lo11 destroy rm -f stamp-ifconfig # Create and configure pflog and loopback interfaces. /sbin/ifconfig pflog11 create /sbin/ifconfig pflog12 create /sbin/ifconfig pflog13 create /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 127.0.0.1/8 /sbin/ifconfig lo11 inet6 ::1/128 /sbin/ifconfig lo11 inet 169.254.0.1/32 alias /sbin/ifconfig lo11 inet6 fc00::1/128 /sbin/ifconfig lo11 inet 169.254.0.2/32 alias /sbin/ifconfig lo11 inet6 fc00::2/128 /sbin/ifconfig lo11 inet 169.254.0.3/32 alias /sbin/ifconfig lo11 inet6 fc00::3/128 /sbin/ifconfig lo11 inet 169.254.0.4/32 alias /sbin/ifconfig lo11 inet6 fc00::4/128 /sbin/ifconfig lo11 inet 169.254.0.5/32 alias /sbin/ifconfig lo11 inet6 fc00::5/128 /sbin/ifconfig lo11 inet 169.254.0.6/32 alias /sbin/ifconfig lo11 inet6 fc00::6/128 /sbin/ifconfig lo11 inet 169.254.0.11/32 alias /sbin/ifconfig lo11 inet6 fc00::11/128 /sbin/ifconfig lo11 inet 169.254.0.12/32 alias /sbin/ifconfig lo11 inet6 fc00::12/128 /sbin/ifconfig lo11 inet 169.254.0.14/32 alias /sbin/ifconfig lo11 inet6 fc00::14/128 /sbin/ifconfig lo11 inet 169.254.0.21/32 alias /sbin/ifconfig lo11 inet6 fc00::21/128 /sbin/ifconfig lo11 inet 169.254.0.22/32 alias /sbin/ifconfig lo11 inet6 fc00::22/128 /sbin/ifconfig lo11 inet 169.254.0.23/32 alias /sbin/ifconfig lo11 inet6 fc00::23/128 /sbin/ifconfig lo11 inet 169.254.0.24/32 alias /sbin/ifconfig lo11 inet6 fc00::24/128 # Wait until IPv6 addresses are no longer tentative. for i in `jot 50`; do if ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep -q tentative; then break; fi; sleep .1; done pair11: no such interface pair12: no such interface lo13: no such interface ! { /sbin/ifconfig pair11; /sbin/ifconfig pair12; /sbin/ifconfig lo13; } | fgrep tentative pair11: no such interface pair12: no such interface lo13: no such interface ==== pfctl ==== # Create python include file containing the addresses. rm -f addr.py addr.py.tmp echo 'N="11"' >>addr.py.tmp echo 'LO="lo11"' >>addr.py.tmp echo 'N1="11"' >>addr.py.tmp echo 'PFLOG_N1="pflog11"' >>addr.py.tmp echo 'N2="12"' >>addr.py.tmp echo 'PFLOG_N2="pflog12"' >>addr.py.tmp echo 'N3="13"' >>addr.py.tmp echo 'PFLOG_N3="pflog13"' >>addr.py.tmp mv addr.py.tmp addr.py # Load the pf rules into the kernel. cat addr.py /usr/src/regress/sys/net/pflog/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pflog/pf.conf | /sbin/pfctl -a regress -f - ==== run-ping-1 ==== rm -f pflog11.tcpdump pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog11' || true /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog11 >pflog11.tcpdump & rm -f stamp-stop rm -f pflog12.tcpdump pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog12' || true tcpdump: listening on pflog11, link-type PFLOG /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog12 >pflog12.tcpdump & rm -f stamp-stop rm -f pflog13.tcpdump pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog13' || true tcpdump: listening on pflog12, link-type PFLOG /usr/sbin/tcpdump -l -e -vvv -s 2048 -ni pflog13 >pflog13.tcpdump & rm -f stamp-stop sleep 2 # XXX tcpdump: listening on pflog13, link-type PFLOG /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.1 PING 169.254.0.1 (169.254.0.1): 56 data bytes 64 bytes from 169.254.0.1: icmp_seq=0 ttl=255 time=0.052 ms --- 169.254.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.052/0.052/0.052/0.000 ms ==== run-ping6-1 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::1 PING fc00::1 (fc00::1): 56 data bytes 64 bytes from fc00::1: icmp_seq=0 hlim=64 time=0.050 ms --- fc00::1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.050/0.050/0.050/0.000 ms ==== run-udp-1 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.1 discard & ==== run-udp6-1 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::1 discard & ==== run-ping-2 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.2 PING 169.254.0.2 (169.254.0.2): 56 data bytes 64 bytes from 169.254.0.2: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.2 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-2 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::2 PING fc00::2 (fc00::2): 56 data bytes 64 bytes from fc00::2: icmp_seq=0 hlim=64 time=0.049 ms --- fc00::2 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-udp-2 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.2 discard & ==== run-udp6-2 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::2 discard & ==== run-ping-3 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.3 PING 169.254.0.3 (169.254.0.3): 56 data bytes 64 bytes from 169.254.0.3: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.3 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-3 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::3 PING fc00::3 (fc00::3): 56 data bytes 64 bytes from fc00::3: icmp_seq=0 hlim=64 time=0.049 ms --- fc00::3 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-udp-3 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.3 discard & ==== run-udp6-3 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::3 discard & ==== run-ping-4 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.4 PING 169.254.0.4 (169.254.0.4): 56 data bytes 64 bytes from 169.254.0.4: icmp_seq=0 ttl=255 time=0.040 ms --- 169.254.0.4 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-4 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::4 PING fc00::4 (fc00::4): 56 data bytes 64 bytes from fc00::4: icmp_seq=0 hlim=64 time=0.047 ms --- fc00::4 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-udp-4 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.4 discard & ==== run-udp6-4 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::4 discard & ==== run-ping-5 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.5 PING 169.254.0.5 (169.254.0.5): 56 data bytes 64 bytes from 169.254.0.5: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.5 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-5 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::5 PING fc00::5 (fc00::5): 56 data bytes 64 bytes from fc00::5: icmp_seq=0 hlim=64 time=0.047 ms --- fc00::5 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-udp-5 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.5 discard & ==== run-udp6-5 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::5 discard & ==== run-ping-6 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.6 PING 169.254.0.6 (169.254.0.6): 56 data bytes 64 bytes from 169.254.0.6: icmp_seq=0 ttl=255 time=0.039 ms --- 169.254.0.6 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.039/0.039/0.039/0.000 ms ==== run-ping6-6 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::6 PING fc00::6 (fc00::6): 56 data bytes 64 bytes from fc00::6: icmp_seq=0 hlim=64 time=0.047 ms --- fc00::6 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.047/0.047/0.047/0.000 ms ==== run-udp-6 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.6 discard & ==== run-udp6-6 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::6 discard & ==== run-ping-11 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.11 PING 169.254.0.11 (169.254.0.11): 56 data bytes 64 bytes from 169.254.0.11: icmp_seq=0 ttl=255 time=0.043 ms --- 169.254.0.11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.043/0.043/0.043/0.000 ms ==== run-ping6-11 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::11 PING fc00::11 (fc00::11): 56 data bytes 64 bytes from fc00::11: icmp_seq=0 hlim=64 time=0.049 ms --- fc00::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.049/0.049/0.049/0.000 ms ==== run-udp-11 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.11 discard & ==== run-udp6-11 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::11 discard & ==== run-ping-12 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.12 PING 169.254.0.12 (169.254.0.12): 56 data bytes 64 bytes from 169.254.0.12: icmp_seq=0 ttl=255 time=0.040 ms --- 169.254.0.12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.040/0.040/0.040/0.000 ms ==== run-ping6-12 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::12 PING fc00::12 (fc00::12): 56 data bytes 64 bytes from fc00::12: icmp_seq=0 hlim=64 time=0.048 ms --- fc00::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-udp-12 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.12 discard & ==== run-udp6-12 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::12 discard & ==== run-ping-14 ==== /sbin/ping -n -w 1 -c 1 -V 11 169.254.0.14 PING 169.254.0.14 (169.254.0.14): 56 data bytes 64 bytes from 169.254.0.14: icmp_seq=0 ttl=63 time=0.056 ms --- 169.254.0.14 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.056/0.056/0.056/0.000 ms ==== run-ping6-14 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 fc00::14 PING fc00::14 (fc00::14): 56 data bytes 64 bytes from fc00::14: icmp_seq=0 hlim=63 time=0.058 ms --- fc00::14 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.058/0.058/0.058/0.000 ms ==== run-udp-14 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 169.254.0.14 discard & ==== run-udp6-14 ==== # ignore errors, just send packet fast echo foo | nc -u -w 1 -V 11 fc00::14 discard & ==== run-ping6-0 ==== /sbin/ping6 -n -w 1 -c 1 -V 11 ::1 PING ::1 (::1): 56 data bytes 64 bytes from ::1: icmp_seq=0 hlim=64 time=0.048 ms --- ::1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-udp6-0 ==== echo foo | nc -u -w 1 -V 11 ::1 discard ==== run-bpf-11 ==== sleep 2 # XXX pkill -f '^/usr/sbin/tcpdump -l -e -vvv -s 2048 -ni' 0 packets received by filter 88 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel 80 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # show full logs cat pflog11.tcpdump 03:51:00.207786 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 3f05! -> d6a) 03:51:00.207797 rule 5.regress.3/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 0! -> d6a) 03:51:00.207807 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [bad icmp cksum 0! -> b6ce] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.207810 rule 5.regress.3/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.246629 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246637 rule 5.regress.11/(match) [uid 0, pid 3021] pass in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246648 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [bad icmp6 cksum 0! -> c85a] (len 64, hlim 64) 03:51:00.246652 rule 5.regress.11/(match) [uid 0, pid 3021] pass in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.288091 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1.42408 > 169.254.0.1.9: [bad udp cksum 8d03! -> ac30] udp 4 (ttl 64, id 31271, len 32, bad ip cksum c! -> aca7) 03:51:00.288100 rule 5.regress.3/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.1.42408 > 169.254.0.1.9: [bad udp cksum 1c54! -> ac30] udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) 03:51:00.288110 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: 169.254.0.1 udp port 9 unreachable [bad icmp cksum 0! -> afca] for 169.254.0.1.42408 > 169.254.0.1.9: udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) (ttl 255, id 20673, len 56, bad ip cksum 6470! -> 1705) 03:51:00.288114 rule 5.regress.3/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: 169.254.0.1 udp port 9 unreachable [icmp cksum ok] for 169.254.0.1.42408 > 169.254.0.1.9: udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) (ttl 255, id 20673, len 56, bad ip cksum 0! -> 1705) 03:51:00.327325 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1.40284 > fc00::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe4721] (len 12, hlim 64) 03:51:00.327334 rule 5.regress.11/(match) [uid 0, pid 3021] pass in on lo11: fc00::1.40284 > fc00::1.9: [bad udp cksum 20f8! -> f394] udp 4 [flowlabel 0xe4721] (len 12, hlim 64) 03:51:00.327345 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [bad icmp6 cksum 0! -> eaf5] (len 60, hlim 64) 03:51:00.327349 rule 5.regress.11/(match) [uid 0, pid 3021] pass in on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) 03:51:00.362498 rule 5.regress.4/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) 03:51:00.362509 rule 5.regress.4/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) 03:51:00.401372 rule 5.regress.12/(match) [uid 0, pid 3021] pass out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.401384 rule 5.regress.12/(match) [uid 0, pid 3021] pass in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.442523 rule 5.regress.4/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.2.49011 > 169.254.0.2.9: [bad udp cksum a711! -> df16] udp 4 (ttl 64, id 34069, len 32, bad ip cksum c! -> a1b7) 03:51:00.442534 rule 5.regress.4/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.2.49011 > 169.254.0.2.9: [bad udp cksum 1e54! -> df16] udp 4 (ttl 64, id 34069, len 32, bad ip cksum 0! -> a1b7) 03:51:00.481308 rule 5.regress.12/(match) [uid 0, pid 3021] pass out on lo11: fc00::2.22341 > fc00::2.9: [invalid udp cksum 0] udp 4 [flowlabel 0x86a38] (len 12, hlim 64) 03:51:00.481318 rule 5.regress.12/(match) [uid 0, pid 3021] pass in on lo11: fc00::2.22341 > fc00::2.9: [bad udp cksum 22f8! -> 08db] udp 4 [flowlabel 0x86a38] (len 12, hlim 64) 03:51:00.516684 rule 5.regress.5/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 3a4d! -> 29f8) 03:51:00.516694 rule 5.regress.5/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 0! -> 29f8) 03:51:00.516702 rule 5/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:5adf seq:0) [bad icmp cksum 0! -> 8a13] (ttl 255, id 56364, len 84, bad ip cksum 0! -> 8b79) 03:51:00.516704 rule 5/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 56364, len 84, bad ip cksum 0! -> 8b79) 03:51:00.555190 rule 5.regress.13/(match) [uid 0, pid 3021] pass out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.555200 rule 5.regress.13/(match) [uid 0, pid 3021] pass in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.555211 rule 5/(match) [uid 0, pid 3021] pass out on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:a785 seq:0) [bad icmp6 cksum 0! -> bc04] (len 64, hlim 64) 03:51:00.555214 rule 5/(match) [uid 0, pid 3021] pass in on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.596496 rule 5.regress.5/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.3.6962 > 169.254.0.3.9: [bad udp cksum 5233! -> 1ebb] udp 4 (ttl 64, id 33725, len 32, bad ip cksum c! -> a30d) 03:51:00.596506 rule 5.regress.5/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.3.6962 > 169.254.0.3.9: [bad udp cksum 2054! -> 1ebb] udp 4 (ttl 64, id 33725, len 32, bad ip cksum 0! -> a30d) 03:51:00.596517 rule 5/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: 169.254.0.3 udp port 9 unreachable [bad icmp cksum 0! -> 30a3] for 169.254.0.3.6962 > 169.254.0.3.9: udp 4 (ttl 64, id 33725, len 32, bad ip cksum 0! -> a30d) (ttl 255, id 46044, len 56, bad ip cksum 6c61! -> b3e5) 03:51:00.596519 rule 5/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: 169.254.0.3 udp port 9 unreachable [icmp cksum ok] for 169.254.0.3.6962 > 169.254.0.3.9: udp 4 (ttl 64, id 33725, len 32, bad ip cksum 0! -> a30d) (ttl 255, id 46044, len 56, bad ip cksum 0! -> b3e5) 03:51:00.635366 rule 5.regress.13/(match) [uid 0, pid 3021] pass out on lo11: fc00::3.1515 > fc00::3.9: [invalid udp cksum 0] udp 4 [flowlabel 0xb23eb] (len 12, hlim 64) 03:51:00.635376 rule 5.regress.13/(match) [uid 0, pid 3021] pass in on lo11: fc00::3.1515 > fc00::3.9: [bad udp cksum 24f8! -> 612c] udp 4 [flowlabel 0xb23eb] (len 12, hlim 64) 03:51:00.635388 rule 5/(match) [uid 0, pid 3021] pass out on lo11: fc00::3 > fc00::3: icmp6: fc00::3 udp port 9 unreachable [bad icmp6 cksum 0! -> a594] (len 60, hlim 64) 03:51:00.635390 rule 5/(match) [uid 0, pid 3021] pass in on lo11: fc00::3 > fc00::3: icmp6: fc00::3 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) 03:51:00.670264 rule 5.regress.6/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum d34c! -> 718d) 03:51:00.670275 rule 5.regress.6/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum 0! -> 718d) 03:51:00.708803 rule 5.regress.14/(match) [uid 0, pid 3021] pass out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.708813 rule 5.regress.14/(match) [uid 0, pid 3021] pass in on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.750224 rule 5.regress.6/(match) [uid 0, pid 3021] pass out on lo11: [uid 0, pid 96626] 169.254.0.4.8306 > 169.254.0.4.9: [no udp cksum] udp 4 (ttl 64, id 3144, len 32, bad ip cksum c! -> 1a81) 03:51:00.750235 rule 5.regress.6/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.4.8306 > 169.254.0.4.9: [bad udp cksum 2254! -> dcb5] udp 4 (ttl 64, id 3144, len 32, bad ip cksum 0! -> 1a81) 03:51:00.788852 rule 5.regress.14/(match) [uid 0, pid 3021] pass out on lo11: [uid 0, pid 74697] fc00::4.22370 > fc00::4.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe1b62] (len 12, hlim 64) 03:51:00.788865 rule 5.regress.14/(match) [uid 0, pid 3021] pass in on lo11: fc00::4.22370 > fc00::4.9: [bad udp cksum 26f8! -> e7da] udp 4 [flowlabel 0xe1b62] (len 12, hlim 64) 03:51:01.131317 rule 5.regress.18/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.11:19765, dst 169.254.0.21:8] 169.254.0.11 > 169.254.0.11: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum b6e0! -> 2bf1) 03:51:01.131329 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.11 > 169.254.0.21: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum 0! -> 2be7) 03:51:01.170200 rule 5.regress.20/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::11:34512, dst fc00::21:128] fc00::11 > fc00::11: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.170212 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::11 > fc00::21: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.211545 rule 5.regress.18/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.11:36890, dst 169.254.0.21:9] 169.254.0.11.36890 > 169.254.0.11.9: [no udp cksum] udp 4 (ttl 64, id 8754, len 32, bad ip cksum c! -> 489) 03:51:01.211558 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.11.36890 > 169.254.0.21.9: [bad udp cksum 3a54! -> 1c46] udp 4 (ttl 64, id 8754, len 32, bad ip cksum 0! -> 47f) 03:51:01.250245 rule 5.regress.20/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::11:4361, dst fc00::21:9] fc00::11.4361 > fc00::11.9: [invalid udp cksum 0] udp 4 [flowlabel 0xaebc6] (len 12, hlim 64) 03:51:01.250257 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::11.4361 > fc00::21.9: [bad udp cksum 50f8! -> 1721] udp 4 [flowlabel 0xaebc6] (len 12, hlim 64) 03:51:01.285133 rule 5.regress.19/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.22:1056, dst 169.254.0.12:8] 169.254.0.12 > 169.254.0.12: icmp: echo request (id:3bbd seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 1285! -> 5718) 03:51:01.285144 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:0420 seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 0! -> 570e) 03:51:01.323609 rule 5.regress.21/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::22:18013, dst fc00::12:128] fc00::12 > fc00::12: icmp6: echo request (id:a80b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.323619 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:465d seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.364967 rule 5.regress.19/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.22:60797, dst 169.254.0.12:9] 169.254.0.12.31911 > 169.254.0.12.9: [bad udp cksum 450a! -> 9759] udp 4 (ttl 64, id 7196, len 32, bad ip cksum c! -> a9d) 03:51:01.364978 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.22.60797 > 169.254.0.12.9: [bad udp cksum 3c54! -> b6e8] udp 4 (ttl 64, id 7196, len 32, bad ip cksum 0! -> a93) 03:51:01.403796 rule 5.regress.21/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::22:58795, dst fc00::12:9] fc00::12.11324 > fc00::12.9: [invalid udp cksum 0] udp 4 [flowlabel 0x8d656] (len 12, hlim 64) 03:51:01.403808 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::22.58795 > fc00::12.9: [bad udp cksum 52f8! -> 724c] udp 4 [flowlabel 0x8d656] (len 12, hlim 64) 03:51:01.438841 rule 5.regress.2/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 400! -> 3100) 03:51:01.438852 rule 5.regress.22/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src fc00::23:9014, dst fc00::24:128] 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 0! -> 3100) 03:51:01.438863 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::23 > fc00::24: icmp6: echo request (id:2336 seq:0) [icmp6 cksum ok] (len 64, hlim 63) 03:51:01.477469 rule 5.regress.10/(match) [uid 0, pid 3021] pass out on lo11: fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.477481 rule 5.regress.23/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src 169.254.0.23:1799, dst 169.254.0.24:8] fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.477491 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.23 > 169.254.0.24: icmp: echo request (id:0707 seq:0) [icmp cksum ok] (DF) (ttl 63, id 54013, len 84, bad ip cksum 0! -> 1480) 03:51:01.518741 rule 5.regress.2/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.14.28185 > 169.254.0.14.9: [no udp cksum] udp 4 (ttl 64, id 21382, len 32, bad ip cksum c! -> d32e) 03:51:01.518753 rule 5.regress.22/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src fc00::23:53175, dst fc00::24:9] 169.254.0.14.28185 > 169.254.0.14.9: [bad udp cksum 3654! -> 2168] udp 4 (ttl 64, id 21382, len 32, bad ip cksum 0! -> d32e) 03:51:01.518764 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::23.53175 > fc00::24.9: [bad udp cksum 65f8! -> 5362] udp 4 (len 12, hlim 63) 03:51:01.557469 rule 5.regress.10/(match) [uid 0, pid 3021] pass out on lo11: fc00::14.10402 > fc00::14.9: [invalid udp cksum 0] udp 4 [flowlabel 0xf6880] (len 12, hlim 64) 03:51:01.557481 rule 5.regress.23/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src 169.254.0.23:57185, dst 169.254.0.24:9] fc00::14.10402 > fc00::14.9: [bad udp cksum 46f8! -> 8809] udp 4 [flowlabel 0xf6880] (len 12, hlim 64) 03:51:01.557491 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.23.57185 > 169.254.0.24.9: [bad udp cksum 4954! -> c5f6] udp 4 (DF) (ttl 63, id 13815, len 32, bad ip cksum 0! -> b1aa) 03:51:01.593955 rule 5.regress.10/(match) [uid 0, pid 3021] pass out on lo11: ::1 > ::1: icmp6: echo request (id:545b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.593966 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: ::1 > ::1: icmp6: echo request (id:545b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.634514 rule 5.regress.10/(match) [uid 0, pid 3021] pass out on lo11: ::1.46883 > ::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe6c75] (len 12, hlim 64) 03:51:01.634524 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: ::1.46883 > ::1.9: [bad udp cksum 1f00! -> 2e73] udp 4 [flowlabel 0xe6c75] (len 12, hlim 64) ==== run-bpf-12 ==== # show full logs cat pflog12.tcpdump 03:51:00.207783 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 3f05! -> d6a) 03:51:00.207796 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 0! -> d6a) 03:51:00.207806 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [bad icmp cksum 0! -> b6ce] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.207810 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.246627 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246636 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246647 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [bad icmp6 cksum 0! -> c85a] (len 64, hlim 64) 03:51:00.246652 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.288090 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1.42408 > 169.254.0.1.9: [bad udp cksum 8d03! -> ac30] udp 4 (ttl 64, id 31271, len 32, bad ip cksum c! -> aca7) 03:51:00.288099 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1.42408 > 169.254.0.1.9: [bad udp cksum 1c54! -> ac30] udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) 03:51:00.288110 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: 169.254.0.1 udp port 9 unreachable [bad icmp cksum 0! -> afca] for 169.254.0.1.42408 > 169.254.0.1.9: udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) (ttl 255, id 20673, len 56, bad ip cksum 6470! -> 1705) 03:51:00.288114 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: 169.254.0.1 udp port 9 unreachable [icmp cksum ok] for 169.254.0.1.42408 > 169.254.0.1.9: udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) (ttl 255, id 20673, len 56, bad ip cksum 0! -> 1705) 03:51:00.327324 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1.40284 > fc00::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe4721] (len 12, hlim 64) 03:51:00.327333 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1.40284 > fc00::1.9: [bad udp cksum 20f8! -> f394] udp 4 [flowlabel 0xe4721] (len 12, hlim 64) 03:51:00.327345 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [bad icmp6 cksum 0! -> eaf5] (len 60, hlim 64) 03:51:00.327348 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) 03:51:00.362497 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) 03:51:00.362508 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) 03:51:00.401371 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.401383 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.442522 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.2.49011 > 169.254.0.2.9: [bad udp cksum a711! -> df16] udp 4 (ttl 64, id 34069, len 32, bad ip cksum c! -> a1b7) 03:51:00.442533 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.2.49011 > 169.254.0.2.9: [bad udp cksum 1e54! -> df16] udp 4 (ttl 64, id 34069, len 32, bad ip cksum 0! -> a1b7) 03:51:00.481306 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::2.22341 > fc00::2.9: [invalid udp cksum 0] udp 4 [flowlabel 0x86a38] (len 12, hlim 64) 03:51:00.481317 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::2.22341 > fc00::2.9: [bad udp cksum 22f8! -> 08db] udp 4 [flowlabel 0x86a38] (len 12, hlim 64) 03:51:00.516682 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 3a4d! -> 29f8) 03:51:00.516693 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 0! -> 29f8) 03:51:00.555189 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.555199 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.596494 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.3.6962 > 169.254.0.3.9: [bad udp cksum 5233! -> 1ebb] udp 4 (ttl 64, id 33725, len 32, bad ip cksum c! -> a30d) 03:51:00.596505 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.3.6962 > 169.254.0.3.9: [bad udp cksum 2054! -> 1ebb] udp 4 (ttl 64, id 33725, len 32, bad ip cksum 0! -> a30d) 03:51:00.635365 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::3.1515 > fc00::3.9: [invalid udp cksum 0] udp 4 [flowlabel 0xb23eb] (len 12, hlim 64) 03:51:00.635375 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::3.1515 > fc00::3.9: [bad udp cksum 24f8! -> 612c] udp 4 [flowlabel 0xb23eb] (len 12, hlim 64) 03:51:00.670263 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum d34c! -> 718d) 03:51:00.670274 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum 0! -> 718d) 03:51:00.708802 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.708812 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.750222 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.4.8306 > 169.254.0.4.9: [no udp cksum] udp 4 (ttl 64, id 3144, len 32, bad ip cksum c! -> 1a81) 03:51:00.750233 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.4.8306 > 169.254.0.4.9: [bad udp cksum 2254! -> dcb5] udp 4 (ttl 64, id 3144, len 32, bad ip cksum 0! -> 1a81) 03:51:00.788851 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::4.22370 > fc00::4.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe1b62] (len 12, hlim 64) 03:51:00.788862 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::4.22370 > fc00::4.9: [bad udp cksum 26f8! -> e7da] udp 4 [flowlabel 0xe1b62] (len 12, hlim 64) 03:51:00.823940 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:6e4b seq:0) [icmp cksum ok] (ttl 255, id 33247, len 84, bad ip cksum 75! -> e5c2) 03:51:00.823950 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:6e4b seq:0) [icmp cksum ok] (ttl 255, id 33247, len 84, bad ip cksum 0! -> e5c2) 03:51:00.862431 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::5 > fc00::5: icmp6: echo request (id:64d8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.862441 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::5 > fc00::5: icmp6: echo request (id:64d8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.903620 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.5.4451 > 169.254.0.5.9: [bad udp cksum 7173! -> e9c4] udp 4 (ttl 64, id 42160, len 32, bad ip cksum c! -> 8216) 03:51:00.903630 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.5.4451 > 169.254.0.5.9: [bad udp cksum 2454! -> e9c4] udp 4 (ttl 64, id 42160, len 32, bad ip cksum 0! -> 8216) 03:51:00.942665 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::5.30952 > fc00::5.9: [invalid udp cksum 0] udp 4 [flowlabel 0xa323b] (len 12, hlim 64) 03:51:00.942676 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::5.30952 > fc00::5.9: [bad udp cksum 28f8! -> 5fb9] udp 4 [flowlabel 0xa323b] (len 12, hlim 64) 03:51:00.977648 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:ae1e seq:0) [icmp cksum ok] (ttl 255, id 46971, len 84, bad ip cksum b546! -> b024) 03:51:00.977658 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:ae1e seq:0) [icmp cksum ok] (ttl 255, id 46971, len 84, bad ip cksum 0! -> b024) 03:51:01.016236 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::6 > fc00::6: icmp6: echo request (id:c048 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.016246 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::6 > fc00::6: icmp6: echo request (id:c048 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.057371 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.6.5135 > 169.254.0.6.9: [no udp cksum] udp 4 (ttl 64, id 33270, len 32, bad ip cksum c! -> a4ce) 03:51:01.057382 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.6.5135 > 169.254.0.6.9: [bad udp cksum 2654! -> 3bc2] udp 4 (ttl 64, id 33270, len 32, bad ip cksum 0! -> a4ce) 03:51:01.096062 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::6.27337 > fc00::6.9: [invalid udp cksum 0] udp 4 [flowlabel 0xc3527] (len 12, hlim 64) 03:51:01.096074 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::6.27337 > fc00::6.9: [bad udp cksum 2af8! -> 7cc7] udp 4 [flowlabel 0xc3527] (len 12, hlim 64) 03:51:01.131315 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.11 > 169.254.0.11: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum b6e0! -> 2bf1) 03:51:01.131328 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.11 > 169.254.0.21: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum 0! -> 2be7) 03:51:01.170199 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::11 > fc00::11: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.170211 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::11 > fc00::21: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.211543 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.11.36890 > 169.254.0.11.9: [no udp cksum] udp 4 (ttl 64, id 8754, len 32, bad ip cksum c! -> 489) 03:51:01.211557 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.11.36890 > 169.254.0.21.9: [bad udp cksum 3a54! -> 1c46] udp 4 (ttl 64, id 8754, len 32, bad ip cksum 0! -> 47f) 03:51:01.250243 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::11.4361 > fc00::11.9: [invalid udp cksum 0] udp 4 [flowlabel 0xaebc6] (len 12, hlim 64) 03:51:01.250256 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::11.4361 > fc00::21.9: [bad udp cksum 50f8! -> 1721] udp 4 [flowlabel 0xaebc6] (len 12, hlim 64) 03:51:01.285130 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.12 > 169.254.0.12: icmp: echo request (id:3bbd seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 1285! -> 5718) 03:51:01.285143 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:0420 seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 0! -> 570e) 03:51:01.323606 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::12 > fc00::12: icmp6: echo request (id:a80b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.323618 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:465d seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.364965 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.12.31911 > 169.254.0.12.9: [bad udp cksum 450a! -> 9759] udp 4 (ttl 64, id 7196, len 32, bad ip cksum c! -> a9d) 03:51:01.364977 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.22.60797 > 169.254.0.12.9: [bad udp cksum 3c54! -> b6e8] udp 4 (ttl 64, id 7196, len 32, bad ip cksum 0! -> a93) 03:51:01.403794 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::12.11324 > fc00::12.9: [invalid udp cksum 0] udp 4 [flowlabel 0x8d656] (len 12, hlim 64) 03:51:01.403807 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::22.58795 > fc00::12.9: [bad udp cksum 52f8! -> 724c] udp 4 [flowlabel 0x8d656] (len 12, hlim 64) 03:51:01.438840 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 400! -> 3100) 03:51:01.438850 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 0! -> 3100) 03:51:01.438862 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::23 > fc00::24: icmp6: echo request (id:2336 seq:0) [icmp6 cksum ok] (len 64, hlim 63) 03:51:01.477468 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.477479 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.477490 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.23 > 169.254.0.24: icmp: echo request (id:0707 seq:0) [icmp cksum ok] (DF) (ttl 63, id 54013, len 84, bad ip cksum 0! -> 1480) 03:51:01.518740 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.14.28185 > 169.254.0.14.9: [no udp cksum] udp 4 (ttl 64, id 21382, len 32, bad ip cksum c! -> d32e) 03:51:01.518750 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.14.28185 > 169.254.0.14.9: [bad udp cksum 3654! -> 2168] udp 4 (ttl 64, id 21382, len 32, bad ip cksum 0! -> d32e) 03:51:01.518763 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::23.53175 > fc00::24.9: [bad udp cksum 65f8! -> 5362] udp 4 (len 12, hlim 63) 03:51:01.557468 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::14.10402 > fc00::14.9: [invalid udp cksum 0] udp 4 [flowlabel 0xf6880] (len 12, hlim 64) 03:51:01.557479 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::14.10402 > fc00::14.9: [bad udp cksum 46f8! -> 8809] udp 4 [flowlabel 0xf6880] (len 12, hlim 64) 03:51:01.557490 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.23.57185 > 169.254.0.24.9: [bad udp cksum 4954! -> c5f6] udp 4 (DF) (ttl 63, id 13815, len 32, bad ip cksum 0! -> b1aa) 03:51:01.593954 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: ::1 > ::1: icmp6: echo request (id:545b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.593965 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: ::1 > ::1: icmp6: echo request (id:545b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.634513 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: ::1.46883 > ::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe6c75] (len 12, hlim 64) 03:51:01.634523 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: ::1.46883 > ::1.9: [bad udp cksum 1f00! -> 2e73] udp 4 [flowlabel 0xe6c75] (len 12, hlim 64) ==== run-bpf-13 ==== # show full logs cat pflog13.tcpdump ==== run-bpf-nothing ==== # rule with pflog13 is never used ! grep . pflog13.tcpdump ==== run-bpf-everything ==== # rule with pflog12 matches on every packet grep 'regress\.1/.* > 169.254.0.1:' pflog12.tcpdump 03:51:00.207783 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 3f05! -> d6a) 03:51:00.207796 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 0! -> d6a) 03:51:00.207806 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [bad icmp cksum 0! -> b6ce] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.207810 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.288110 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: 169.254.0.1 udp port 9 unreachable [bad icmp cksum 0! -> afca] for 169.254.0.1.42408 > 169.254.0.1.9: udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) (ttl 255, id 20673, len 56, bad ip cksum 6470! -> 1705) 03:51:00.288114 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: 169.254.0.1 udp port 9 unreachable [icmp cksum ok] for 169.254.0.1.42408 > 169.254.0.1.9: udp 4 (ttl 64, id 31271, len 32, bad ip cksum 0! -> aca7) (ttl 255, id 20673, len 56, bad ip cksum 0! -> 1705) grep 'regress\.1/.* > 169.254.0.2:' pflog12.tcpdump 03:51:00.362497 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) 03:51:00.362508 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) grep 'regress\.1/.* > 169.254.0.3:' pflog12.tcpdump 03:51:00.516682 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 3a4d! -> 29f8) 03:51:00.516693 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 0! -> 29f8) grep 'regress\.1/.* > 169.254.0.4:' pflog12.tcpdump 03:51:00.670263 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum d34c! -> 718d) 03:51:00.670274 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum 0! -> 718d) grep 'regress\.1/.* > 169.254.0.5:' pflog12.tcpdump 03:51:00.823940 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:6e4b seq:0) [icmp cksum ok] (ttl 255, id 33247, len 84, bad ip cksum 75! -> e5c2) 03:51:00.823950 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:6e4b seq:0) [icmp cksum ok] (ttl 255, id 33247, len 84, bad ip cksum 0! -> e5c2) grep 'regress\.1/.* > 169.254.0.6:' pflog12.tcpdump 03:51:00.977648 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:ae1e seq:0) [icmp cksum ok] (ttl 255, id 46971, len 84, bad ip cksum b546! -> b024) 03:51:00.977658 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:ae1e seq:0) [icmp cksum ok] (ttl 255, id 46971, len 84, bad ip cksum 0! -> b024) grep 'regress\.1/.* > 169.254.0.11:' pflog12.tcpdump 03:51:01.131315 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.11 > 169.254.0.11: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum b6e0! -> 2bf1) grep 'regress\.1/.* > 169.254.0.12:' pflog12.tcpdump 03:51:01.285130 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.12 > 169.254.0.12: icmp: echo request (id:3bbd seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 1285! -> 5718) 03:51:01.285143 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:0420 seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 0! -> 570e) grep 'regress\.1/.* > 169.254.0.14:' pflog12.tcpdump 03:51:01.438840 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 400! -> 3100) 03:51:01.438850 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 0! -> 3100) ==== run-bpf-everything6 ==== # rule with pflog12 matches on every packet grep 'regress\.1/.* > fc00::1:' pflog12.tcpdump 03:51:00.246627 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246636 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246647 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [bad icmp6 cksum 0! -> c85a] (len 64, hlim 64) 03:51:00.246652 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.327345 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [bad icmp6 cksum 0! -> eaf5] (len 60, hlim 64) 03:51:00.327348 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) grep 'regress\.1/.* > fc00::2:' pflog12.tcpdump 03:51:00.401371 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.401383 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::3:' pflog12.tcpdump 03:51:00.555189 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.555199 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::4:' pflog12.tcpdump 03:51:00.708802 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.708812 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::5:' pflog12.tcpdump 03:51:00.862431 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::5 > fc00::5: icmp6: echo request (id:64d8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.862441 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::5 > fc00::5: icmp6: echo request (id:64d8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::6:' pflog12.tcpdump 03:51:01.016236 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::6 > fc00::6: icmp6: echo request (id:c048 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.016246 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::6 > fc00::6: icmp6: echo request (id:c048 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::11:' pflog12.tcpdump 03:51:01.170199 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::11 > fc00::11: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::12:' pflog12.tcpdump 03:51:01.323606 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::12 > fc00::12: icmp6: echo request (id:a80b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.323618 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:465d seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::14:' pflog12.tcpdump 03:51:01.477468 rule 5.regress.1/(match) [uid 0, pid 3021] match out on lo11: fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:01.477479 rule 5.regress.1/(match) [uid 0, pid 3021] match in on lo11: fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) ==== run-bpf-all ==== # reply without keep state grep 'regress\.3/.* 169.254.0.1 > 169.254.0.1: icmp: echo request' pflog11.tcpdump 03:51:00.207786 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 3f05! -> d6a) 03:51:00.207797 rule 5.regress.3/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 23104, len 84, bad ip cksum 0! -> d6a) grep 'regress\.3/.* 169.254.0.1 > 169.254.0.1: icmp: echo reply' pflog11.tcpdump 03:51:00.207807 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [bad icmp cksum 0! -> b6ce] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) 03:51:00.207810 rule 5.regress.3/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:e337 seq:0) [icmp cksum ok] (ttl 255, id 7984, len 84, bad ip cksum 0! -> 487a) # no reply with keep state and without all grep 'regress\.4/.* 169.254.0.2 > 169.254.0.2: icmp: echo request' pflog11.tcpdump 03:51:00.362498 rule 5.regress.4/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) 03:51:00.362509 rule 5.regress.4/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:e906 seq:0) [icmp cksum ok] (ttl 255, id 42771, len 84, bad ip cksum 0! -> c094) ! grep 'regress\.4/.* 169.254.0.2 >169.254.0.2: icmp: echo reply' pflog11.tcpdump # reply with keep state and with all grep 'regress\.5/.* 169.254.0.3 > 169.254.0.3: icmp: echo request' pflog11.tcpdump 03:51:00.516684 rule 5.regress.5/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 3a4d! -> 29f8) 03:51:00.516694 rule 5.regress.5/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 15790, len 84, bad ip cksum 0! -> 29f8) # XXX anchor name missing grep '/.* 169.254.0.3 > 169.254.0.3: icmp: echo reply' pflog11.tcpdump 03:51:00.516702 rule 5/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:5adf seq:0) [bad icmp cksum 0! -> 8a13] (ttl 255, id 56364, len 84, bad ip cksum 0! -> 8b79) 03:51:00.516704 rule 5/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:5adf seq:0) [icmp cksum ok] (ttl 255, id 56364, len 84, bad ip cksum 0! -> 8b79) ==== run-bpf-all6 ==== # reply without keep state grep 'regress\.11/.* fc00::1 > fc00::1: icmp6: echo request' pflog11.tcpdump 03:51:00.246629 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.246637 rule 5.regress.11/(match) [uid 0, pid 3021] pass in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.11/.* fc00::1 > fc00::1: icmp6: echo reply' pflog11.tcpdump 03:51:00.246648 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [bad icmp6 cksum 0! -> c85a] (len 64, hlim 64) 03:51:00.246652 rule 5.regress.11/(match) [uid 0, pid 3021] pass in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:55b2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) # no reply with keep state and without all grep 'regress\.12/.* fc00::2 > fc00::2: icmp6: echo request' pflog11.tcpdump 03:51:00.401372 rule 5.regress.12/(match) [uid 0, pid 3021] pass out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.401384 rule 5.regress.12/(match) [uid 0, pid 3021] pass in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:b8ee seq:0) [icmp6 cksum ok] (len 64, hlim 64) ! grep 'regress\.12/.* fc00::2 > fc00::2: icmp6: echo reply' pflog11.tcpdump # reply with keep state and with all grep 'regress\.13/.* fc00::3 > fc00::3: icmp6: echo request' pflog11.tcpdump 03:51:00.555190 rule 5.regress.13/(match) [uid 0, pid 3021] pass out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 03:51:00.555200 rule 5.regress.13/(match) [uid 0, pid 3021] pass in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) # XXX anchor name missing grep '/.* fc00::3 > fc00::3: icmp6: echo reply' pflog11.tcpdump 03:51:00.555211 rule 5/(match) [uid 0, pid 3021] pass out on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:a785 seq:0) [bad icmp6 cksum 0! -> bc04] (len 64, hlim 64) 03:51:00.555214 rule 5/(match) [uid 0, pid 3021] pass in on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:a785 seq:0) [icmp6 cksum ok] (len 64, hlim 64) ==== run-bpf-user ==== # out rule creates log entry with uid grep 'regress\.6/.* pass out on lo11: \[uid 0, pid [0-9]*\] 169.254.0.4\.[0-9]* > 169.254.0.4\.9: .* udp [0-9]' pflog11.tcpdump 03:51:00.750224 rule 5.regress.6/(match) [uid 0, pid 3021] pass out on lo11: [uid 0, pid 96626] 169.254.0.4.8306 > 169.254.0.4.9: [no udp cksum] udp 4 (ttl 64, id 3144, len 32, bad ip cksum c! -> 1a81) # in rule has no uid at log entry grep 'regress\.6/.* pass in on lo11: 169.254.0.4\.[0-9]* > 169.254.0.4\.9: .* udp [0-9]' pflog11.tcpdump 03:51:00.750235 rule 5.regress.6/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.4.8306 > 169.254.0.4.9: [bad udp cksum 2254! -> dcb5] udp 4 (ttl 64, id 3144, len 32, bad ip cksum 0! -> 1a81) # icmp has no uid at log entry grep 'regress\.6/.* pass out on lo11: 169.254.0.4 > 169.254.0\.4: icmp: echo request' pflog11.tcpdump 03:51:00.670264 rule 5.regress.6/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:b35e seq:0) [icmp cksum ok] (ttl 255, id 62998, len 84, bad ip cksum d34c! -> 718d) # rule without user has no uid in log entry grep 'regress\.3/.* pass out on lo11: 169.254.0.1\.[0-9]* > 169.254.0.1\.9: .* udp [0-9]' pflog11.tcpdump 03:51:00.288091 rule 5.regress.3/(match) [uid 0, pid 3021] pass out on lo11: 169.254.0.1.42408 > 169.254.0.1.9: [bad udp cksum 8d03! -> ac30] udp 4 (ttl 64, id 31271, len 32, bad ip cksum c! -> aca7) ==== run-bpf-user6 ==== # out rule creates log entry with uid grep 'regress\.14/.* pass out on lo11: \[uid 0, pid [0-9]*\] fc00::4\.[0-9]* > fc00::4\.9:.* udp [0-9]' pflog11.tcpdump 03:51:00.788852 rule 5.regress.14/(match) [uid 0, pid 3021] pass out on lo11: [uid 0, pid 74697] fc00::4.22370 > fc00::4.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe1b62] (len 12, hlim 64) # in rule has no uid at log entry grep 'regress\.14/.* pass in on lo11: fc00::4\.[0-9]* > fc00::4\.9:.* udp [0-9]' pflog11.tcpdump 03:51:00.788865 rule 5.regress.14/(match) [uid 0, pid 3021] pass in on lo11: fc00::4.22370 > fc00::4.9: [bad udp cksum 26f8! -> e7da] udp 4 [flowlabel 0xe1b62] (len 12, hlim 64) # icmp has no uid at log entry grep 'regress\.14/.* pass out on lo11: fc00::4 > fc00::4: icmp6: echo request' pflog11.tcpdump 03:51:00.708803 rule 5.regress.14/(match) [uid 0, pid 3021] pass out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:1264 seq:0) [icmp6 cksum ok] (len 64, hlim 64) # rule without user has no uid in log entry grep 'regress\.11/.* pass out on lo11: fc00::1\.[0-9]* > fc00::1\.9:.* udp [0-9]' pflog11.tcpdump 03:51:00.327325 rule 5.regress.11/(match) [uid 0, pid 3021] pass out on lo11: fc00::1.40284 > fc00::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe4721] (len 12, hlim 64) ==== run-bpf-matches ==== # XXX The log matches keyword seems to be totally broken. # pf_log_matches() is never called. Investigate later. DISABLED ==== run-bpf-rdr ==== # loopback input logs redirected packet grep 'regress\.2/.* pass in .*:.* 169.254.0.11 > 169.254.0.21: icmp: echo request' pflog11.tcpdump 03:51:01.131329 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.11 > 169.254.0.21: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum 0! -> 2be7) # loopback output redirects and logs original packet grep 'regress\.18/.* pass out .*:.* 169.254.0.11 > 169.254.0.11: icmp: echo request' pflog11.tcpdump 03:51:01.131317 rule 5.regress.18/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.11:19765, dst 169.254.0.21:8] 169.254.0.11 > 169.254.0.11: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum b6e0! -> 2bf1) ==== run-bpf-rdr6 ==== # loopback input logs redirected packet grep 'regress\.10/.* pass in .*:.* fc00::11 > fc00::21: icmp6: echo request' pflog11.tcpdump 03:51:01.170212 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::11 > fc00::21: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) # loopback output redirects and logs original packet grep 'regress\.20/.* pass out .*:.* fc00::11 > fc00::11: icmp6: echo request' pflog11.tcpdump 03:51:01.170200 rule 5.regress.20/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::11:34512, dst fc00::21:128] fc00::11 > fc00::11: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) ==== run-bpf-nat ==== # loopback input logs redirected packet grep 'regress\.2/.* pass in .*:.* 169.254.0.22 > 169.254.0.12: icmp: echo request' pflog11.tcpdump 03:51:01.285144 rule 5.regress.2/(match) [uid 0, pid 3021] pass in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:0420 seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 0! -> 570e) # loopback output redirects and logs original packet grep 'regress\.19/.* pass out .*:.* 169.254.0.12 > 169.254.0.12: icmp: echo request' pflog11.tcpdump 03:51:01.285133 rule 5.regress.19/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.22:1056, dst 169.254.0.12:8] 169.254.0.12 > 169.254.0.12: icmp: echo request (id:3bbd seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 1285! -> 5718) ==== run-bpf-nat6 ==== # loopback input logs redirected packet grep 'regress\.10/.* pass in .*:.* fc00::22 > fc00::12: icmp6: echo request' pflog11.tcpdump 03:51:01.323619 rule 5.regress.10/(match) [uid 0, pid 3021] pass in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:465d seq:0) [icmp6 cksum ok] (len 64, hlim 64) # loopback output redirects and logs original packet grep 'regress\.21/.* pass out .*:.* fc00::12 > fc00::12: icmp6: echo request' pflog11.tcpdump 03:51:01.323609 rule 5.regress.21/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::22:18013, dst fc00::12:128] fc00::12 > fc00::12: icmp6: echo request (id:a80b seq:0) [icmp6 cksum ok] (len 64, hlim 64) ==== run-bpf-af ==== # pf in rule logs original IPv4 packet grep 'regress\.22/.* pass in .*:.* 169.254.0.14 > 169.254.0.14: icmp: echo request' pflog11.tcpdump 03:51:01.438852 rule 5.regress.22/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src fc00::23:9014, dst fc00::24:128] 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 0! -> 3100) ==== run-bpf-af6 ==== # pf in rule logs original IPv6 packet grep 'regress\.23/.* pass in .*:.* fc00::14 > fc00::14: icmp6: echo request' pflog11.tcpdump 03:51:01.477481 rule 5.regress.23/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src 169.254.0.23:1799, dst 169.254.0.24:8] fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) ==== run-bpf-rewrite ==== # rdr-to address has been rewritten grep '\[rewritten: src 169.254.0.11:[0-9]*, dst 169.254.0.21:[0-9]*\] 169.254.0.11 > 169.254.0.11' pflog11.tcpdump 03:51:01.131317 rule 5.regress.18/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.11:19765, dst 169.254.0.21:8] 169.254.0.11 > 169.254.0.11: icmp: echo request (id:4d35 seq:0) [icmp cksum ok] (ttl 255, id 15269, len 84, bad ip cksum b6e0! -> 2bf1) # nat-to address has been rewritten grep '\[rewritten: src 169.254.0.22:[0-9]*, dst 169.254.0.12:[0-9]*\] 169.254.0.12 > 169.254.0.12' pflog11.tcpdump 03:51:01.285133 rule 5.regress.19/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src 169.254.0.22:1056, dst 169.254.0.12:8] 169.254.0.12 > 169.254.0.12: icmp: echo request (id:3bbd seq:0) [icmp cksum ok] (ttl 255, id 4220, len 84, bad ip cksum 1285! -> 5718) # af-to address has been rewritten grep '\[rewritten: src fc00::23:[0-9]*, dst fc00::24:[0-9]*\] 169.254.0.14 > 169.254.0.14' pflog11.tcpdump 03:51:01.438852 rule 5.regress.22/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src fc00::23:9014, dst fc00::24:128] 169.254.0.14 > 169.254.0.14: icmp: echo request (id:02a7 seq:0) [icmp cksum ok] (ttl 255, id 13968, len 84, bad ip cksum 0! -> 3100) ==== run-bpf-rewrite6 ==== # rdr-to address has been rewritten grep '\[rewritten: src fc00::11:[0-9]*, dst fc00::21:[0-9]*\] fc00::11 > fc00::11' pflog11.tcpdump 03:51:01.170200 rule 5.regress.20/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::11:34512, dst fc00::21:128] fc00::11 > fc00::11: icmp6: echo request (id:86d0 seq:0) [icmp6 cksum ok] (len 64, hlim 64) # nat-to address has been rewritten grep '\[rewritten: src fc00::22:[0-9]*, dst fc00::12:[0-9]*\] fc00::12 > fc00::12' pflog11.tcpdump 03:51:01.323609 rule 5.regress.21/(match) [uid 0, pid 3021] pass out on lo11: [rewritten: src fc00::22:18013, dst fc00::12:128] fc00::12 > fc00::12: icmp6: echo request (id:a80b seq:0) [icmp6 cksum ok] (len 64, hlim 64) # af-to address has been rewritten grep '\[rewritten: src 169.254.0.23:[0-9]*, dst 169.254.0.24:[0-9]*\] fc00::14 > fc00::14' pflog11.tcpdump 03:51:01.477481 rule 5.regress.23/(match) [uid 0, pid 3021] pass in on lo11: [rewritten: src 169.254.0.23:1799, dst 169.254.0.24:8] fc00::14 > fc00::14: icmp6: echo request (id:4def seq:0) [icmp6 cksum ok] (len 64, hlim 64) ==== unconfig ==== # Destroy interfaces. /sbin/ifconfig lo11 rdomain 11 /sbin/ifconfig lo11 inet 169.254.0.1 delete /sbin/ifconfig lo11 inet6 fc00::1 delete /sbin/ifconfig lo11 inet 169.254.0.2 delete /sbin/ifconfig lo11 inet6 fc00::2 delete /sbin/ifconfig lo11 inet 169.254.0.3 delete /sbin/ifconfig lo11 inet6 fc00::3 delete /sbin/ifconfig lo11 inet 169.254.0.4 delete /sbin/ifconfig lo11 inet6 fc00::4 delete /sbin/ifconfig lo11 inet 169.254.0.5 delete /sbin/ifconfig lo11 inet6 fc00::5 delete /sbin/ifconfig lo11 inet 169.254.0.6 delete /sbin/ifconfig lo11 inet6 fc00::6 delete /sbin/ifconfig lo11 inet 169.254.0.11 delete /sbin/ifconfig lo11 inet6 fc00::11 delete /sbin/ifconfig lo11 inet 169.254.0.12 delete /sbin/ifconfig lo11 inet6 fc00::12 delete /sbin/ifconfig lo11 inet 169.254.0.14 delete /sbin/ifconfig lo11 inet6 fc00::14 delete /sbin/ifconfig lo11 inet 169.254.0.21 delete /sbin/ifconfig lo11 inet6 fc00::21 delete /sbin/ifconfig lo11 inet 169.254.0.22 delete /sbin/ifconfig lo11 inet6 fc00::22 delete /sbin/ifconfig lo11 inet 169.254.0.23 delete /sbin/ifconfig lo11 inet6 fc00::23 delete /sbin/ifconfig lo11 inet 169.254.0.24 delete /sbin/ifconfig lo11 inet6 fc00::24 delete /sbin/ifconfig lo11 inet 127.0.0.1 delete /sbin/ifconfig lo11 inet6 ::1 delete /sbin/ifconfig pflog11 destroy /sbin/ifconfig pflog12 destroy /sbin/ifconfig pflog13 destroy /sbin/ifconfig lo11 destroy rm -f stamp-ifconfig PASS sys/net/pflog Duration 0m09.45s