START sys/net/pf_forward 2025-01-06T05:04:38Z 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.035 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.035/0.035/0.035/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.217 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.217/0.217/0.217/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.196 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.196/0.196/0.196/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.654 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.654/0.654/0.654/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.445 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.445/0.445/0.445/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.858 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.858/0.858/0.858/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.609 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.609/0.609/0.609/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.626 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.626/0.626/0.626/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.625 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.625/0.625/0.625/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.757 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.757/1.757/1.757/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.590 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.590/0.590/0.590/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.661 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.661/0.661/0.661/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.608 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.608/0.608/0.608/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.589 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.589/0.589/0.589/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 $$ 23409 ==== 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 $$ 15743 ==== 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 $$ 10704 ==== 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 $$ 24340 ==== 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 $$ 78293 ==== 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 $$ 4698 ==== 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 $$ 53764 ==== 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 $$ 43889 ==== 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 $$ 87451 ==== 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.253 ms 0.194 ms 0.188 ms 2 10.188.82.23 (10.188.82.23) 0.367 ms 0.381 ms 0.358 ms 3 10.188.83.24 (10.188.83.24) 0.5 ms 0.408 ms 0.321 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.25 ms 0.209 ms 0.254 ms 2 10.188.82.23 (10.188.82.23) 0.407 ms 0.413 ms 0.415 ms 3 10.188.83.24 (10.188.83.24) 0.456 ms 0.393 ms 0.381 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.216 ms 0.186 ms 0.203 ms 2 10.188.82.23 (10.188.82.23) 0.456 ms 0.352 ms 0.444 ms 3 10.188.84.24 (10.188.84.24) 0.479 ms 0.387 ms 0.322 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.244 ms 0.191 ms 0.189 ms 2 10.188.82.23 (10.188.82.23) 0.474 ms 0.471 ms 0.42 ms 3 10.188.84.24 (10.188.84.24) 0.555 ms 0.373 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.262 ms 0.18 ms 0.242 ms 2 10.188.85.188 (10.188.85.188) 0.349 ms 0.348 ms 0.349 ms 3 10.188.85.188 (10.188.85.188) 0.586 ms 0.354 ms 0.387 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.254 ms 0.192 ms 0.24 ms 2 10.188.85.188 (10.188.85.188) 0.37 ms 0.377 ms 0.344 ms 3 10.188.85.188 (10.188.85.188) 0.44 ms 0.408 ms 0.412 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.342 ms 0.234 ms 0.264 ms 2 10.188.86.188 (10.188.86.188) 0.446 ms 0.405 ms 0.331 ms 3 10.188.86.188 (10.188.86.188) 0.497 ms 0.411 ms 0.362 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.269 ms 0.23 ms 0.168 ms 2 10.188.86.188 (10.188.86.188) 0.4 ms 0.364 ms 0.365 ms 3 10.188.86.188 (10.188.86.188) 0.451 ms 0.403 ms 0.406 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.306 ms 0.251 ms 0.249 ms 2 10.188.87.36 (10.188.87.36) 0.386 ms 0.382 ms 0.356 ms 3 10.188.87.36 (10.188.87.36) 0.49 ms 0.486 ms 0.479 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.246 ms 0.203 ms 0.251 ms 2 10.188.87.36 (10.188.87.36) 0.368 ms 0.345 ms 0.373 ms 3 10.188.87.36 (10.188.87.36) 0.567 ms 0.352 ms 0.427 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.315 ms 0.25 ms 0.279 ms 2 10.188.82.23 (10.188.82.23) 0.378 ms 0.401 ms 0.313 ms 3 10.188.88.24 (10.188.88.24) 0.506 ms 0.484 ms 0.376 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.286 ms 0.263 ms 0.29 ms 2 10.188.82.23 (10.188.82.23) 0.421 ms 0.421 ms 0.321 ms 3 10.188.88.24 (10.188.88.24) 0.565 ms 0.441 ms 0.378 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.275 ms 0.192 ms 0.202 ms 2 10.188.82.23 (10.188.82.23) 0.402 ms 0.345 ms 0.303 ms 3 10.188.89.24 (10.188.89.24) 0.384 ms 0.377 ms 0.496 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.221 ms 0.182 ms 0.224 ms 2 10.188.82.23 (10.188.82.23) 0.446 ms 0.345 ms 0.326 ms 3 10.188.89.24 (10.188.89.24) 0.441 ms 0.345 ms 0.396 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.285 ms 0.271 ms 0.252 ms 2 10.188.82.23 (10.188.82.23) 0.351 ms 0.343 ms 0.377 ms 3 10.188.83.24 (10.188.83.24) 0.41 ms 0.401 ms 0.371 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.241 ms 0.225 ms 0.27 ms 2 10.188.82.23 (10.188.82.23) 0.402 ms 0.355 ms 0.334 ms 3 10.188.83.24 (10.188.83.24) 0.383 ms 0.432 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.048 ms --- fdd7:e83e:66bc:81::21 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.048/0.048/0.048/0.000 ms ==== run-ping-inet6-PF_IN ==== Check ping PF_IN6: ping6 -n -c 1 fdd7:e83e:66bc:81::22 PING fdd7:e83e:66bc:81::22 (fdd7:e83e:66bc:81::22): 56 data bytes 64 bytes from fdd7:e83e:66bc:81::22: icmp_seq=0 hlim=64 time=0.211 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.211/0.211/0.211/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.255 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.255/0.255/0.255/0.000 ms ==== run-ping-inet6-RT_IN ==== Check ping RT_IN6: ping6 -n -c 1 fdd7:e83e:66bc:82::23 PING fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23): 56 data bytes 64 bytes from fdd7:e83e:66bc:82::23: icmp_seq=0 hlim=63 time=0.439 ms --- fdd7:e83e:66bc:82::23 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.439/0.439/0.439/0.000 ms ==== run-ping-inet6-RT_OUT ==== Check ping RT_OUT6: ping6 -n -c 1 fdd7:e83e:66bc:83::23 PING fdd7:e83e:66bc:83::23 (fdd7:e83e:66bc:83::23): 56 data bytes 64 bytes from fdd7:e83e:66bc:83::23: icmp_seq=0 hlim=63 time=0.418 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.418/0.418/0.418/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.592 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.592/0.592/0.592/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.629 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.629/0.629/0.629/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.575 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.575/0.575/0.575/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.634 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.634/0.634/0.634/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.625 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.625/0.625/0.625/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.619 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.619/0.619/0.619/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.651 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.651/0.651/0.651/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.634 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.634/0.634/0.634/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.607 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.607/0.607/0.607/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 $$ 32730 ==== 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 $$ 49308 ==== 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 $$ 1841 ==== 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 $$ 54224 ==== 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 $$ 90821 ==== 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 $$ 45048 ==== 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 $$ 85952 ==== 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 $$ 7809 ==== 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 $$ 54722 ==== 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.291 ms 0.201 ms 0.177 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.47 ms 0.36 ms 0.4 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.493 ms 0.403 ms 0.358 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.27 ms 0.228 ms 0.246 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.395 ms 0.378 ms 0.45 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.495 ms 0.459 ms 0.334 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.267 ms 0.187 ms 0.184 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.397 ms 0.378 ms 0.254 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.388 ms 0.376 ms 0.326 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.24 ms 0.206 ms 0.171 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.409 ms 0.389 ms 0.344 ms 3 fdd7:e83e:66bc:84::24 (fdd7:e83e:66bc:84::24) 0.482 ms 0.361 ms 0.392 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.213 ms 0.21 ms 0.246 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.34 ms 0.286 ms 0.346 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.382 ms 0.323 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.251 ms 0.218 ms 0.264 ms 2 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.378 ms 0.348 ms 0.408 ms 3 fdd7:e83e:66bc:85::188 (fdd7:e83e:66bc:85::188) 0.584 ms 0.4 ms 0.374 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.213 ms 0.204 ms 0.243 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.377 ms 0.326 ms 0.37 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.387 ms 0.321 ms 0.369 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.226 ms 0.2 ms 0.187 ms 2 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.442 ms 0.4 ms 0.35 ms 3 fdd7:e83e:66bc:86::188 (fdd7:e83e:66bc:86::188) 0.516 ms 0.34 ms 0.394 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.249 ms 0.196 ms 0.182 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.369 ms 0.333 ms 0.339 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.499 ms 0.349 ms 0.388 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.25 ms 0.219 ms 0.202 ms 2 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.414 ms 0.342 ms 0.377 ms 3 fdd7:e83e:66bc:87::18 (fdd7:e83e:66bc:87::18) 0.493 ms 0.362 ms 0.331 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.232 ms 0.196 ms 0.234 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.351 ms 0.315 ms 0.388 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.45 ms 0.367 ms 0.399 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.241 ms 0.217 ms 0.24 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.38 ms 0.344 ms 0.391 ms 3 fdd7:e83e:66bc:88::24 (fdd7:e83e:66bc:88::24) 0.44 ms 0.388 ms 0.369 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.244 ms 0.219 ms 0.255 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.392 ms 0.337 ms 0.341 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.401 ms 0.345 ms 0.371 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.224 ms 0.219 ms 0.175 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.404 ms 0.42 ms 0.326 ms 3 fdd7:e83e:66bc:89::24 (fdd7:e83e:66bc:89::24) 0.432 ms 0.34 ms 0.406 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.221 ms 0.203 ms 0.182 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.389 ms 0.334 ms 0.298 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.424 ms 0.34 ms 0.326 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.3 ms 0.281 ms 0.284 ms 2 fdd7:e83e:66bc:82::23 (fdd7:e83e:66bc:82::23) 0.365 ms 0.376 ms 0.336 ms 3 fdd7:e83e:66bc:83::24 (fdd7:e83e:66bc:83::24) 0.403 ms 0.354 ms 0.359 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.46s