START sys/netinet/frag 2025-02-17T05:18:34Z 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.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 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.282 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.282/0.282/0.282/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.449 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.449/0.449/0.449/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=0x397 payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_adjhole.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_adjhole.py overlapping ping fragments which modifies pf hole counter .... Sent 4 packets. id=0xc710 payload=b'ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP' ==== 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=0xab0b ==== 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=0xd318 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=0x730f 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=0x4e42 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=0xa0bc 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=0xfc4a payload=b'ABCDEFGHIJKLMNOP' ==== run-stack-frag_overhole.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhole.py ping fragment at index boundary which modifies pf hole counter . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0xca50 len=5164 ==== 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=0xc470 len=4124 ==== 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=0x90f3 len=5148 ==== 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=0x52dc 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=0x33ee 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=0xb0df 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=0x1140 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=0x412 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x413 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x414 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x415 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x416 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x417 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=0x1794 .................................................. Sent 50 packets. id=0xfb69 reply cksum=0x1f94 ==== 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=2212 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=16197 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=0x53a 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=0xa0c8 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.161 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.161/0.161/0.161/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.044 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.044/0.044/0.044/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.429 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.429/0.429/0.429/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=0x7321 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_adjhole.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_adjhole.py overlapping ping fragments which modifies pf hole counter .... Sent 4 packets. id=0xb54a payload=b'ABCDEFGHIJKLMNOPABCDEFGHIJKLMNOP' ==== 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=0x2a18 ==== 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=0x571f 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=0xb332 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=0xa17e 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=0xcfb2 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=0x67f3 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=0x5d21 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=0xfb45 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=0x672e 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=0xa594 payload=b'ABCDEFGHIJKLMNOP' ==== run-pf-frag_overhole.py ==== PYTHONPATH=/usr/src/regress/sys/netinet/frag/obj python3 -u /usr/src/regress/sys/netinet/frag/frag_overhole.py ping fragment at index boundary which modifies pf hole counter . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. . Sent 1 packets. id=0x7c15 len=5164 ==== 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=0xf530 len=4124 ==== 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=0x6da1 len=5148 ==== 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=0x7790 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=0x38fe 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=0x40b6 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=0xdc78 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=0x9f19 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x9f1a payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x9f1b payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x9f1c payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x9f1d payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x9f1e 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=0x246a 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=0x6ee7 .................................................. Sent 50 packets. id=0xa416 reply cksum=0x76e7 ==== 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=31419 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=35876 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=0x4b0a 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=0x3562 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 7m59.66s