START sys/netinet/frag 2025-01-12T05:26:38Z true ssh -t ot2 true Pseudo-terminal will not be allocated because stdin is not a terminal. rm -f stamp-stack stamp-pf ==== run-stack-ping ==== rm -f stamp-stack stamp-pf ssh ot2 pfctl -d pf disabled ssh ot2 pfctl -a regress -Fr rules cleared date >stamp-stack Check ping LOCAL_ADDR: 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.040 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.040/0.040/0.040/0.000 ms Check ping REMOTE_ADDR: 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.422 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.422/0.422/0.422/0.000 ms ==== run-stack-fragping ==== Check ping LOCAL_ADDR: ping -n -c 1 -s 5000 10.188.81.21 PING 10.188.81.21 (10.188.81.21): 5000 data bytes 5008 bytes from 10.188.81.21: icmp_seq=0 ttl=255 time=0.040 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.040/0.040/0.040/0.000 ms Check ping REMOTE_ADDR: ping -n -c 1 -s 5000 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 5000 data bytes 5008 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.436 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.436/0.436/0.436/0.000 ms ==== run-stack-frag.py ==== rm -f addr.py addr.py.tmp echo 'LOCAL_IF = "em2"' >>addr.py.tmp echo 'LOCAL_MAC = "90:e2:ba:a4:76:86"' >>addr.py.tmp echo 'REMOTE_MAC = "90:e2:ba:d8:67:2d"' >>addr.py.tmp echo 'LOCAL_ADDR = "10.188.81.21"' >>addr.py.tmp echo 'REMOTE_ADDR = "10.188.81.22"' >>addr.py.tmp mv addr.py.tmp addr.py PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag.py non-overlapping ping fragments .. Sent 2 packets. id=0x34ff payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_maxlen.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_maxlen.py fully fragmented maximum size ping packet, sent in random order . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0xa857 ==== run-stack-frag_maxpacket0.py ==== # the stack allows fragments with data behind maximum packt length DISABLED ==== run-stack-frag_mf0long.py ==== # the stack allows fragments with data behind a fragment without MF DISABLED ==== run-stack-frag_mf0middle.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_mf0middle.py ping fragment without MF that overlaps the first fragment ... Sent 3 packets. id=0x61ba payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_mf0short.py ==== # the stack allows fragments without MF ending before other fragments DISABLED ==== run-stack-frag_mf1end.py ==== # the stack allows fragments with MF together with fragments without MF DISABLED ==== run-stack-frag_opt.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_opt.py ping fragments with IP option .. Sent 2 packets. id=0x5bb7 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overhead.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhead.py ping fragment that overlaps the second fragment with its head ... Sent 3 packets. id=0x23d7 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overhead0.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhead0.py ping fragment that overlaps the first fragment with its head .. Sent 2 packets. id=0x73b1 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overhead1.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhead1.py ping fragment head that overlaps the first fragment completely ... Sent 3 packets. id=0xd3ec payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overindex.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overindex.py ping fragment that overlaps the first fragment at index boundary . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0xe65b ==== run-stack-frag_overlimit.py ==== # the stack does not limit the amount of fragments during reassembly DISABLED ==== run-stack-frag_overreplace.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overreplace.py ping fragment that overlaps fragment at index boundary and replace it . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0x26ad ==== run-stack-frag_overtail.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overtail.py ping fragment that overlaps the second fragment with its tail ... Sent 3 packets. id=0x3030 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overtail0.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overtail0.py ping fragment that overlaps the first fragment with its tail .. Sent 2 packets. id=0x718c payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overtail1.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overtail1.py ping fragment tail that overlaps the first fragment completely ... Sent 3 packets. id=0x9dad payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_padding.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_padding.py non-overlapping ping fragments with ethernet padding .. Sent 2 packets. id=0x20d9 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_permute.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_permute.py send 3 non-overlapping ping fragments in all possible orders ... Sent 3 packets. id=0x83cf payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x83d0 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x83d1 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x83d2 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x83d3 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x83d4 payload=b'ABCDEFGHIJKLMNOP' permutation done ==== run-stack-frag_queuelimit.py ==== # the stack does not limit the amount of fragments during reassembly DISABLED ==== run-stack-frag_refrag.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_refrag.py fragments of a large packet that has to be refragmented by reflector request cksum=0x8dd0 .................................................. Sent 50 packets. id=0x852d reply cksum=0x95d0 ==== run-stack-frag_timeout.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_timeout.py 6 non-overlapping ping fragments in 75 seconds, timeout is 60 . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. no echo reply ==== run-stack-frag_udpheader.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_udpheader.py udp fragments splitted after udp header .. Sent 2 packets. port=26515 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_udppayload.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_udppayload.py udp fragments with splitted payload .. Sent 2 packets. port=6120 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_zerofirst.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_zerofirst.py ping fragment without payload before first fragment ... Sent 3 packets. id=0x77dc payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_zerosecond.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_zerosecond.py ping fragment without payload after first fragment ... Sent 3 packets. id=0xf6a6 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-ping ==== rm -f stamp-stack stamp-pf cat addr.py /usr/src/regress/sys/netinet/frag/pf.conf | /sbin/pfctl -n -f - cat addr.py /usr/src/regress/sys/netinet/frag/pf.conf | ssh ot2 pfctl -a regress -f - ssh ot2 pfctl -e pf enabled date >stamp-pf Check ping LOCAL_ADDR: 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.045 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.045/0.045/0.045/0.000 ms Check ping REMOTE_ADDR: 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.192 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.192/0.192/0.192/0.000 ms ==== run-pf-fragping ==== Check ping LOCAL_ADDR: ping -n -c 1 -s 5000 10.188.81.21 PING 10.188.81.21 (10.188.81.21): 5000 data bytes 5008 bytes from 10.188.81.21: icmp_seq=0 ttl=255 time=0.042 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.042/0.042/0.042/0.000 ms Check ping REMOTE_ADDR: ping -n -c 1 -s 5000 10.188.81.22 PING 10.188.81.22 (10.188.81.22): 5000 data bytes 5008 bytes from 10.188.81.22: icmp_seq=0 ttl=255 time=0.334 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.334/0.334/0.334/0.000 ms ==== run-pf-frag.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag.py non-overlapping ping fragments .. Sent 2 packets. id=0x5d17 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_maxlen.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_maxlen.py fully fragmented maximum size ping packet, sent in random order . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0x9bff ==== run-pf-frag_maxpacket0.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_maxpacket0.py send first ping fragment that ends behind ip max packet size ... Sent 3 packets. id=0x7e20 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_mf0long.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_mf0long.py ping fragment that overlaps longer than the last fragment without MF ... Sent 3 packets. id=0x22ef payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_mf0middle.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_mf0middle.py ping fragment without MF that overlaps the first fragment ... Sent 3 packets. id=0xdf93 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_mf0short.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_mf0short.py ping fragment without MF that overlaps the last fragment at beginning ... Sent 3 packets. id=0x8806 payload=b'ABCDEFGHIJKLMNOPQRSTUVWX' ==== run-pf-frag_mf1end.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_mf1end.py ping fragment with MF that overlaps fragment without MF at the end ... Sent 3 packets. id=0x1795 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_opt.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_opt.py ping fragments with IP option .. Sent 2 packets. id=0x7f1 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overhead.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhead.py ping fragment that overlaps the second fragment with its head ... Sent 3 packets. id=0x5185 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overhead0.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhead0.py ping fragment that overlaps the first fragment with its head .. Sent 2 packets. id=0x735f payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overhead1.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhead1.py ping fragment head that overlaps the first fragment completely ... Sent 3 packets. id=0x90ab payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overindex.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overindex.py ping fragment that overlaps the first fragment at index boundary . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0xdde ==== run-pf-frag_overlimit.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overlimit.py ping fragment at index boundary that cannot be requeued . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. no echo reply ==== run-pf-frag_overreplace.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overreplace.py ping fragment that overlaps fragment at index boundary and replace it . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0x80bd ==== run-pf-frag_overtail.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overtail.py ping fragment that overlaps the second fragment with its tail ... Sent 3 packets. id=0x67af payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overtail0.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overtail0.py ping fragment that overlaps the first fragment with its tail .. Sent 2 packets. id=0x6ae9 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overtail1.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overtail1.py ping fragment tail that overlaps the first fragment completely ... Sent 3 packets. id=0x5373 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_padding.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_padding.py non-overlapping ping fragments with ethernet padding .. Sent 2 packets. id=0x29aa payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_permute.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_permute.py send 3 non-overlapping ping fragments in all possible orders ... Sent 3 packets. id=0x5d13 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x5d14 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x5d15 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x5d16 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x5d17 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x5d18 payload=b'ABCDEFGHIJKLMNOP' permutation done ==== run-pf-frag_queuelimit.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_queuelimit.py drop too long fragment queue, reassemble less fragments . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0xa718 payload=b'ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP' echo reply from 64 fragments ==== run-pf-frag_refrag.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_refrag.py fragments of a large packet that has to be refragmented by reflector request cksum=0x941 .................................................. Sent 50 packets. id=0x9bd reply cksum=0x1141 ==== run-pf-frag_timeout.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_timeout.py 6 non-overlapping ping fragments in 75 seconds, timeout is 60 . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. no echo reply ==== run-pf-frag_udpheader.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_udpheader.py udp fragments splitted after udp header .. Sent 2 packets. port=19917 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_udppayload.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_udppayload.py udp fragments with splitted payload .. Sent 2 packets. port=8800 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_zerofirst.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_zerofirst.py ping fragment without payload before first fragment ... Sent 3 packets. id=0x5736 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_zerosecond.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_zerosecond.py ping fragment without payload after first fragment ... Sent 3 packets. id=0x6d3d payload=b'ABCDEFGHIJKLMNOP' ==== cleanup-pf ==== rm -f stamp-stack stamp-pf ssh ot2 pfctl -a regress -Fa 0 tables deleted. rules cleared ssh ot2 pfctl -e || true pfctl: pf already enabled PASS sys/netinet/frag Duration 7m40.19s