START sys/netinet/frag 2025-02-06T05:12:38Z true ssh -t ot2 true Pseudo-terminal will not be allocated because stdin is not a terminal. rm -f stamp-stack stamp-pf ==== run-stack-ping ==== rm -f stamp-stack stamp-pf ssh ot2 pfctl -d pf disabled ssh ot2 pfctl -a regress -Fr rules cleared date >stamp-stack Check ping LOCAL_ADDR: ping -n -c 1 10.188.81.21 PING 10.188.81.21 (10.188.81.21): 56 data bytes 64 bytes from 10.188.81.21: icmp_seq=0 ttl=255 time=0.053 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.053/0.053/0.053/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.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-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.358 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.358/0.358/0.358/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=0x2c30 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=0x1e67 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=0x394d ==== 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=0xafdb 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=0x6325 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=0x2518 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=0xf657 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=0x420e 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=0x7896 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=0xdc55 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=0x405d 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=0x66b 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=0x69f0 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=0x67af 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=0x53d3 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=0x29ac payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x29ad payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x29ae payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x29af payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x29b0 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x29b1 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=0xabd1 .................................................. Sent 50 packets. id=0x672c reply cksum=0xb3d1 ==== 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=11761 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=28246 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=0x28fe 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=0x6a88 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.046 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.046/0.046/0.046/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.217 ms --- 10.188.81.22 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.217/0.217/0.217/0.000 ms ==== run-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.041 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.041/0.041/0.041/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.443 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.443/0.443/0.443/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=0x6b23 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=0x113e 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=0x450f ==== 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=0xb931 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=0xba38 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=0x74ad 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=0x1b66 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=0x21ff 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=0x74f3 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=0x46b4 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=0x2033 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=0x6762 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=0x1387 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=0x79f0 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=0x8b9 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=0x91ea 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=0x3b3a 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=0x7377 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=0x2a83 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=0x8245 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x8246 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x8247 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x8248 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x8249 payload=b'ABCDEFGHIJKLMNOP' ... Sent 3 packets. id=0x824a 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=0x4b7a 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=0x6ee2 .................................................. Sent 50 packets. id=0xa41b reply cksum=0x76e2 ==== 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=32772 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=39348 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=0x773 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=0x3ee9 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.52s