START sys/net/pf_forward 2024-12-29T00:56:30Z 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.043 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.043/0.043/0.043/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.161 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.161/0.161/0.161/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.728 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.728/0.728/0.728/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.442 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.442/0.442/0.442/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.859 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.859/0.859/0.859/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.531 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.531/0.531/0.531/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.658 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.658/0.658/0.658/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.636 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.636/0.636/0.636/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.738 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.738/1.738/1.738/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.561 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.561/0.561/0.561/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.609 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.609/0.609/0.609/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.670 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.670/0.670/0.670/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 $$ 76068 ==== 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 $$ 90153 ==== 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 $$ 26761 ==== 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 $$ 78361 ==== 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 $$ 18197 ==== 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 $$ 4677 ==== 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 $$ 47962 ==== 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 $$ 42725 ==== 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 $$ 50867 ==== 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.279 ms 0.193 ms 0.193 ms 2 10.188.82.23 (10.188.82.23) 0.417 ms 0.339 ms 0.352 ms 3 10.188.83.24 (10.188.83.24) 0.466 ms 0.384 ms 0.406 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.243 ms 0.198 ms 0.247 ms 2 10.188.82.23 (10.188.82.23) 0.398 ms 0.418 ms 0.392 ms 3 10.188.83.24 (10.188.83.24) 0.455 ms 0.371 ms 0.387 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.246 ms 0.179 ms 0.234 ms 2 10.188.82.23 (10.188.82.23) 0.413 ms 0.389 ms 0.37 ms 3 10.188.84.24 (10.188.84.24) 0.439 ms 0.408 ms 0.364 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.229 ms 0.204 ms 0.247 ms 2 10.188.82.23 (10.188.82.23) 0.449 ms 0.382 ms 0.356 ms 3 10.188.84.24 (10.188.84.24) 0.529 ms 0.426 ms 0.415 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.257 ms 0.211 ms 0.173 ms 2 10.188.85.188 (10.188.85.188) 0.446 ms 0.353 ms 0.359 ms 3 10.188.85.188 (10.188.85.188) 0.501 ms 0.388 ms 0.408 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.255 ms 0.193 ms 0.2 ms 2 10.188.85.188 (10.188.85.188) 0.497 ms 0.358 ms 0.387 ms 3 10.188.85.188 (10.188.85.188) 0.687 ms 0.537 ms 0.476 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.24 ms 0.193 ms 0.259 ms 2 10.188.86.188 (10.188.86.188) 0.362 ms 0.364 ms 0.359 ms 3 10.188.86.188 (10.188.86.188) 0.45 ms 0.326 ms 0.337 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.224 ms 0.202 ms 0.239 ms 2 10.188.86.188 (10.188.86.188) 0.369 ms 0.357 ms 0.402 ms 3 10.188.86.188 (10.188.86.188) 0.463 ms 0.351 ms 0.339 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.251 ms 0.188 ms 0.241 ms 2 10.188.87.36 (10.188.87.36) 0.398 ms 0.341 ms 0.377 ms 3 10.188.87.36 (10.188.87.36) 0.457 ms 0.34 ms 0.365 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.24 ms 0.176 ms 0.231 ms 2 10.188.87.36 (10.188.87.36) 0.371 ms 0.374 ms 0.393 ms 3 10.188.87.36 (10.188.87.36) 0.546 ms 0.393 ms 0.372 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.21 ms 0.189 ms 0.204 ms 2 10.188.82.23 (10.188.82.23) 0.379 ms 0.356 ms 0.355 ms 3 10.188.88.24 (10.188.88.24) 0.513 ms 0.39 ms 0.33 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.22 ms 0.198 ms 0.255 ms 2 10.188.82.23 (10.188.82.23) 0.383 ms 0.328 ms 0.318 ms 3 10.188.88.24 (10.188.88.24) 0.435 ms 0.343 ms 0.364 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.222 ms 0.193 ms 0.233 ms 2 10.188.82.23 (10.188.82.23) 0.383 ms 0.385 ms 0.376 ms 3 10.188.89.24 (10.188.89.24) 0.408 ms 0.373 ms 0.379 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.212 ms 0.187 ms 0.2 ms 2 10.188.82.23 (10.188.82.23) 0.419 ms 0.347 ms 0.374 ms 3 10.188.89.24 (10.188.89.24) 0.413 ms 0.358 ms 0.309 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.226 ms 0.198 ms 0.176 ms 2 10.188.82.23 (10.188.82.23) 0.388 ms 0.351 ms 0.307 ms 3 10.188.83.24 (10.188.83.24) 0.432 ms 0.324 ms 0.394 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.212 ms 0.209 ms 0.261 ms 2 10.188.82.23 (10.188.82.23) 0.378 ms 0.436 ms 0.299 ms 3 10.188.83.24 (10.188.83.24) 0.412 ms 0.447 ms 0.343 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.181 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.181/0.181/0.181/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.195 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.195/0.195/0.195/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.464 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.464/0.464/0.464/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.396 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.396/0.396/0.396/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.621 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.621/0.621/0.621/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.648 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.648/0.648/0.648/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.630 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.630/0.630/0.630/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.594 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.594/0.594/0.594/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.589 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.589/0.589/0.589/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.653 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.653/0.653/0.653/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.640 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.640/0.640/0.640/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.601 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.601/0.601/0.601/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.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-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 $$ 69672 ==== 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 $$ 62612 ==== 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 $$ 22043 ==== 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 $$ 40649 ==== 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 $$ 19474 ==== 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 $$ 6401 ==== 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 $$ 6297 ==== 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 $$ 49378 ==== 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 $$ 96171 ==== 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.264 ms 0.205 ms 0.248 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.406 ms 0.345 ms 0.365 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.498 ms 0.405 ms 0.363 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.223 ms 0.175 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.518 ms 0.38 ms 0.417 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.557 ms 0.481 ms 0.404 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.262 ms 0.215 ms 0.247 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.462 ms 0.409 ms 0.365 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.515 ms 0.515 ms 0.528 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.217 ms 0.197 ms 0.292 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.42 ms 0.374 ms 0.413 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.487 ms 0.355 ms 0.359 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.244 ms 0.216 ms 0.245 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.389 ms 0.355 ms 0.386 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.477 ms 0.347 ms 0.357 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.231 ms 0.215 ms 0.175 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.422 ms 0.417 ms 0.339 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.487 ms 0.402 ms 0.352 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.214 ms 0.21 ms 0.185 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.382 ms 0.352 ms 0.323 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.332 ms 0.339 ms 0.364 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.242 ms 0.208 ms 0.259 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.375 ms 0.375 ms 0.377 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.532 ms 0.442 ms 0.372 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.248 ms 0.2 ms 0.248 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.312 ms 0.317 ms 0.34 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.434 ms 0.349 ms 0.38 ms ==== run-traceroute-udp-inet6-AF_IN ==== Check traceroute udp : traceroute6 fdd7:e83e:66bc:87::18 | awk 'BEGIN{ x=0 } { print $0 } { n=$1 } /\*/{ x++ } END{ if (n!=3) { print "hopcount is not 3: "n; exit 1 } } END{ if (x!=0) { print "unanswered probes: "x; exit 1 } }' traceroute6 to fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18), 64 hops max, 60 byte packets 1 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.238 ms 0.224 ms 0.236 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.327 ms 0.34 ms 0.413 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.463 ms 0.466 ms 0.377 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.253 ms 0.217 ms 0.178 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.375 ms 0.398 ms 0.302 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.423 ms 0.362 ms 0.341 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.219 ms 0.209 ms 0.285 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.374 ms 0.36 ms 0.345 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.555 ms 0.468 ms 0.432 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.239 ms 0.225 ms 0.25 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.432 ms 0.329 ms 0.361 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.412 ms 0.444 ms 0.33 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.237 ms 0.214 ms 0.304 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.375 ms 0.353 ms 0.354 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.551 ms 0.398 ms 0.356 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.257 ms 0.212 ms 0.292 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.432 ms 0.355 ms 0.37 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.538 ms 0.534 ms 0.518 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.277 ms 0.214 ms 0.188 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.426 ms 0.414 ms 0.346 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.501 ms 0.402 ms 0.448 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.35s