START sys/net/pf_forward 2025-01-01T05:12:08Z 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.034 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.034/0.034/0.034/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.234 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.234/0.234/0.234/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.187 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.187/0.187/0.187/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.749 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.749/0.749/0.749/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.475 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.475/0.475/0.475/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.872 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.872/0.872/0.872/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.637 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.637/0.637/0.637/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.591 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.591/0.591/0.591/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.676 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.676/0.676/0.676/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.763 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.763/1.763/1.763/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.601 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.601/0.601/0.601/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.607 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.607/0.607/0.607/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.646 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.646/0.646/0.646/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 $$ 98872 ==== 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 $$ 19527 ==== 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 $$ 69429 ==== 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 $$ 2931 ==== 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 $$ 88318 ==== 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 $$ 71254 ==== 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 $$ 45698 ==== 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 $$ 57702 ==== 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 $$ 38497 ==== 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.255 ms 0.197 ms 0.197 ms 2 10.188.82.23 (10.188.82.23) 0.456 ms 0.377 ms 0.342 ms 3 10.188.83.24 (10.188.83.24) 0.482 ms 0.409 ms 0.373 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.247 ms 0.2 ms 0.189 ms 2 10.188.82.23 (10.188.82.23) 0.44 ms 0.386 ms 0.406 ms 3 10.188.83.24 (10.188.83.24) 0.403 ms 0.402 ms 0.558 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.233 ms 0.183 ms 0.201 ms 2 10.188.82.23 (10.188.82.23) 0.347 ms 0.422 ms 0.31 ms 3 10.188.84.24 (10.188.84.24) 0.522 ms 0.379 ms 0.355 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.206 ms 0.181 ms 0.206 ms 2 10.188.82.23 (10.188.82.23) 0.429 ms 0.389 ms 0.378 ms 3 10.188.84.24 (10.188.84.24) 0.612 ms 0.489 ms 0.448 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.24 ms 0.173 ms 0.221 ms 2 10.188.85.188 (10.188.85.188) 0.369 ms 0.352 ms 0.406 ms 3 10.188.85.188 (10.188.85.188) 0.462 ms 0.37 ms 0.338 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.253 ms 0.195 ms 0.191 ms 2 10.188.85.188 (10.188.85.188) 0.389 ms 0.373 ms 0.438 ms 3 10.188.85.188 (10.188.85.188) 0.41 ms 0.418 ms 0.362 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.217 ms 0.177 ms 0.205 ms 2 10.188.86.188 (10.188.86.188) 0.374 ms 0.312 ms 0.348 ms 3 10.188.86.188 (10.188.86.188) 0.456 ms 0.371 ms 0.342 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.188 ms 0.19 ms 2 10.188.86.188 (10.188.86.188) 0.419 ms 0.399 ms 0.344 ms 3 10.188.86.188 (10.188.86.188) 0.461 ms 0.399 ms 0.365 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.236 ms 0.179 ms 0.203 ms 2 10.188.87.36 (10.188.87.36) 0.386 ms 0.314 ms 0.353 ms 3 10.188.87.36 (10.188.87.36) 0.45 ms 0.367 ms 0.369 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.248 ms 0.194 ms 0.25 ms 2 10.188.87.36 (10.188.87.36) 0.373 ms 0.39 ms 0.373 ms 3 10.188.87.36 (10.188.87.36) 0.467 ms 0.434 ms 0.394 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.27 ms 0.331 ms 0.229 ms 2 10.188.82.23 (10.188.82.23) 0.36 ms 0.325 ms 0.397 ms 3 10.188.88.24 (10.188.88.24) 0.419 ms 0.405 ms 0.375 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.208 ms 0.203 ms 0.234 ms 2 10.188.82.23 (10.188.82.23) 0.328 ms 0.327 ms 0.382 ms 3 10.188.88.24 (10.188.88.24) 0.418 ms 0.351 ms 0.372 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.227 ms 0.179 ms 0.255 ms 2 10.188.82.23 (10.188.82.23) 0.426 ms 0.42 ms 0.315 ms 3 10.188.89.24 (10.188.89.24) 0.545 ms 0.421 ms 0.321 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.233 ms 0.185 ms 0.211 ms 2 10.188.82.23 (10.188.82.23) 0.38 ms 0.319 ms 0.377 ms 3 10.188.89.24 (10.188.89.24) 0.445 ms 0.335 ms 0.373 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.248 ms 0.155 ms 0.226 ms 2 10.188.82.23 (10.188.82.23) 0.366 ms 0.34 ms 0.37 ms 3 10.188.83.24 (10.188.83.24) 0.5 ms 0.479 ms 0.323 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.228 ms 0.187 ms 0.24 ms 2 10.188.82.23 (10.188.82.23) 0.387 ms 0.358 ms 0.417 ms 3 10.188.83.24 (10.188.83.24) 0.463 ms 0.485 ms 0.34 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.046 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.046/0.046/0.046/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.201 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.201/0.201/0.201/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.174 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.174/0.174/0.174/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.432 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.432/0.432/0.432/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.362 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.362/0.362/0.362/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.631 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.631/0.631/0.631/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.609 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.609/0.609/0.609/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.566 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.566/0.566/0.566/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.633 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.633/0.633/0.633/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.645 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.645/0.645/0.645/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.560 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.560/0.560/0.560/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.589 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.589/0.589/0.589/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.565 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.565/0.565/0.565/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.625 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.625/0.625/0.625/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 $$ 97102 ==== 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 $$ 2602 ==== 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 $$ 96815 ==== 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 $$ 26468 ==== 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 $$ 35515 ==== 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 $$ 24236 ==== 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 $$ 12951 ==== 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 $$ 19780 ==== 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 $$ 17261 ==== 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.248 ms 0.206 ms 0.196 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.455 ms 0.383 ms 0.352 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.481 ms 0.382 ms 0.401 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.35 ms 0.293 ms 0.228 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.403 ms 0.357 ms 0.367 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.493 ms 0.479 ms 0.422 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.247 ms 0.194 ms 0.201 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.419 ms 0.355 ms 0.338 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.496 ms 0.384 ms 0.332 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.265 ms 0.336 ms 0.276 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.375 ms 0.339 ms 0.393 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.548 ms 0.444 ms 0.396 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.247 ms 0.221 ms 0.26 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.366 ms 0.332 ms 0.344 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.439 ms 0.418 ms 0.373 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.281 ms 0.213 ms 0.223 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.398 ms 0.356 ms 0.41 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.546 ms 0.375 ms 0.442 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.27 ms 0.197 ms 0.18 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.406 ms 0.358 ms 0.305 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.403 ms 0.369 ms 0.382 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.227 ms 0.21 ms 0.182 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.407 ms 0.356 ms 0.39 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.537 ms 0.348 ms 0.374 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.214 ms 0.213 ms 0.198 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.372 ms 0.297 ms 0.299 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.505 ms 0.344 ms 0.335 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.241 ms 0.206 ms 0.194 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.369 ms 0.355 ms 0.4 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.499 ms 0.374 ms 0.391 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.211 ms 0.201 ms 0.172 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.385 ms 0.356 ms 0.314 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.389 ms 0.348 ms 0.365 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.212 ms 0.207 ms 0.19 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.391 ms 0.46 ms 0.303 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.454 ms 0.351 ms 0.408 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.218 ms 0.202 ms 0.174 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.37 ms 0.359 ms 0.308 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.42 ms 0.426 ms 0.38 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.207 ms 0.178 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.384 ms 0.367 ms 0.32 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.44 ms 0.353 ms 0.352 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.314 ms 0.279 ms 0.161 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.434 ms 0.36 ms 0.302 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.402 ms 0.423 ms 0.327 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.212 ms 0.204 ms 0.2 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.382 ms 0.387 ms 0.347 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.462 ms 0.354 ms 0.425 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 1m29.20s