START sys/netinet/frag 2025-01-04T02:05:36Z 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.039 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.039/0.039/0.039/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.432 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.432/0.432/0.432/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.306 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.306/0.306/0.306/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=0xf32a 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=0xd937 ==== 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=0xe1e1 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=0xdc88 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=0x806f 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=0x263a 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=0x4043 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=0x91f0 ==== 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=0x2d45 ==== 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=0x8b57 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=0xd123 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=0x6a77 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=0x407 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=0x16e2 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x16e3 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x16e4 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x16e5 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x16e6 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x16e7 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=0xf04c .................................................. Sent 50 packets. id=0x22b1 reply cksum=0xf84c ==== 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=46460 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=4406 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=0x7601 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=0x35ef 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.204 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.204/0.204/0.204/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.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.415 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.415/0.415/0.415/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=0x46c 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=0x9827 ==== 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=0x711d 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=0xe111 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=0x5822 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=0x74ed 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=0x4300 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=0x99b4 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=0xb187 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=0xce08 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=0xe4f4 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=0xfdf6 ==== 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=0x1102 ==== 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=0x6474 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=0xc295 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=0xe28 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=0xb17f 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=0xeba9 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xebaa payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xebab payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xebac payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xebad payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xebae 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=0x1f35 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=0xa53c .................................................. Sent 50 packets. id=0x6dc1 reply cksum=0xad3c ==== 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=17339 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=15712 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=0x3c1f 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=0x6770 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.88s