START sys/net/pf_forward 2024-12-26T19:21:47Z 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.047 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.047/0.047/0.047/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.209 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.209/0.209/0.209/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.185 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.185/0.185/0.185/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.720 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.720/0.720/0.720/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.496 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.496/0.496/0.496/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.915 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.915/0.915/0.915/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.526 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.526/0.526/0.526/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.593 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.593/0.593/0.593/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.564 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.564/0.564/0.564/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.705 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.705/1.705/1.705/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.625 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.625/0.625/0.625/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.606 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.606/0.606/0.606/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.587 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.587/0.587/0.587/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.528 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.528/0.528/0.528/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 $$ 46474 ==== 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 $$ 43737 ==== 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 $$ 17222 ==== 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 $$ 26273 ==== 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 $$ 74025 ==== 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 $$ 3614 ==== 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 $$ 86120 ==== 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 $$ 87408 ==== 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 $$ 28964 ==== 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.287 ms 0.182 ms 0.199 ms 2 10.188.82.23 (10.188.82.23) 0.43 ms 0.388 ms 0.356 ms 3 10.188.83.24 (10.188.83.24) 0.513 ms 0.432 ms 0.427 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.214 ms 0.186 ms 0.264 ms 2 10.188.82.23 (10.188.82.23) 0.395 ms 0.342 ms 0.387 ms 3 10.188.83.24 (10.188.83.24) 0.568 ms 0.406 ms 0.428 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.231 ms 0.208 ms 0.258 ms 2 10.188.82.23 (10.188.82.23) 0.411 ms 0.344 ms 0.372 ms 3 10.188.84.24 (10.188.84.24) 0.567 ms 0.513 ms 0.358 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.25 ms 0.192 ms 0.22 ms 2 10.188.82.23 (10.188.82.23) 0.419 ms 0.39 ms 0.336 ms 3 10.188.84.24 (10.188.84.24) 0.518 ms 0.406 ms 0.416 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.264 ms 0.19 ms 0.205 ms 2 10.188.85.188 (10.188.85.188) 0.42 ms 0.377 ms 0.327 ms 3 10.188.85.188 (10.188.85.188) 0.597 ms 0.39 ms 0.33 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.22 ms 0.195 ms 0.245 ms 2 10.188.85.188 (10.188.85.188) 0.413 ms 0.387 ms 0.363 ms 3 10.188.85.188 (10.188.85.188) 0.521 ms 0.405 ms 0.38 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.261 ms 0.184 ms 0.25 ms 2 10.188.86.188 (10.188.86.188) 0.394 ms 0.329 ms 0.384 ms 3 10.188.86.188 (10.188.86.188) 0.495 ms 0.416 ms 0.34 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.226 ms 0.181 ms 0.244 ms 2 10.188.86.188 (10.188.86.188) 0.328 ms 0.377 ms 0.349 ms 3 10.188.86.188 (10.188.86.188) 0.508 ms 0.384 ms 0.385 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.222 ms 0.196 ms 0.186 ms 2 10.188.87.36 (10.188.87.36) 0.386 ms 0.378 ms 0.312 ms 3 10.188.87.36 (10.188.87.36) 0.473 ms 0.377 ms 0.363 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.261 ms 0.194 ms 0.204 ms 2 10.188.87.36 (10.188.87.36) 0.367 ms 0.356 ms 0.386 ms 3 10.188.87.36 (10.188.87.36) 0.455 ms 0.396 ms 0.326 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.222 ms 0.188 ms 0.248 ms 2 10.188.82.23 (10.188.82.23) 0.397 ms 0.349 ms 0.327 ms 3 10.188.88.24 (10.188.88.24) 0.38 ms 0.369 ms 0.356 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.213 ms 0.185 ms 0.257 ms 2 10.188.82.23 (10.188.82.23) 0.421 ms 0.34 ms 0.359 ms 3 10.188.88.24 (10.188.88.24) 0.51 ms 0.453 ms 0.373 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.228 ms 0.167 ms 0.231 ms 2 10.188.82.23 (10.188.82.23) 0.318 ms 0.319 ms 0.331 ms 3 10.188.89.24 (10.188.89.24) 0.509 ms 0.362 ms 0.299 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.211 ms 0.172 ms 0.206 ms 2 10.188.82.23 (10.188.82.23) 0.391 ms 0.364 ms 0.338 ms 3 10.188.89.24 (10.188.89.24) 0.387 ms 0.383 ms 0.368 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.219 ms 0.184 ms 0.217 ms 2 10.188.82.23 (10.188.82.23) 0.369 ms 0.317 ms 0.327 ms 3 10.188.83.24 (10.188.83.24) 0.374 ms 0.397 ms 0.413 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.216 ms 0.195 ms 0.184 ms 2 10.188.82.23 (10.188.82.23) 0.396 ms 0.279 ms 0.329 ms 3 10.188.83.24 (10.188.83.24) 0.331 ms 0.366 ms 0.38 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.048 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.048/0.048/0.048/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.198 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.198/0.198/0.198/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.217 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.217/0.217/0.217/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.449 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.449/0.449/0.449/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.448 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.448/0.448/0.448/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.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-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.621 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.621/0.621/0.621/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.551 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.551/0.551/0.551/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.632 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.632/0.632/0.632/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.644 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.644/0.644/0.644/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.617 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.617/0.617/0.617/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.622 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.622/0.622/0.622/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.641 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.641/0.641/0.641/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.629 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.629/0.629/0.629/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 $$ 21368 ==== 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 $$ 76387 ==== 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 $$ 7887 ==== 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 $$ 65239 ==== 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 $$ 24612 ==== 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 $$ 35145 ==== 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 $$ 30893 ==== 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 $$ 84784 ==== 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 $$ 95654 ==== 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.271 ms 0.215 ms 0.184 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.44 ms 0.368 ms 0.389 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.482 ms 0.394 ms 0.392 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.266 ms 0.197 ms 0.187 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.483 ms 0.434 ms 0.384 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.518 ms 0.526 ms 0.376 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.255 ms 0.207 ms 0.195 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.469 ms 0.42 ms 0.364 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.5 ms 0.459 ms 0.388 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.269 ms 0.21 ms 0.252 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.443 ms 0.475 ms 0.376 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.54 ms 0.488 ms 0.435 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.287 ms 0.205 ms 0.248 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.488 ms 0.366 ms 0.44 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.436 ms 0.352 ms 0.391 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.278 ms 0.207 ms 0.255 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.397 ms 0.407 ms 0.429 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.471 ms 0.42 ms 0.407 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.269 ms 0.195 ms 0.211 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.458 ms 0.346 ms 0.411 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.462 ms 0.613 ms 0.351 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.225 ms 0.216 ms 0.199 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.447 ms 0.381 ms 0.387 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.55 ms 0.524 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.316 ms 0.209 ms 0.285 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.404 ms 0.348 ms 0.377 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.511 ms 0.4 ms 0.397 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.251 ms 0.203 ms 0.257 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.392 ms 0.406 ms 0.387 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.466 ms 0.417 ms 0.397 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.217 ms 0.204 ms 0.245 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.413 ms 0.404 ms 0.379 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.429 ms 0.412 ms 0.364 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.261 ms 0.198 ms 0.19 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.463 ms 0.372 ms 0.395 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.53 ms 0.462 ms 0.387 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.27 ms 0.208 ms 0.268 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.438 ms 0.399 ms 0.342 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.515 ms 0.399 ms 0.386 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.263 ms 0.21 ms 0.257 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.394 ms 0.374 ms 0.399 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.586 ms 0.402 ms 0.418 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.269 ms 0.206 ms 0.269 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.433 ms 0.367 ms 0.429 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.48 ms 0.419 ms 0.389 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.228 ms 0.21 ms 0.269 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.383 ms 0.362 ms 0.401 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.501 ms 0.379 ms 0.431 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 PASS sys/net/pf_forward Duration 1m28.78s