START sys/netinet/frag 2025-02-12T23:30:15Z 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.054 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.054/0.054/0.054/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.414 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.414/0.414/0.414/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.054 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.054/0.054/0.054/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-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=0x10f7 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=0x639e 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=0x2d56 ==== 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=0xa55 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=0x618b 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=0xf0a1 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=0xc180 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=0x4205 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=0x5f37 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=0x385e 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=0x4a50 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=0xc41d 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=0x78f5 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=0x100c 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=0x1a57 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=0x52e7 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x52e8 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x52e9 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x52ea payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x52eb payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x52ec 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=0xd6f7 .................................................. Sent 50 packets. id=0x3c06 reply cksum=0xdef7 ==== 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=5098 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=17402 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=0x7f6e 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=0x6deb 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.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.440 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.440/0.440/0.440/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=0x96b9 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=0x785f 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=0x163c ==== 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=0xed59 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=0xa646 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=0x470d 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=0x75b5 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=0x2126 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=0x4446 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=0xa653 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=0x43e 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=0xb460 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=0x2d52 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=0x78d5 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=0x5e26 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=0x9cd2 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=0x3964 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=0x4140 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=0x5ec3 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=0xc39 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xc3a payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xc3b payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xc3c payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xc3d payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0xc3e 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=0xd864 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=0x2bbf .................................................. Sent 50 packets. id=0xe73e reply cksum=0x33bf ==== 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=58382 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=65139 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=0x6940 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=0x92a6 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.61s