START sys/net/pf_forward 2025-01-04T16:11:43Z true ssh -t ot2 true Pseudo-terminal will not be allocated because stdin is not a terminal. rm -f stamp-pfctl ==== run-ping-inet-SRC_OUT ==== rm -f addr.py addr.py.tmp echo 'SRC_IF="em2"' >>addr.py.tmp echo 'SRC_MAC="00:90:e2:ba:a4:76:86"' >>addr.py.tmp echo 'PF_IFIN="em1"' >>addr.py.tmp echo 'PF_IFOUT="em0"' >>addr.py.tmp echo 'PF_MAC="90:e2:ba:d8:67:2d"' >>addr.py.tmp echo 'SRC_OUT="10.188.81.21"' >>addr.py.tmp echo 'SRC_OUT6="fdd7:e83e:66bc:81::21"' >>addr.py.tmp echo 'PF_IN="10.188.81.22"' >>addr.py.tmp echo 'PF_IN6="fdd7:e83e:66bc:81::22"' >>addr.py.tmp echo 'PF_OUT="10.188.82.22"' >>addr.py.tmp echo 'PF_OUT6="fdd7:e83e:66bc:82::22"' >>addr.py.tmp echo 'RT_IN="10.188.82.23"' >>addr.py.tmp echo 'RT_IN6="fdd7:e83e:66bc:82::23"' >>addr.py.tmp echo 'RT_OUT="10.188.83.23"' >>addr.py.tmp echo 'RT_OUT6="fdd7:e83e:66bc:83::23"' >>addr.py.tmp echo 'ECO_IN="10.188.83.24"' >>addr.py.tmp echo 'ECO_IN6="fdd7:e83e:66bc:83::24"' >>addr.py.tmp echo 'ECO_OUT="10.188.84.24"' >>addr.py.tmp echo 'ECO_OUT6="fdd7:e83e:66bc:84::24"' >>addr.py.tmp echo 'RDR_IN="10.188.85.188"' >>addr.py.tmp echo 'RDR_IN6="fdd7:e83e:66bc:85::188"' >>addr.py.tmp echo 'RDR_OUT="10.188.86.188"' >>addr.py.tmp echo 'RDR_OUT6="fdd7:e83e:66bc:86::188"' >>addr.py.tmp echo 'AF_IN="10.188.87.36"' >>addr.py.tmp echo 'AF_IN6="fdd7:e83e:66bc:87::18"' >>addr.py.tmp echo 'RTT_IN="10.188.88.24"' >>addr.py.tmp echo 'RTT_IN6="fdd7:e83e:66bc:88::24"' >>addr.py.tmp echo 'RTT_OUT="10.188.89.24"' >>addr.py.tmp echo 'RTT_OUT6="fdd7:e83e:66bc:89::24"' >>addr.py.tmp echo 'RPT_IN="10.188.90.21"' >>addr.py.tmp echo 'RPT_IN6="fdd7:e83e:66bc:90::21"' >>addr.py.tmp echo 'RPT_OUT="10.188.91.21"' >>addr.py.tmp echo 'RPT_OUT6="fdd7:e83e:66bc:91::21"' >>addr.py.tmp mv addr.py.tmp addr.py cat addr.py /usr/src/regress/sys/net/pf_forward/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/net/pf_forward/pf.conf | sed 's/@$PF_IFIN /@em1 /;s/@$PF_IFOUT /@em0 /' | ssh ot2 pfctl -a regress -f - Check ping SRC_OUT: ping -n -c 1 10.188.81.21 PING 10.188.81.21 (10.188.81.21): 56 data bytes 64 bytes from 10.188.81.21: icmp_seq=0 ttl=255 time=0.033 ms --- 10.188.81.21 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.033/0.033/0.033/0.000 ms ==== run-ping-inet-PF_IN ==== Check ping PF_IN: ping -n -c 1 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 56 data bytes 64 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.201 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.201/0.201/0.201/0.000 ms ==== run-ping-inet-PF_OUT ==== Check ping PF_OUT: ping -n -c 1 10.188.82.22 PING 10.188.82.22 (10.188.82.22): 56 data bytes 64 bytes from 10.188.82.22: icmp_seq=0 ttl=255 time=0.174 ms --- 10.188.82.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.174/0.174/0.174/0.000 ms ==== run-ping-inet-RT_IN ==== Check ping RT_IN: ping -n -c 1 10.188.82.23 PING 10.188.82.23 (10.188.82.23): 56 data bytes 64 bytes from 10.188.82.23: icmp_seq=0 ttl=254 time=0.721 ms --- 10.188.82.23 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.721/0.721/0.721/0.000 ms ==== run-ping-inet-RT_OUT ==== Check ping RT_OUT: ping -n -c 1 10.188.83.23 PING 10.188.83.23 (10.188.83.23): 56 data bytes 64 bytes from 10.188.83.23: icmp_seq=0 ttl=254 time=0.420 ms --- 10.188.83.23 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.420/0.420/0.420/0.000 ms ==== run-ping-inet-ECO_IN ==== Check ping ECO_IN: ping -n -c 1 10.188.83.24 PING 10.188.83.24 (10.188.83.24): 56 data bytes 64 bytes from 10.188.83.24: icmp_seq=0 ttl=253 time=0.868 ms --- 10.188.83.24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.868/0.868/0.868/0.000 ms ==== run-ping-inet-ECO_OUT ==== Check ping ECO_OUT: ping -n -c 1 10.188.84.24 PING 10.188.84.24 (10.188.84.24): 56 data bytes 64 bytes from 10.188.84.24: icmp_seq=0 ttl=253 time=0.588 ms --- 10.188.84.24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.588/0.588/0.588/0.000 ms ==== run-ping-inet-RDR_IN ==== Check ping RDR_IN: ping -n -c 1 10.188.85.188 PING 10.188.85.188 (10.188.85.188): 56 data bytes 64 bytes from 10.188.85.188: icmp_seq=0 ttl=253 time=0.616 ms --- 10.188.85.188 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.616/0.616/0.616/0.000 ms ==== run-ping-inet-RDR_OUT ==== Check ping RDR_OUT: ping -n -c 1 10.188.86.188 PING 10.188.86.188 (10.188.86.188): 56 data bytes 64 bytes from 10.188.86.188: icmp_seq=0 ttl=253 time=0.548 ms --- 10.188.86.188 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.548/0.548/0.548/0.000 ms ==== run-ping-inet-AF_IN ==== Check ping AF_IN: ping -n -c 1 10.188.87.36 PING 10.188.87.36 (10.188.87.36): 56 data bytes 64 bytes from 10.188.87.36: icmp_seq=0 ttl=62 time=1.861 ms --- 10.188.87.36 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 1.861/1.861/1.861/0.000 ms ==== run-ping-inet-RTT_IN ==== Check ping RTT_IN: ping -n -c 1 10.188.88.24 PING 10.188.88.24 (10.188.88.24): 56 data bytes 64 bytes from 10.188.88.24: icmp_seq=0 ttl=253 time=0.551 ms --- 10.188.88.24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.551/0.551/0.551/0.000 ms ==== run-ping-inet-RTT_OUT ==== Check ping RTT_OUT: ping -n -c 1 10.188.89.24 PING 10.188.89.24 (10.188.89.24): 56 data bytes 64 bytes from 10.188.89.24: icmp_seq=0 ttl=253 time=0.586 ms --- 10.188.89.24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.586/0.586/0.586/0.000 ms ==== run-ping-inet-RPT_IN ==== Check ping RPT_IN: ping -n -c 1 -I 10.188.90.21 10.188.83.24 PING 10.188.83.24 (10.188.83.24): 56 data bytes 64 bytes from 10.188.83.24: icmp_seq=0 ttl=253 time=0.618 ms --- 10.188.83.24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.618/0.618/0.618/0.000 ms ==== run-ping-inet-RPT_OUT ==== Check ping RPT_OUT: ping -n -c 1 -I 10.188.91.21 10.188.83.24 PING 10.188.83.24 (10.188.83.24): 56 data bytes 64 bytes from 10.188.83.24: icmp_seq=0 ttl=253 time=0.595 ms --- 10.188.83.24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.595/0.595/0.595/0.000 ms ==== run-ping-mtu-1400-inet-ECO_IN ==== Check path MTU to ECO_IN is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.83.24 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-ECO_IN ==== Check path MTU from ECO_IN is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.83.24 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-ECO_IN ==== Check UDP ECO_IN: echo $$ | nc -n -u -W 1 -w 3 10.188.83.24 7 | grep $$ *** Error 1 in . (Makefile:236 'run-udp-inet-ECO_IN') FAILED ==== run-tcp-inet-ECO_IN ==== Check tcp ECO_IN: route -n delete -host -inet 10.188.83.24 || true delete host 10.188.83.24: not in table openssl rand 200000 | nc -n -N -w 10 10.188.83.24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-ECO_OUT ==== Check path MTU to ECO_OUT is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.84.24 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-ECO_OUT ==== Check path MTU from ECO_OUT is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.84.24 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-ECO_OUT ==== Check UDP ECO_OUT: echo $$ | nc -n -u -W 1 -w 3 10.188.84.24 7 | grep $$ 77821 ==== run-tcp-inet-ECO_OUT ==== Check tcp ECO_OUT: route -n delete -host -inet 10.188.84.24 || true delete host 10.188.84.24: not in table openssl rand 200000 | nc -n -N -w 10 10.188.84.24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-RDR_IN ==== Check path MTU to RDR_IN is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.85.188 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-RDR_IN ==== Check path MTU from RDR_IN is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.85.188 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-RDR_IN ==== Check UDP RDR_IN: echo $$ | nc -n -u -W 1 -w 3 10.188.85.188 7 | grep $$ 34825 ==== run-tcp-inet-RDR_IN ==== Check tcp RDR_IN: route -n delete -host -inet 10.188.85.188 || true delete host 10.188.85.188: not in table openssl rand 200000 | nc -n -N -w 10 10.188.85.188 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-RDR_OUT ==== Check path MTU to RDR_OUT is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.86.188 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-RDR_OUT ==== Check path MTU from RDR_OUT is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.86.188 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-RDR_OUT ==== Check UDP RDR_OUT: echo $$ | nc -n -u -W 1 -w 3 10.188.86.188 7 | grep $$ 14210 ==== run-tcp-inet-RDR_OUT ==== Check tcp RDR_OUT: route -n delete -host -inet 10.188.86.188 || true delete host 10.188.86.188: not in table openssl rand 200000 | nc -n -N -w 10 10.188.86.188 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-AF_IN ==== Check path MTU to AF_IN is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.87.36 1500 1380 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1380 ==== run-ping-mtu-1300-inet-AF_IN ==== Check path MTU from AF_IN is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.87.36 1380 1280 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1280 ==== run-udp-inet-AF_IN ==== Check UDP AF_IN: echo $$ | nc -n -u -W 1 -w 3 10.188.87.36 7 | grep $$ 33920 ==== run-tcp-inet-AF_IN ==== Check tcp AF_IN: route -n delete -host -inet 10.188.87.36 || true delete host 10.188.87.36: not in table openssl rand 200000 | nc -n -N -w 10 10.188.87.36 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-RTT_IN ==== Check path MTU to RTT_IN is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.88.24 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-RTT_IN ==== Check path MTU from RTT_IN is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.88.24 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-RTT_IN ==== Check UDP RTT_IN: echo $$ | nc -n -u -W 1 -w 3 10.188.88.24 7 | grep $$ 12522 ==== run-tcp-inet-RTT_IN ==== Check tcp RTT_IN: route -n delete -host -inet 10.188.88.24 || true delete host 10.188.88.24: not in table openssl rand 200000 | nc -n -N -w 10 10.188.88.24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-RTT_OUT ==== Check path MTU to RTT_OUT is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.89.24 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-RTT_OUT ==== Check path MTU from RTT_OUT is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.81.21 10.188.89.24 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-RTT_OUT ==== Check UDP RTT_OUT: echo $$ | nc -n -u -W 1 -w 3 10.188.89.24 7 | grep $$ 15604 ==== run-tcp-inet-RTT_OUT ==== Check tcp RTT_OUT: route -n delete -host -inet 10.188.89.24 || true delete host 10.188.89.24: not in table openssl rand 200000 | nc -n -N -w 10 10.188.89.24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-RPT_IN ==== Check path MTU to RPT_IN is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.90.21 10.188.83.24 1500 1400 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1400 ==== run-ping-mtu-1300-inet-RPT_IN ==== Check path MTU from RPT_IN is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.90.21 10.188.83.24 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-RPT_IN ==== Check UDP RPT_IN: echo $$ | nc -n -u -W 1 -w 3 -s 10.188.90.21 10.188.83.24 7 | grep $$ 49152 ==== run-tcp-inet-RPT_IN ==== Check tcp RPT_IN: route -n delete -host -inet 10.188.90.21 || true delete host 10.188.90.21: Invalid argument openssl rand 200000 | nc -n -N -w 10 -s 10.188.90.21 10.188.83.24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet-RPT_OUT ==== # RPT_OUT with locally generated ICMP time exceeded cannot work. # The generated packet will not match the out rule with reply-to # so it will be rejected by the route. DISABLED ==== run-ping-mtu-1300-inet-RPT_OUT ==== Check path MTU from RPT_OUT is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping_mtu.py 10.188.91.21 10.188.83.24 1400 1300 Begin emission: Finished sending 1 packets. .* Received 2 packets, got 1 answers, remaining 0 packets mtu=1300 ==== run-udp-inet-RPT_OUT ==== Check UDP RPT_OUT: echo $$ | nc -n -u -W 1 -w 3 -s 10.188.91.21 10.188.83.24 7 | grep $$ 45594 ==== run-tcp-inet-RPT_OUT ==== Check tcp RPT_OUT: route -n delete -host -inet 10.188.91.21 || true delete host 10.188.91.21: Invalid argument openssl rand 200000 | nc -n -N -w 10 -s 10.188.91.21 10.188.83.24 7 | wc -c | grep '200000$' 200000 ==== run-traceroute-icmp-inet-ECO_IN ==== Check traceroute icmp ECO_IN: traceroute -I 10.188.83.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.83.24 (10.188.83.24), 64 hops max, 60 byte packets 1 10.188.81.22 (10.188.81.22) 0.259 ms 0.187 ms 0.208 ms 2 10.188.82.23 (10.188.82.23) 0.379 ms 0.329 ms 0.345 ms 3 10.188.83.24 (10.188.83.24) 0.402 ms 0.47 ms 0.455 ms ==== run-traceroute-udp-inet-ECO_IN ==== Check traceroute udp ECO_IN: traceroute 10.188.83.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.83.24 (10.188.83.24), 64 hops max, 40 byte packets 1 10.188.81.22 (10.188.81.22) 0.208 ms 0.191 ms 0.247 ms 2 10.188.82.23 (10.188.82.23) 0.346 ms 0.343 ms 0.374 ms 3 10.188.83.24 (10.188.83.24) 0.435 ms 0.463 ms 0.45 ms ==== run-traceroute-icmp-inet-ECO_OUT ==== Check traceroute icmp ECO_OUT: traceroute -I 10.188.84.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.84.24 (10.188.84.24), 64 hops max, 60 byte packets 1 10.188.81.22 (10.188.81.22) 0.214 ms 0.182 ms 0.199 ms 2 10.188.82.23 (10.188.82.23) 0.39 ms 0.381 ms 0.304 ms 3 10.188.84.24 (10.188.84.24) 0.357 ms 0.462 ms 0.328 ms ==== run-traceroute-udp-inet-ECO_OUT ==== Check traceroute udp ECO_OUT: traceroute 10.188.84.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.84.24 (10.188.84.24), 64 hops max, 40 byte packets 1 10.188.81.22 (10.188.81.22) 0.242 ms 0.205 ms 0.177 ms 2 10.188.82.23 (10.188.82.23) 0.416 ms 0.363 ms 0.402 ms 3 10.188.84.24 (10.188.84.24) 0.482 ms 0.506 ms 0.537 ms ==== run-traceroute-icmp-inet-RDR_IN ==== Check traceroute icmp RDR_IN: traceroute -I 10.188.85.188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.85.188 (10.188.85.188), 64 hops max, 60 byte packets 1 10.188.85.188 (10.188.85.188) 0.213 ms 0.188 ms 0.244 ms 2 10.188.85.188 (10.188.85.188) 0.326 ms 0.323 ms 0.366 ms 3 10.188.85.188 (10.188.85.188) 0.501 ms 0.448 ms 0.392 ms ==== run-traceroute-udp-inet-RDR_IN ==== Check traceroute udp RDR_IN: traceroute 10.188.85.188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.85.188 (10.188.85.188), 64 hops max, 40 byte packets 1 10.188.85.188 (10.188.85.188) 0.231 ms 0.196 ms 0.269 ms 2 10.188.85.188 (10.188.85.188) 0.379 ms 0.436 ms 0.358 ms 3 10.188.85.188 (10.188.85.188) 0.397 ms 0.438 ms 0.377 ms ==== run-traceroute-icmp-inet-RDR_OUT ==== Check traceroute icmp RDR_OUT: traceroute -I 10.188.86.188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.86.188 (10.188.86.188), 64 hops max, 60 byte packets 1 10.188.86.188 (10.188.86.188) 0.232 ms 0.18 ms 0.235 ms 2 10.188.86.188 (10.188.86.188) 0.332 ms 0.309 ms 0.327 ms 3 10.188.86.188 (10.188.86.188) 0.451 ms 0.299 ms 0.364 ms ==== run-traceroute-udp-inet-RDR_OUT ==== Check traceroute udp RDR_OUT: traceroute 10.188.86.188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.86.188 (10.188.86.188), 64 hops max, 40 byte packets 1 10.188.86.188 (10.188.86.188) 0.305 ms 0.269 ms 0.159 ms 2 10.188.86.188 (10.188.86.188) 0.386 ms 0.35 ms 0.393 ms 3 10.188.86.188 (10.188.86.188) 0.567 ms 0.477 ms 0.359 ms ==== run-traceroute-icmp-inet-AF_IN ==== Check traceroute icmp AF_IN: traceroute -I 10.188.87.36 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.87.36 (10.188.87.36), 64 hops max, 60 byte packets 1 10.188.87.36 (10.188.87.36) 0.254 ms 0.213 ms 0.168 ms 2 10.188.87.36 (10.188.87.36) 0.379 ms 0.33 ms 0.351 ms 3 10.188.87.36 (10.188.87.36) 0.461 ms 0.352 ms 0.371 ms ==== run-traceroute-udp-inet-AF_IN ==== Check traceroute udp AF_IN: traceroute 10.188.87.36 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.87.36 (10.188.87.36), 64 hops max, 40 byte packets 1 10.188.87.36 (10.188.87.36) 0.228 ms 0.204 ms 0.23 ms 2 10.188.87.36 (10.188.87.36) 0.334 ms 0.342 ms 0.398 ms 3 10.188.87.36 (10.188.87.36) 0.553 ms 0.409 ms 0.353 ms ==== run-traceroute-icmp-inet-RTT_IN ==== Check traceroute icmp RTT_IN: traceroute -I 10.188.88.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.88.24 (10.188.88.24), 64 hops max, 60 byte packets 1 10.188.81.22 (10.188.81.22) 0.288 ms 0.21 ms 0.172 ms 2 10.188.82.23 (10.188.82.23) 0.413 ms 0.306 ms 0.316 ms 3 10.188.88.24 (10.188.88.24) 0.418 ms 0.416 ms 0.359 ms ==== run-traceroute-udp-inet-RTT_IN ==== Check traceroute udp RTT_IN: traceroute 10.188.88.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.88.24 (10.188.88.24), 64 hops max, 40 byte packets 1 10.188.81.22 (10.188.81.22) 0.327 ms 0.244 ms 0.298 ms 2 10.188.82.23 (10.188.82.23) 0.375 ms 0.338 ms 0.384 ms 3 10.188.88.24 (10.188.88.24) 0.512 ms 0.439 ms 0.451 ms ==== run-traceroute-icmp-inet-RTT_OUT ==== Check traceroute icmp RTT_OUT: traceroute -I 10.188.89.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.89.24 (10.188.89.24), 64 hops max, 60 byte packets 1 10.188.81.22 (10.188.81.22) 0.295 ms 0.323 ms 0.165 ms 2 10.188.82.23 (10.188.82.23) 0.41 ms 0.348 ms 0.236 ms 3 10.188.89.24 (10.188.89.24) 0.435 ms 0.37 ms 0.341 ms ==== run-traceroute-udp-inet-RTT_OUT ==== Check traceroute udp RTT_OUT: traceroute 10.188.89.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.89.24 (10.188.89.24), 64 hops max, 40 byte packets 1 10.188.81.22 (10.188.81.22) 0.231 ms 0.189 ms 0.199 ms 2 10.188.82.23 (10.188.82.23) 0.396 ms 0.364 ms 0.333 ms 3 10.188.89.24 (10.188.89.24) 0.408 ms 0.402 ms 0.354 ms ==== run-traceroute-icmp-inet-RPT_IN ==== Check traceroute icmp RPT_IN: traceroute -I -s 10.188.90.21 10.188.83.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.83.24 (10.188.83.24) from 10.188.90.21, 64 hops max, 60 byte packets 1 10.188.81.22 (10.188.81.22) 0.23 ms 0.189 ms 0.267 ms 2 10.188.82.23 (10.188.82.23) 0.319 ms 0.302 ms 0.343 ms 3 10.188.83.24 (10.188.83.24) 0.494 ms 0.372 ms 0.349 ms ==== run-traceroute-udp-inet-RPT_IN ==== Check traceroute udp RPT_IN: traceroute -s 10.188.90.21 10.188.83.24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute to 10.188.83.24 (10.188.83.24) from 10.188.90.21, 64 hops max, 40 byte packets 1 10.188.81.22 (10.188.81.22) 0.235 ms 0.227 ms 0.282 ms 2 10.188.82.23 (10.188.82.23) 0.374 ms 0.373 ms 0.38 ms 3 10.188.83.24 (10.188.83.24) 0.515 ms 0.435 ms 0.359 ms ==== run-traceroute-icmp-inet-RPT_OUT ==== # RPT_OUT traceroute cannot work. The ICMP time exceeded packet # generated by IP forward will not match the out rule with reply-to # so it will be rejected by the route. DISABLED ==== run-traceroute-udp-inet-RPT_OUT ==== # RPT_OUT traceroute cannot work. The ICMP time exceeded packet # generated by IP forward will not match the out rule with reply-to # so it will be rejected by the route. DISABLED ==== run-ping-inet6-SRC_OUT ==== Check ping SRC_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:81::21 PING fdd7:e83e:66bc:81::21 (fdd7:e83e:66bc:81::21): 56 data bytes 64 bytes from fdd7:e83e:66bc:81::21: icmp_seq=0 hlim=64 time=0.055 ms --- fdd7:e83e:66bc:81::21 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.055/0.055/0.055/0.000 ms ==== run-ping-inet6-PF_IN ==== Check ping PF_IN6: ping6 -n -c 1 fdd7:e83e:66bc:81::22 PING fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22): 56 data bytes 64 bytes from fdd7:e83e:66bc:81::22: icmp_seq=0 hlim=64 time=0.208 ms --- fdd7:e83e:66bc:81::22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.208/0.208/0.208/0.000 ms ==== run-ping-inet6-PF_OUT ==== Check ping PF_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:82::22 PING fdd7:e83e:66bc:82::22 (fdd7:e83e:66bc:82::22): 56 data bytes 64 bytes from fdd7:e83e:66bc:82::22: icmp_seq=0 hlim=64 time=0.190 ms --- fdd7:e83e:66bc:82::22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.190/0.190/0.190/0.000 ms ==== run-ping-inet6-RT_IN ==== Check ping RT_IN6: ping6 -n -c 1 fdd7:e83e:66bc:82::23 PING fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23): 56 data bytes 64 bytes from fdd7:e83e:66bc:82::23: icmp_seq=0 hlim=63 time=0.439 ms --- fdd7:e83e:66bc:82::23 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.439/0.439/0.439/0.000 ms ==== run-ping-inet6-RT_OUT ==== Check ping RT_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:83::23 PING fdd7:e83e:66bc:83::23 (fdd7:e83e:66bc:83::23): 56 data bytes 64 bytes from fdd7:e83e:66bc:83::23: icmp_seq=0 hlim=63 time=0.444 ms --- fdd7:e83e:66bc:83::23 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.444/0.444/0.444/0.000 ms ==== run-ping-inet6-ECO_IN ==== Check ping ECO_IN6: ping6 -n -c 1 fdd7:e83e:66bc:83::24 PING fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24): 56 data bytes 64 bytes from fdd7:e83e:66bc:83::24: icmp_seq=0 hlim=62 time=0.596 ms --- fdd7:e83e:66bc:83::24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.596/0.596/0.596/0.000 ms ==== run-ping-inet6-ECO_OUT ==== Check ping ECO_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:84::24 PING fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24): 56 data bytes 64 bytes from fdd7:e83e:66bc:84::24: icmp_seq=0 hlim=62 time=0.618 ms --- fdd7:e83e:66bc:84::24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.618/0.618/0.618/0.000 ms ==== run-ping-inet6-RDR_IN ==== Check ping RDR_IN6: ping6 -n -c 1 fdd7:e83e:66bc:85::188 PING fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188): 56 data bytes 64 bytes from fdd7:e83e:66bc:85::188: icmp_seq=0 hlim=62 time=0.633 ms --- fdd7:e83e:66bc:85::188 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.633/0.633/0.633/0.000 ms ==== run-ping-inet6-RDR_OUT ==== Check ping RDR_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:86::188 PING fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188): 56 data bytes 64 bytes from fdd7:e83e:66bc:86::188: icmp_seq=0 hlim=62 time=0.604 ms --- fdd7:e83e:66bc:86::188 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.604/0.604/0.604/0.000 ms ==== run-ping-inet6-AF_IN ==== Check ping AF_IN6: ping6 -n -c 1 fdd7:e83e:66bc:87::18 PING fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18): 56 data bytes 64 bytes from fdd7:e83e:66bc:87::18: icmp_seq=0 hlim=63 time=0.582 ms --- fdd7:e83e:66bc:87::18 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.582/0.582/0.582/0.000 ms ==== run-ping-inet6-RTT_IN ==== Check ping RTT_IN6: ping6 -n -c 1 fdd7:e83e:66bc:88::24 PING fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24): 56 data bytes 64 bytes from fdd7:e83e:66bc:88::24: icmp_seq=0 hlim=62 time=0.629 ms --- fdd7:e83e:66bc:88::24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.629/0.629/0.629/0.000 ms ==== run-ping-inet6-RTT_OUT ==== Check ping RTT_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:89::24 PING fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24): 56 data bytes 64 bytes from fdd7:e83e:66bc:89::24: icmp_seq=0 hlim=62 time=0.562 ms --- fdd7:e83e:66bc:89::24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.562/0.562/0.562/0.000 ms ==== run-ping-inet6-RPT_IN ==== Check ping RPT_IN6: ping6 -n -c 1 -I fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 PING fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24): 56 data bytes 64 bytes from fdd7:e83e:66bc:83::24: icmp_seq=0 hlim=62 time=0.638 ms --- fdd7:e83e:66bc:83::24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.638/0.638/0.638/0.000 ms ==== run-ping-inet6-RPT_OUT ==== Check ping RPT_OUT6: ping6 -n -c 1 -I fdd7:e83e:66bc:91::21 fdd7:e83e:66bc:83::24 PING fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24): 56 data bytes 64 bytes from fdd7:e83e:66bc:83::24: icmp_seq=0 hlim=62 time=0.615 ms --- fdd7:e83e:66bc:83::24 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.615/0.615/0.615/0.000 ms ==== run-ping-mtu-1400-inet6-ECO_IN ==== Check path MTU to ECO_IN6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:83::24 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-ECO_IN ==== Check path MTU from ECO_IN6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:83::24 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-ECO_IN ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:83::24 7 | grep $$ 22951 ==== run-tcp-inet6-ECO_IN ==== Check tcp ECO_IN6: route -n delete -host -inet fdd7:e83e:66bc:83::24 || true route: fdd7:e83e:66bc:83::24: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:83::24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-ECO_OUT ==== Check path MTU to ECO_OUT6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:84::24 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-ECO_OUT ==== Check path MTU from ECO_OUT6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:84::24 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-ECO_OUT ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:84::24 7 | grep $$ 41549 ==== run-tcp-inet6-ECO_OUT ==== Check tcp ECO_OUT6: route -n delete -host -inet fdd7:e83e:66bc:84::24 || true route: fdd7:e83e:66bc:84::24: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:84::24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-RDR_IN ==== Check path MTU to RDR_IN6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:85::188 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-RDR_IN ==== Check path MTU from RDR_IN6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:85::188 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-RDR_IN ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:85::188 7 | grep $$ 42543 ==== run-tcp-inet6-RDR_IN ==== Check tcp RDR_IN6: route -n delete -host -inet fdd7:e83e:66bc:85::188 || true route: fdd7:e83e:66bc:85::188: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:85::188 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-RDR_OUT ==== Check path MTU to RDR_OUT6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:86::188 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-RDR_OUT ==== Check path MTU from RDR_OUT6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:86::188 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-RDR_OUT ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:86::188 7 | grep $$ 69349 ==== run-tcp-inet6-RDR_OUT ==== Check tcp RDR_OUT6: route -n delete -host -inet fdd7:e83e:66bc:86::188 || true route: fdd7:e83e:66bc:86::188: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:86::188 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-AF_IN ==== Check path MTU to AF_IN6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:87::18 1500 1420 . Sent 1 packets. mtu=1420 ==== run-ping-mtu-1300-inet6-AF_IN ==== Check path MTU from AF_IN6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:87::18 1420 1320 . Sent 1 packets. mtu=1320 ==== run-udp-inet6-AF_IN ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:87::18 7 | grep $$ 57414 ==== run-tcp-inet6-AF_IN ==== Check tcp AF_IN6: route -n delete -host -inet fdd7:e83e:66bc:87::18 || true route: fdd7:e83e:66bc:87::18: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:87::18 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-RTT_IN ==== Check path MTU to RTT_IN6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:88::24 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-RTT_IN ==== Check path MTU from RTT_IN6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:88::24 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-RTT_IN ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:88::24 7 | grep $$ 94673 ==== run-tcp-inet6-RTT_IN ==== Check tcp RTT_IN6: route -n delete -host -inet fdd7:e83e:66bc:88::24 || true route: fdd7:e83e:66bc:88::24: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:88::24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-RTT_OUT ==== Check path MTU to RTT_OUT6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:89::24 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-RTT_OUT ==== Check path MTU from RTT_OUT6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:81::21 fdd7:e83e:66bc:89::24 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-RTT_OUT ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 fdd7:e83e:66bc:89::24 7 | grep $$ 62 ==== run-tcp-inet6-RTT_OUT ==== Check tcp RTT_OUT6: route -n delete -host -inet fdd7:e83e:66bc:89::24 || true route: fdd7:e83e:66bc:89::24: bad address openssl rand 200000 | nc -n -N -w 10 fdd7:e83e:66bc:89::24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-RPT_IN ==== Check path MTU to RPT_IN6 is 1400 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 1500 1400 . Sent 1 packets. mtu=1400 ==== run-ping-mtu-1300-inet6-RPT_IN ==== Check path MTU from RPT_IN6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-RPT_IN ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 -s fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 7 | grep $$ 69504 ==== run-tcp-inet6-RPT_IN ==== Check tcp RPT_IN6: route -n delete -host -inet fdd7:e83e:66bc:90::21 || true route: fdd7:e83e:66bc:90::21: bad address openssl rand 200000 | nc -n -N -w 10 -s fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 7 | wc -c | grep '200000$' 200000 ==== run-ping-mtu-1400-inet6-RPT_OUT ==== # RPT_OUT with locally generated ICMP time exceeded cannot work. # The generated packet will not match the out rule with reply-to # so it will be rejected by the route. DISABLED ==== run-ping-mtu-1300-inet6-RPT_OUT ==== Check path MTU from RPT_OUT6 is 1300 PYTHONPATH=/usr/src/regress/sys/net/pf_forward/obj python3 -u /usr/src/regress/sys/net/pf_forward/ping6_mtu.py fdd7:e83e:66bc:91::21 fdd7:e83e:66bc:83::24 1400 1300 . Sent 1 packets. mtu=1300 ==== run-udp-inet6-RPT_OUT ==== Check UDP : echo $$ | nc -n -u -W 1 -w 3 -s fdd7:e83e:66bc:91::21 fdd7:e83e:66bc:83::24 7 | grep $$ 42504 ==== run-tcp-inet6-RPT_OUT ==== Check tcp RPT_OUT6: route -n delete -host -inet fdd7:e83e:66bc:91::21 || true route: fdd7:e83e:66bc:91::21: bad address openssl rand 200000 | nc -n -N -w 10 -s fdd7:e83e:66bc:91::21 fdd7:e83e:66bc:83::24 7 | wc -c | grep '200000$' 200000 ==== run-traceroute-icmp-inet6-ECO_IN ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:83::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.321 ms 0.304 ms 0.166 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.43 ms 0.369 ms 0.359 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.447 ms 0.489 ms 0.492 ms ==== run-traceroute-udp-inet6-ECO_IN ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:83::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.228 ms 0.207 ms 0.185 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.434 ms 0.404 ms 0.378 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.497 ms 0.471 ms 0.511 ms ==== run-traceroute-icmp-inet6-ECO_OUT ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:84::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.26 ms 0.208 ms 0.193 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.443 ms 0.371 ms 0.391 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.476 ms 0.466 ms 0.397 ms ==== run-traceroute-udp-inet6-ECO_OUT ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:84::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.263 ms 0.213 ms 0.18 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.419 ms 0.378 ms 0.356 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.619 ms 0.434 ms 0.388 ms ==== run-traceroute-icmp-inet6-RDR_IN ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:85::188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.293 ms 0.318 ms 0.262 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.4 ms 0.349 ms 0.351 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.533 ms 0.408 ms 0.392 ms ==== run-traceroute-udp-inet6-RDR_IN ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:85::188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.25 ms 0.216 ms 0.276 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.381 ms 0.358 ms 0.423 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.484 ms 0.409 ms 0.424 ms ==== run-traceroute-icmp-inet6-RDR_OUT ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:86::188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.288 ms 0.202 ms 0.249 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.294 ms 0.4 ms 0.323 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.521 ms 0.355 ms 0.404 ms ==== run-traceroute-udp-inet6-RDR_OUT ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:86::188 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.316 ms 0.34 ms 0.202 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.416 ms 0.35 ms 0.381 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.509 ms 0.389 ms 0.38 ms ==== run-traceroute-icmp-inet6-AF_IN ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:87::18 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.269 ms 0.214 ms 0.181 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.27 ms 0.374 ms 0.262 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.431 ms 0.328 ms 0.324 ms ==== run-traceroute-udp-inet6-AF_IN ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:87::18 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.238 ms 0.214 ms 0.249 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.358 ms 0.36 ms 0.331 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.408 ms 0.336 ms 0.359 ms ==== run-traceroute-icmp-inet6-RTT_IN ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:88::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.236 ms 0.207 ms 0.247 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.364 ms 0.356 ms 0.352 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.419 ms 0.363 ms 0.333 ms ==== run-traceroute-udp-inet6-RTT_IN ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:88::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.237 ms 0.202 ms 0.27 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.395 ms 0.381 ms 0.334 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.596 ms 0.473 ms 0.476 ms ==== run-traceroute-icmp-inet6-RTT_OUT ==== Check traceroute icmp : traceroute6 -I fdd7:e83e:66bc:89::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.259 ms 0.201 ms 0.205 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.368 ms 0.344 ms 0.342 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.394 ms 0.348 ms 0.369 ms ==== run-traceroute-udp-inet6-RTT_OUT ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:89::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22) 0.229 ms 0.21 ms 0.284 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.373 ms 0.399 ms 0.361 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.476 ms 0.439 ms 0.349 ms ==== run-traceroute-icmp-inet6-RPT_IN ==== Check traceroute icmp : traceroute6 -I -s fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) from fdd7:e83e:66bc:90::21, 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:82::22 (fdd7:e83e:66bc:82::22) 0.248 ms 0.209 ms 0.262 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.419 ms 0.355 ms 0.36 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.454 ms 0.41 ms 0.413 ms ==== run-traceroute-udp-inet6-RPT_IN ==== Check traceroute udp : traceroute6 -s fdd7:e83e:66bc:90::21 fdd7:e83e:66bc:83::24 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) from fdd7:e83e:66bc:90::21, 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:82::22 (fdd7:e83e:66bc:82::22) 0.256 ms 0.201 ms 0.258 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.442 ms 0.438 ms 0.358 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.517 ms 0.398 ms 0.394 ms ==== run-traceroute-icmp-inet6-RPT_OUT ==== # RPT_OUT traceroute cannot work. The ICMP time exceeded packet # generated by IP forward will not match the out rule with reply-to # so it will be rejected by the route. DISABLED ==== run-traceroute-udp-inet6-RPT_OUT ==== # RPT_OUT traceroute cannot work. The ICMP time exceeded packet # generated by IP forward will not match the out rule with reply-to # so it will be rejected by the route. DISABLED FAIL sys/net/pf_forward *** Error 1 in . (Makefile:236 'run-udp-inet-ECO_IN')