START sys/net/pflog 2024-01-05T10:50:48Z ==== 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.109 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.109/0.109/0.109/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.124 ms --- fc00::1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.124/0.124/0.124/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.109 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.109/0.109/0.109/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.122 ms --- fc00::2 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.122/0.122/0.122/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.100 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.100/0.100/0.100/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.121 ms --- fc00::3 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.121/0.121/0.121/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.098 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.098/0.098/0.098/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.122 ms --- fc00::4 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.122/0.122/0.122/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.099 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.099/0.099/0.099/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.128 ms --- fc00::5 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.128/0.128/0.128/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.097 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.097/0.097/0.097/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.119 ms --- fc00::6 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.119/0.119/0.119/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.103 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.103/0.103/0.103/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.128 ms --- fc00::11 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.128/0.128/0.128/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.102 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.102/0.102/0.102/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.124 ms --- fc00::12 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.124/0.124/0.124/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.141 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.141/0.141/0.141/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.148 ms --- fc00::14 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.148/0.148/0.148/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.119 ms --- ::1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.119/0.119/0.119/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 0 packets dropped by kernel 80 packets received by filter 0 packets dropped by kernel 88 packets received by filter 0 packets dropped by kernel rm -f stamp-bpf* # show full logs cat pflog11.tcpdump 11:50:53.343730 rule 5.regress.3/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum f4ab! -> 9f5f) 11:50:53.343753 rule 5.regress.3/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum 0! -> 9f5f) 11:50:53.343770 rule 5.regress.3/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [bad icmp cksum 0! -> 618c] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.343778 rule 5.regress.3/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.453221 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453245 rule 5.regress.11/(match) [uid 0, pid 42189] pass in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453268 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [bad icmp6 cksum 0! -> af2d] (len 64, hlim 64) 11:50:53.453276 rule 5.regress.11/(match) [uid 0, pid 42189] pass in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.570114 rule 5.regress.3/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.1.44164 > 169.254.0.1.9: [bad udp cksum 2f18! -> 29d0] udp 4 (ttl 64, id 1410, len 32, bad ip cksum c! -> 214d) 11:50:53.570144 rule 5.regress.3/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.1.44164 > 169.254.0.1.9: [bad udp cksum 541c! -> 29d0] udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) 11:50:53.570166 rule 5.regress.3/(match) [uid 0, pid 42189] 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! -> 1d94] for 169.254.0.1.44164 > 169.254.0.1.9: udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) (ttl 255, id 42508, len 56, bad ip cksum 8ccc! -> c1b9) 11:50:53.570175 rule 5.regress.3/(match) [uid 0, pid 42189] 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.44164 > 169.254.0.1.9: udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) (ttl 255, id 42508, len 56, bad ip cksum 0! -> c1b9) 11:50:53.679107 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1.19392 > fc00::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0x8084a] (len 12, hlim 64) 11:50:53.679137 rule 5.regress.11/(match) [uid 0, pid 42189] pass in on lo11: fc00::1.19392 > fc00::1.9: [bad udp cksum f820! -> e68f] udp 4 [flowlabel 0x8084a] (len 12, hlim 64) 11:50:53.679161 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [bad icmp6 cksum 0! -> 7b6f] (len 60, hlim 64) 11:50:53.679169 rule 5.regress.11/(match) [uid 0, pid 42189] pass in on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) 11:50:53.779305 rule 5.regress.4/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) 11:50:53.779341 rule 5.regress.4/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) 11:50:53.888823 rule 5.regress.12/(match) [uid 0, pid 42189] pass out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.888851 rule 5.regress.12/(match) [uid 0, pid 42189] pass in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.006719 rule 5.regress.4/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.2.43146 > 169.254.0.2.9: [bad udp cksum 1767! -> 2dc8] udp 4 (ttl 64, id 8920, len 32, bad ip cksum c! -> 3f5) 11:50:54.006754 rule 5.regress.4/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.2.43146 > 169.254.0.2.9: [bad udp cksum 541e! -> 2dc8] udp 4 (ttl 64, id 8920, len 32, bad ip cksum 0! -> 3f5) 11:50:54.117194 rule 5.regress.12/(match) [uid 0, pid 42189] pass out on lo11: fc00::2.44797 > fc00::2.9: [invalid udp cksum 0] udp 4 [flowlabel 0x94f3d] (len 12, hlim 64) 11:50:54.117227 rule 5.regress.12/(match) [uid 0, pid 42189] pass in on lo11: fc00::2.44797 > fc00::2.9: [bad udp cksum f822! -> 8350] udp 4 [flowlabel 0x94f3d] (len 12, hlim 64) 11:50:54.217577 rule 5.regress.5/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum f52d! -> 6890) 11:50:54.217604 rule 5.regress.5/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum 0! -> 6890) 11:50:54.217621 rule 5/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:2b22 seq:0) [bad icmp cksum 0! -> e539] (ttl 255, id 31849, len 84, bad ip cksum 0! -> eb3c) 11:50:54.217626 rule 5/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 31849, len 84, bad ip cksum 0! -> eb3c) 11:50:54.327423 rule 5.regress.13/(match) [uid 0, pid 42189] pass out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.327450 rule 5.regress.13/(match) [uid 0, pid 42189] pass in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.327473 rule 5/(match) [uid 0, pid 42189] pass out on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:f09f seq:0) [bad icmp6 cksum 0! -> 55ec] (len 64, hlim 64) 11:50:54.327479 rule 5/(match) [uid 0, pid 42189] pass in on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.444033 rule 5.regress.5/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.3.20721 > 169.254.0.3.9: [bad udp cksum aef3! -> 855f] udp 4 (ttl 64, id 22184, len 32, bad ip cksum c! -> d022) 11:50:54.444065 rule 5.regress.5/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.3.20721 > 169.254.0.3.9: [bad udp cksum 5420! -> 855f] udp 4 (ttl 64, id 22184, len 32, bad ip cksum 0! -> d022) 11:50:54.444087 rule 5/(match) [uid 0, pid 42189] 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! -> 27f9] for 169.254.0.3.20721 > 169.254.0.3.9: udp 4 (ttl 64, id 22184, len 32, bad ip cksum 0! -> d022) (ttl 255, id 58984, len 56, bad ip cksum 0! -> 8159) 11:50:54.444092 rule 5/(match) [uid 0, pid 42189] 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.20721 > 169.254.0.3.9: udp 4 (ttl 64, id 22184, len 32, bad ip cksum 0! -> d022) (ttl 255, id 58984, len 56, bad ip cksum 0! -> 8159) 11:50:54.553097 rule 5.regress.13/(match) [uid 0, pid 42189] pass out on lo11: fc00::3.47151 > fc00::3.9: [invalid udp cksum 0] udp 4 [flowlabel 0xcb2f6] (len 12, hlim 64) 11:50:54.553129 rule 5.regress.13/(match) [uid 0, pid 42189] pass in on lo11: fc00::3.47151 > fc00::3.9: [bad udp cksum f824! -> 7a1c] udp 4 [flowlabel 0xcb2f6] (len 12, hlim 64) 11:50:54.553150 rule 5/(match) [uid 0, pid 42189] pass out on lo11: fc00::3 > fc00::3: icmp6: fc00::3 udp port 9 unreachable [bad icmp6 cksum 0! -> 6443] (len 60, hlim 64) 11:50:54.553156 rule 5/(match) [uid 0, pid 42189] pass in on lo11: fc00::3 > fc00::3: icmp6: fc00::3 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) 11:50:54.651807 rule 5.regress.6/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum f0f5! -> 101) 11:50:54.651833 rule 5.regress.6/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum 0! -> 101) 11:50:54.761155 rule 5.regress.14/(match) [uid 0, pid 42189] pass out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.761183 rule 5.regress.14/(match) [uid 0, pid 42189] pass in on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.878126 rule 5.regress.6/(match) [uid 0, pid 42189] pass out on lo11: [uid 0, pid 46563] 169.254.0.4.28175 > 169.254.0.4.9: [no udp cksum] udp 4 (ttl 64, id 53042, len 32, bad ip cksum c! -> 5796) 11:50:54.878160 rule 5.regress.6/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.4.28175 > 169.254.0.4.9: [bad udp cksum 5422! -> 683f] udp 4 (ttl 64, id 53042, len 32, bad ip cksum 0! -> 5796) 11:50:54.987290 rule 5.regress.14/(match) [uid 0, pid 42189] pass out on lo11: [uid 0, pid 3264] fc00::4.14127 > fc00::4.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe8f10] (len 12, hlim 64) 11:50:54.987326 rule 5.regress.14/(match) [uid 0, pid 42189] pass in on lo11: fc00::4.14127 > fc00::4.9: [bad udp cksum f826! -> fb1a] udp 4 [flowlabel 0xe8f10] (len 12, hlim 64) 11:50:55.961650 rule 5.regress.18/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.11:43093, dst 169.254.0.21:8] 169.254.0.11 > 169.254.0.11: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum ede9! -> 2c6c) 11:50:55.961680 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.11 > 169.254.0.21: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum 0! -> 2c62) 11:50:56.070605 rule 5.regress.20/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::11:41108, dst fc00::21:128] fc00::11 > fc00::11: icmp6: echo request (id:a094 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.070638 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::11 > fc00::21: icmp6: echo request (id:a094 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.188166 rule 5.regress.18/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.11:47050, dst 169.254.0.21:9] 169.254.0.11.47050 > 169.254.0.11.9: [bad udp cksum a1c0! -> 1e76] udp 4 (ttl 64, id 50012, len 32, bad ip cksum c! -> 635e) 11:50:56.188203 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.11.47050 > 169.254.0.21.9: [bad udp cksum 543a! -> 1e6c] udp 4 (ttl 64, id 50012, len 32, bad ip cksum 0! -> 6354) 11:50:56.297419 rule 5.regress.20/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::11:28641, dst fc00::21:9] fc00::11.28641 > fc00::11.9: [invalid udp cksum 0] udp 4 [flowlabel 0xa02ac] (len 12, hlim 64) 11:50:56.297456 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::11.28641 > fc00::21.9: [bad udp cksum f850! -> c23e] udp 4 [flowlabel 0xa02ac] (len 12, hlim 64) 11:50:56.397257 rule 5.regress.19/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.22:62437, dst 169.254.0.12:8] 169.254.0.12 > 169.254.0.12: icmp: echo request (id:ce85 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum f1bd! -> e652) 11:50:56.397285 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:f3e5 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum 0! -> e648) 11:50:56.506314 rule 5.regress.21/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::22:6077, dst fc00::12:128] fc00::12 > fc00::12: icmp6: echo request (id:e1e7 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.506345 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:17bd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.623487 rule 5.regress.19/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.22:61585, dst 169.254.0.12:9] 169.254.0.12.30353 > 169.254.0.12.9: [bad udp cksum 2980! -> 5fad] udp 4 (ttl 64, id 58547, len 32, bad ip cksum c! -> 4205) 11:50:56.623524 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.22.61585 > 169.254.0.12.9: [bad udp cksum 543c! -> e5a2] udp 4 (ttl 64, id 58547, len 32, bad ip cksum 0! -> 41fb) 11:50:56.733038 rule 5.regress.21/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::22:61448, dst fc00::12:9] fc00::12.24246 > fc00::12.9: [invalid udp cksum 0] udp 4 [flowlabel 0xb1520] (len 12, hlim 64) 11:50:56.733076 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::22.61448 > fc00::12.9: [bad udp cksum f852! -> 4215] udp 4 [flowlabel 0xb1520] (len 12, hlim 64) 11:50:56.832939 rule 5.regress.2/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) 11:50:56.832970 rule 5.regress.22/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src fc00::23:57986, dst fc00::24:128] 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) 11:50:56.832993 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::23 > fc00::24: icmp6: echo request (id:e282 seq:0) [icmp6 cksum ok] (len 64, hlim 63) 11:50:56.942528 rule 5.regress.10/(match) [uid 0, pid 42189] pass out on lo11: fc00::14 > fc00::14: icmp6: echo request (id:044b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.942560 rule 5.regress.23/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src 169.254.0.23:41611, dst 169.254.0.24:8] fc00::14 > fc00::14: icmp6: echo request (id:044b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.942580 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.23 > 169.254.0.24: icmp: echo request (id:a28b seq:0) [icmp cksum ok] (DF) (ttl 63, id 19192, len 84, bad ip cksum 0! -> 9c85) 11:50:57.059965 rule 5.regress.2/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.14.6756 > 169.254.0.14.9: [bad udp cksum 178f! -> bbd6] udp 4 (ttl 64, id 25610, len 32, bad ip cksum c! -> c2aa) 11:50:57.060001 rule 5.regress.22/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src fc00::23:52383, dst fc00::24:9] 169.254.0.14.6756 > 169.254.0.14.9: [bad udp cksum 5436! -> bbd6] udp 4 (ttl 64, id 25610, len 32, bad ip cksum 0! -> c2aa) 11:50:57.060025 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::23.52383 > fc00::24.9: [bad udp cksum f865! -> 656b] udp 4 (len 12, hlim 63) 11:50:57.169614 rule 5.regress.10/(match) [uid 0, pid 42189] pass out on lo11: fc00::14.33789 > fc00::14.9: [invalid udp cksum 0] udp 4 [flowlabel 0xac3f8] (len 12, hlim 64) 11:50:57.169648 rule 5.regress.23/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src 169.254.0.23:65518, dst 169.254.0.24:9] fc00::14.33789 > fc00::14.9: [bad udp cksum f846! -> ae2c] udp 4 [flowlabel 0xac3f8] (len 12, hlim 64) 11:50:57.169666 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.23.65518 > 169.254.0.24.9: [bad udp cksum 5449! -> d638] udp 4 (DF) (ttl 63, id 12540, len 32, bad ip cksum 0! -> b6a5) 11:50:57.272454 rule 5.regress.10/(match) [uid 0, pid 42189] pass out on lo11: ::1 > ::1: icmp6: echo request (id:89e8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:57.272482 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: ::1 > ::1: icmp6: echo request (id:89e8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:57.387222 rule 5.regress.10/(match) [uid 0, pid 42189] pass out on lo11: ::1.31570 > ::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xc3899] (len 12, hlim 64) 11:50:57.387257 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: ::1.31570 > ::1.9: [bad udp cksum 001f! -> aeff] udp 4 [flowlabel 0xc3899] (len 12, hlim 64) ==== run-bpf-12 ==== # show full logs cat pflog12.tcpdump 11:50:53.343725 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum f4ab! -> 9f5f) 11:50:53.343751 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum 0! -> 9f5f) 11:50:53.343769 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [bad icmp cksum 0! -> 618c] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.343777 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.453217 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453243 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453266 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [bad icmp6 cksum 0! -> af2d] (len 64, hlim 64) 11:50:53.453275 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.570110 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.1.44164 > 169.254.0.1.9: [bad udp cksum 2f18! -> 29d0] udp 4 (ttl 64, id 1410, len 32, bad ip cksum c! -> 214d) 11:50:53.570142 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.1.44164 > 169.254.0.1.9: [bad udp cksum 541c! -> 29d0] udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) 11:50:53.570165 rule 5.regress.1/(match) [uid 0, pid 42189] 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! -> 1d94] for 169.254.0.1.44164 > 169.254.0.1.9: udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) (ttl 255, id 42508, len 56, bad ip cksum 8ccc! -> c1b9) 11:50:53.570173 rule 5.regress.1/(match) [uid 0, pid 42189] 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.44164 > 169.254.0.1.9: udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) (ttl 255, id 42508, len 56, bad ip cksum 0! -> c1b9) 11:50:53.679102 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1.19392 > fc00::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0x8084a] (len 12, hlim 64) 11:50:53.679135 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::1.19392 > fc00::1.9: [bad udp cksum f820! -> e68f] udp 4 [flowlabel 0x8084a] (len 12, hlim 64) 11:50:53.679159 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [bad icmp6 cksum 0! -> 7b6f] (len 60, hlim 64) 11:50:53.679168 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [icmp6 cksum ok] (len 60, hlim 64) 11:50:53.779300 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) 11:50:53.779339 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) 11:50:53.888819 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.888849 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.006714 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.2.43146 > 169.254.0.2.9: [bad udp cksum 1767! -> 2dc8] udp 4 (ttl 64, id 8920, len 32, bad ip cksum c! -> 3f5) 11:50:54.006752 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.2.43146 > 169.254.0.2.9: [bad udp cksum 541e! -> 2dc8] udp 4 (ttl 64, id 8920, len 32, bad ip cksum 0! -> 3f5) 11:50:54.117190 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::2.44797 > fc00::2.9: [invalid udp cksum 0] udp 4 [flowlabel 0x94f3d] (len 12, hlim 64) 11:50:54.117225 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::2.44797 > fc00::2.9: [bad udp cksum f822! -> 8350] udp 4 [flowlabel 0x94f3d] (len 12, hlim 64) 11:50:54.217573 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum f52d! -> 6890) 11:50:54.217602 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum 0! -> 6890) 11:50:54.327419 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.327449 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.444028 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.3.20721 > 169.254.0.3.9: [bad udp cksum aef3! -> 855f] udp 4 (ttl 64, id 22184, len 32, bad ip cksum c! -> d022) 11:50:54.444064 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.3.20721 > 169.254.0.3.9: [bad udp cksum 5420! -> 855f] udp 4 (ttl 64, id 22184, len 32, bad ip cksum 0! -> d022) 11:50:54.553093 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::3.47151 > fc00::3.9: [invalid udp cksum 0] udp 4 [flowlabel 0xcb2f6] (len 12, hlim 64) 11:50:54.553127 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::3.47151 > fc00::3.9: [bad udp cksum f824! -> 7a1c] udp 4 [flowlabel 0xcb2f6] (len 12, hlim 64) 11:50:54.651802 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum f0f5! -> 101) 11:50:54.651831 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum 0! -> 101) 11:50:54.761150 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.761181 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.878121 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.4.28175 > 169.254.0.4.9: [no udp cksum] udp 4 (ttl 64, id 53042, len 32, bad ip cksum c! -> 5796) 11:50:54.878157 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.4.28175 > 169.254.0.4.9: [bad udp cksum 5422! -> 683f] udp 4 (ttl 64, id 53042, len 32, bad ip cksum 0! -> 5796) 11:50:54.987286 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::4.14127 > fc00::4.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe8f10] (len 12, hlim 64) 11:50:54.987322 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::4.14127 > fc00::4.9: [bad udp cksum f826! -> fb1a] udp 4 [flowlabel 0xe8f10] (len 12, hlim 64) 11:50:55.086950 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:585e seq:0) [icmp cksum ok] (ttl 255, id 26477, len 84, bad ip cksum 81! -> 35) 11:50:55.086979 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:585e seq:0) [icmp cksum ok] (ttl 255, id 26477, len 84, bad ip cksum 0! -> 35) 11:50:55.198121 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::5 > fc00::5: icmp6: echo request (id:cb7a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:55.198151 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::5 > fc00::5: icmp6: echo request (id:cb7a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:55.317250 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.5.45679 > 169.254.0.5.9: [bad udp cksum 359e! -> 23dd] udp 4 (ttl 64, id 51894, len 32, bad ip cksum c! -> 5c10) 11:50:55.317286 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.5.45679 > 169.254.0.5.9: [bad udp cksum 5424! -> 23dd] udp 4 (ttl 64, id 51894, len 32, bad ip cksum 0! -> 5c10) 11:50:55.427326 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::5.9718 > fc00::5.9: [invalid udp cksum 0] udp 4 [flowlabel 0xcc3e7] (len 12, hlim 64) 11:50:55.427361 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::5.9718 > fc00::5.9: [bad udp cksum f828! -> 0c52] udp 4 [flowlabel 0xcc3e7] (len 12, hlim 64) 11:50:55.526735 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:613d seq:0) [icmp cksum ok] (ttl 255, id 20854, len 84, bad ip cksum 15a! -> 162a) 11:50:55.526765 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:613d seq:0) [icmp cksum ok] (ttl 255, id 20854, len 84, bad ip cksum 0! -> 162a) 11:50:55.636197 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::6 > fc00::6: icmp6: echo request (id:19e2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:55.636226 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::6 > fc00::6: icmp6: echo request (id:19e2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:55.752289 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.6.21916 > 169.254.0.6.9: [bad udp cksum 2e5a! -> 80ae] udp 4 (ttl 64, id 11769, len 32, bad ip cksum c! -> f8cb) 11:50:55.752324 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.6.21916 > 169.254.0.6.9: [bad udp cksum 5426! -> 80ae] udp 4 (ttl 64, id 11769, len 32, bad ip cksum 0! -> f8cb) 11:50:55.862104 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::6.33022 > fc00::6.9: [invalid udp cksum 0] udp 4 [flowlabel 0xbfc04] (len 12, hlim 64) 11:50:55.862144 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::6.33022 > fc00::6.9: [bad udp cksum f82a! -> b147] udp 4 [flowlabel 0xbfc04] (len 12, hlim 64) 11:50:55.961645 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.11 > 169.254.0.11: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum ede9! -> 2c6c) 11:50:55.961679 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.11 > 169.254.0.21: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum 0! -> 2c62) 11:50:56.070601 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::11 > fc00::11: icmp6: echo request (id:a094 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.070636 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::11 > fc00::21: icmp6: echo request (id:a094 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.188160 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.11.47050 > 169.254.0.11.9: [bad udp cksum a1c0! -> 1e76] udp 4 (ttl 64, id 50012, len 32, bad ip cksum c! -> 635e) 11:50:56.188201 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.11.47050 > 169.254.0.21.9: [bad udp cksum 543a! -> 1e6c] udp 4 (ttl 64, id 50012, len 32, bad ip cksum 0! -> 6354) 11:50:56.297414 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::11.28641 > fc00::11.9: [invalid udp cksum 0] udp 4 [flowlabel 0xa02ac] (len 12, hlim 64) 11:50:56.297455 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::11.28641 > fc00::21.9: [bad udp cksum f850! -> c23e] udp 4 [flowlabel 0xa02ac] (len 12, hlim 64) 11:50:56.397250 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.12 > 169.254.0.12: icmp: echo request (id:ce85 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum f1bd! -> e652) 11:50:56.397284 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:f3e5 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum 0! -> e648) 11:50:56.506308 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::12 > fc00::12: icmp6: echo request (id:e1e7 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.506343 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:17bd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.623480 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.12.30353 > 169.254.0.12.9: [bad udp cksum 2980! -> 5fad] udp 4 (ttl 64, id 58547, len 32, bad ip cksum c! -> 4205) 11:50:56.623522 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.22.61585 > 169.254.0.12.9: [bad udp cksum 543c! -> e5a2] udp 4 (ttl 64, id 58547, len 32, bad ip cksum 0! -> 41fb) 11:50:56.733031 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::12.24246 > fc00::12.9: [invalid udp cksum 0] udp 4 [flowlabel 0xb1520] (len 12, hlim 64) 11:50:56.733074 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::22.61448 > fc00::12.9: [bad udp cksum f852! -> 4215] udp 4 [flowlabel 0xb1520] (len 12, hlim 64) 11:50:56.832934 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) 11:50:56.832965 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) 11:50:56.832991 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::23 > fc00::24: icmp6: echo request (id:e282 seq:0) [icmp6 cksum ok] (len 64, hlim 63) 11:50:56.942525 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::14 > fc00::14: icmp6: echo request (id:044b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.942556 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::14 > fc00::14: icmp6: echo request (id:044b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.942577 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.23 > 169.254.0.24: icmp: echo request (id:a28b seq:0) [icmp cksum ok] (DF) (ttl 63, id 19192, len 84, bad ip cksum 0! -> 9c85) 11:50:57.059960 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.14.6756 > 169.254.0.14.9: [bad udp cksum 178f! -> bbd6] udp 4 (ttl 64, id 25610, len 32, bad ip cksum c! -> c2aa) 11:50:57.059997 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.14.6756 > 169.254.0.14.9: [bad udp cksum 5436! -> bbd6] udp 4 (ttl 64, id 25610, len 32, bad ip cksum 0! -> c2aa) 11:50:57.060023 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::23.52383 > fc00::24.9: [bad udp cksum f865! -> 656b] udp 4 (len 12, hlim 63) 11:50:57.169610 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::14.33789 > fc00::14.9: [invalid udp cksum 0] udp 4 [flowlabel 0xac3f8] (len 12, hlim 64) 11:50:57.169644 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::14.33789 > fc00::14.9: [bad udp cksum f846! -> ae2c] udp 4 [flowlabel 0xac3f8] (len 12, hlim 64) 11:50:57.169663 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.23.65518 > 169.254.0.24.9: [bad udp cksum 5449! -> d638] udp 4 (DF) (ttl 63, id 12540, len 32, bad ip cksum 0! -> b6a5) 11:50:57.272451 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: ::1 > ::1: icmp6: echo request (id:89e8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:57.272480 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: ::1 > ::1: icmp6: echo request (id:89e8 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:57.387218 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: ::1.31570 > ::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0xc3899] (len 12, hlim 64) 11:50:57.387255 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: ::1.31570 > ::1.9: [bad udp cksum 001f! -> aeff] udp 4 [flowlabel 0xc3899] (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 11:50:53.343725 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum f4ab! -> 9f5f) 11:50:53.343751 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum 0! -> 9f5f) 11:50:53.343769 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [bad icmp cksum 0! -> 618c] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.343777 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.570165 rule 5.regress.1/(match) [uid 0, pid 42189] 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! -> 1d94] for 169.254.0.1.44164 > 169.254.0.1.9: udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) (ttl 255, id 42508, len 56, bad ip cksum 8ccc! -> c1b9) 11:50:53.570173 rule 5.regress.1/(match) [uid 0, pid 42189] 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.44164 > 169.254.0.1.9: udp 4 (ttl 64, id 1410, len 32, bad ip cksum 0! -> 214d) (ttl 255, id 42508, len 56, bad ip cksum 0! -> c1b9) grep 'regress\.1/.* > 169.254.0.2:' pflog12.tcpdump 11:50:53.779300 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) 11:50:53.779339 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) grep 'regress\.1/.* > 169.254.0.3:' pflog12.tcpdump 11:50:54.217573 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum f52d! -> 6890) 11:50:54.217602 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum 0! -> 6890) grep 'regress\.1/.* > 169.254.0.4:' pflog12.tcpdump 11:50:54.651802 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum f0f5! -> 101) 11:50:54.651831 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum 0! -> 101) grep 'regress\.1/.* > 169.254.0.5:' pflog12.tcpdump 11:50:55.086950 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:585e seq:0) [icmp cksum ok] (ttl 255, id 26477, len 84, bad ip cksum 81! -> 35) 11:50:55.086979 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.5 > 169.254.0.5: icmp: echo request (id:585e seq:0) [icmp cksum ok] (ttl 255, id 26477, len 84, bad ip cksum 0! -> 35) grep 'regress\.1/.* > 169.254.0.6:' pflog12.tcpdump 11:50:55.526735 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:613d seq:0) [icmp cksum ok] (ttl 255, id 20854, len 84, bad ip cksum 15a! -> 162a) 11:50:55.526765 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.6 > 169.254.0.6: icmp: echo request (id:613d seq:0) [icmp cksum ok] (ttl 255, id 20854, len 84, bad ip cksum 0! -> 162a) grep 'regress\.1/.* > 169.254.0.11:' pflog12.tcpdump 11:50:55.961645 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.11 > 169.254.0.11: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum ede9! -> 2c6c) grep 'regress\.1/.* > 169.254.0.12:' pflog12.tcpdump 11:50:56.397250 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.12 > 169.254.0.12: icmp: echo request (id:ce85 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum f1bd! -> e652) 11:50:56.397284 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:f3e5 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum 0! -> e648) grep 'regress\.1/.* > 169.254.0.14:' pflog12.tcpdump 11:50:56.832934 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) 11:50:56.832965 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) ==== run-bpf-everything6 ==== # rule with pflog12 matches on every packet grep 'regress\.1/.* > fc00::1:' pflog12.tcpdump 11:50:53.453217 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453243 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453266 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [bad icmp6 cksum 0! -> af2d] (len 64, hlim 64) 11:50:53.453275 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.679159 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::1 > fc00::1: icmp6: fc00::1 udp port 9 unreachable [bad icmp6 cksum 0! -> 7b6f] (len 60, hlim 64) 11:50:53.679168 rule 5.regress.1/(match) [uid 0, pid 42189] 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 11:50:53.888819 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.888849 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::3:' pflog12.tcpdump 11:50:54.327419 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.327449 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::4:' pflog12.tcpdump 11:50:54.761150 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.761181 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::5:' pflog12.tcpdump 11:50:55.198121 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::5 > fc00::5: icmp6: echo request (id:cb7a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:55.198151 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::5 > fc00::5: icmp6: echo request (id:cb7a seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::6:' pflog12.tcpdump 11:50:55.636197 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::6 > fc00::6: icmp6: echo request (id:19e2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:55.636226 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::6 > fc00::6: icmp6: echo request (id:19e2 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::11:' pflog12.tcpdump 11:50:56.070601 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::11 > fc00::11: icmp6: echo request (id:a094 seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::12:' pflog12.tcpdump 11:50:56.506308 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::12 > fc00::12: icmp6: echo request (id:e1e7 seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.506343 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:17bd seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.1/.* > fc00::14:' pflog12.tcpdump 11:50:56.942525 rule 5.regress.1/(match) [uid 0, pid 42189] match out on lo11: fc00::14 > fc00::14: icmp6: echo request (id:044b seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:56.942556 rule 5.regress.1/(match) [uid 0, pid 42189] match in on lo11: fc00::14 > fc00::14: icmp6: echo request (id:044b 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 11:50:53.343730 rule 5.regress.3/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum f4ab! -> 9f5f) 11:50:53.343753 rule 5.regress.3/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo request (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 51274, len 84, bad ip cksum 0! -> 9f5f) grep 'regress\.3/.* 169.254.0.1 > 169.254.0.1: icmp: echo reply' pflog11.tcpdump 11:50:53.343770 rule 5.regress.3/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [bad icmp cksum 0! -> 618c] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) 11:50:53.343778 rule 5.regress.3/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.1 > 169.254.0.1: icmp: echo reply (id:bbb0 seq:0) [icmp cksum ok] (ttl 255, id 42897, len 84, bad ip cksum 0! -> c018) # no reply with keep state and without all grep 'regress\.4/.* 169.254.0.2 > 169.254.0.2: icmp: echo request' pflog11.tcpdump 11:50:53.779305 rule 5.regress.4/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) 11:50:53.779341 rule 5.regress.4/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.2 > 169.254.0.2: icmp: echo request (id:6914 seq:0) [icmp cksum ok] (ttl 255, id 23249, len 84, bad ip cksum 0! -> cd7) ! 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 11:50:54.217577 rule 5.regress.5/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum f52d! -> 6890) 11:50:54.217604 rule 5.regress.5/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo request (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 65301, len 84, bad ip cksum 0! -> 6890) # XXX anchor name missing grep '/.* 169.254.0.3 > 169.254.0.3: icmp: echo reply' pflog11.tcpdump 11:50:54.217621 rule 5/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:2b22 seq:0) [bad icmp cksum 0! -> e539] (ttl 255, id 31849, len 84, bad ip cksum 0! -> eb3c) 11:50:54.217626 rule 5/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.3 > 169.254.0.3: icmp: echo reply (id:2b22 seq:0) [icmp cksum ok] (ttl 255, id 31849, len 84, bad ip cksum 0! -> eb3c) ==== run-bpf-all6 ==== # reply without keep state grep 'regress\.11/.* fc00::1 > fc00::1: icmp6: echo request' pflog11.tcpdump 11:50:53.453221 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.453245 rule 5.regress.11/(match) [uid 0, pid 42189] pass in on lo11: fc00::1 > fc00::1: icmp6: echo request (id:ee3a seq:0) [icmp6 cksum ok] (len 64, hlim 64) grep 'regress\.11/.* fc00::1 > fc00::1: icmp6: echo reply' pflog11.tcpdump 11:50:53.453268 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a seq:0) [bad icmp6 cksum 0! -> af2d] (len 64, hlim 64) 11:50:53.453276 rule 5.regress.11/(match) [uid 0, pid 42189] pass in on lo11: fc00::1 > fc00::1: icmp6: echo reply (id:ee3a 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 11:50:53.888823 rule 5.regress.12/(match) [uid 0, pid 42189] pass out on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:53.888851 rule 5.regress.12/(match) [uid 0, pid 42189] pass in on lo11: fc00::2 > fc00::2: icmp6: echo request (id:11fd 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 11:50:54.327423 rule 5.regress.13/(match) [uid 0, pid 42189] pass out on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) 11:50:54.327450 rule 5.regress.13/(match) [uid 0, pid 42189] pass in on lo11: fc00::3 > fc00::3: icmp6: echo request (id:f09f seq:0) [icmp6 cksum ok] (len 64, hlim 64) # XXX anchor name missing grep '/.* fc00::3 > fc00::3: icmp6: echo reply' pflog11.tcpdump 11:50:54.327473 rule 5/(match) [uid 0, pid 42189] pass out on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:f09f seq:0) [bad icmp6 cksum 0! -> 55ec] (len 64, hlim 64) 11:50:54.327479 rule 5/(match) [uid 0, pid 42189] pass in on lo11: fc00::3 > fc00::3: icmp6: echo reply (id:f09f 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 11:50:54.878126 rule 5.regress.6/(match) [uid 0, pid 42189] pass out on lo11: [uid 0, pid 46563] 169.254.0.4.28175 > 169.254.0.4.9: [no udp cksum] udp 4 (ttl 64, id 53042, len 32, bad ip cksum c! -> 5796) # 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 11:50:54.878160 rule 5.regress.6/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.4.28175 > 169.254.0.4.9: [bad udp cksum 5422! -> 683f] udp 4 (ttl 64, id 53042, len 32, bad ip cksum 0! -> 5796) # 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 11:50:54.651807 rule 5.regress.6/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.4 > 169.254.0.4: icmp: echo request (id:8483 seq:0) [icmp cksum ok] (ttl 255, id 26275, len 84, bad ip cksum f0f5! -> 101) # 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 11:50:53.570114 rule 5.regress.3/(match) [uid 0, pid 42189] pass out on lo11: 169.254.0.1.44164 > 169.254.0.1.9: [bad udp cksum 2f18! -> 29d0] udp 4 (ttl 64, id 1410, len 32, bad ip cksum c! -> 214d) ==== 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 11:50:54.987290 rule 5.regress.14/(match) [uid 0, pid 42189] pass out on lo11: [uid 0, pid 3264] fc00::4.14127 > fc00::4.9: [invalid udp cksum 0] udp 4 [flowlabel 0xe8f10] (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 11:50:54.987326 rule 5.regress.14/(match) [uid 0, pid 42189] pass in on lo11: fc00::4.14127 > fc00::4.9: [bad udp cksum f826! -> fb1a] udp 4 [flowlabel 0xe8f10] (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 11:50:54.761155 rule 5.regress.14/(match) [uid 0, pid 42189] pass out on lo11: fc00::4 > fc00::4: icmp6: echo request (id:7728 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 11:50:53.679107 rule 5.regress.11/(match) [uid 0, pid 42189] pass out on lo11: fc00::1.19392 > fc00::1.9: [invalid udp cksum 0] udp 4 [flowlabel 0x8084a] (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 11:50:55.961680 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.11 > 169.254.0.21: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum 0! -> 2c62) # 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 11:50:55.961650 rule 5.regress.18/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.11:43093, dst 169.254.0.21:8] 169.254.0.11 > 169.254.0.11: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum ede9! -> 2c6c) ==== run-bpf-rdr6 ==== # loopback input logs redirected packet grep 'regress\.10/.* pass in .*:.* fc00::11 > fc00::21: icmp6: echo request' pflog11.tcpdump 11:50:56.070638 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::11 > fc00::21: icmp6: echo request (id:a094 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 11:50:56.070605 rule 5.regress.20/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::11:41108, dst fc00::21:128] fc00::11 > fc00::11: icmp6: echo request (id:a094 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 11:50:56.397285 rule 5.regress.2/(match) [uid 0, pid 42189] pass in on lo11: 169.254.0.22 > 169.254.0.12: icmp: echo request (id:f3e5 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum 0! -> e648) # 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 11:50:56.397257 rule 5.regress.19/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.22:62437, dst 169.254.0.12:8] 169.254.0.12 > 169.254.0.12: icmp: echo request (id:ce85 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum f1bd! -> e652) ==== run-bpf-nat6 ==== # loopback input logs redirected packet grep 'regress\.10/.* pass in .*:.* fc00::22 > fc00::12: icmp6: echo request' pflog11.tcpdump 11:50:56.506345 rule 5.regress.10/(match) [uid 0, pid 42189] pass in on lo11: fc00::22 > fc00::12: icmp6: echo request (id:17bd 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 11:50:56.506314 rule 5.regress.21/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::22:6077, dst fc00::12:128] fc00::12 > fc00::12: icmp6: echo request (id:e1e7 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 11:50:56.832970 rule 5.regress.22/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src fc00::23:57986, dst fc00::24:128] 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) ==== run-bpf-af6 ==== # pf in rule logs original IPv6 packet grep 'regress\.23/.* pass in .*:.* fc00::14 > fc00::14: icmp6: echo request' pflog11.tcpdump 11:50:56.942560 rule 5.regress.23/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src 169.254.0.23:41611, dst 169.254.0.24:8] fc00::14 > fc00::14: icmp6: echo request (id:044b 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 11:50:55.961650 rule 5.regress.18/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.11:43093, dst 169.254.0.21:8] 169.254.0.11 > 169.254.0.11: icmp: echo request (id:a855 seq:0) [icmp cksum ok] (ttl 255, id 15146, len 84, bad ip cksum ede9! -> 2c6c) # 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 11:50:56.397257 rule 5.regress.19/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src 169.254.0.22:62437, dst 169.254.0.12:8] 169.254.0.12 > 169.254.0.12: icmp: echo request (id:ce85 seq:0) [icmp cksum ok] (ttl 255, id 33089, len 84, bad ip cksum f1bd! -> e652) # 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 11:50:56.832970 rule 5.regress.22/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src fc00::23:57986, dst fc00::24:128] 169.254.0.14 > 169.254.0.14: icmp: echo request (id:f828 seq:0) [icmp cksum ok] (ttl 255, id 12045, len 84, bad ip cksum 0! -> 3883) ==== 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 11:50:56.070605 rule 5.regress.20/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::11:41108, dst fc00::21:128] fc00::11 > fc00::11: icmp6: echo request (id:a094 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 11:50:56.506314 rule 5.regress.21/(match) [uid 0, pid 42189] pass out on lo11: [rewritten: src fc00::22:6077, dst fc00::12:128] fc00::12 > fc00::12: icmp6: echo request (id:e1e7 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 11:50:56.942560 rule 5.regress.23/(match) [uid 0, pid 42189] pass in on lo11: [rewritten: src 169.254.0.23:41611, dst 169.254.0.24:8] fc00::14 > fc00::14: icmp6: echo request (id:044b 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 0m14.73s