START sys/kern/sosplice/scapy 2025-01-17T04:33:16Z true ssh -t ot2 true Pseudo-terminal will not be allocated because stdin is not a terminal. ==== run-scapy-delay-oobinline.py ==== rm -f addr.py addr.py.tmp echo 'LOCAL_IF = "em2"' >>addr.py.tmp echo 'LOCAL_ADDR = "10.188.81.21"' >>addr.py.tmp echo 'REMOTE_ADDR = "10.188.81.22"' >>addr.py.tmp echo 'FAKE_NET_ADDR = "10.188.80.188"' >>addr.py.tmp echo 'FAKE_NET = "10.188.80.0/24"' >>addr.py.tmp mv addr.py.tmp addr.py echo 'pass on em2 no state' | pfctl -a regress -f - time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-delay-oobinline.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-delay-oobinline.py", line 32, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-delay-oobinline.py 57695 11944' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-delay-oobinline.py') FAILED ==== run-scapy-delay-synack.py ==== time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-delay-synack.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-delay-synack.py", line 32, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-delay-synack.py 33983 32307' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-delay-synack.py') FAILED ==== run-scapy-handshake.py ==== time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-handshake.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-handshake.py", line 32, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-handshake.py 10195 18308' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-handshake.py') FAILED ==== run-scapy-oobinline-delay-connect.py ==== time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-oobinline-delay-connect.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-oobinline-delay-connect.py", line 33, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-oobinline-delay-connect.py 54038 42116' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-oobinline-delay-connect.py') FAILED ==== run-scapy-oobinline.py ==== time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-oobinline.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-oobinline.py", line 32, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-oobinline.py 38067 15223' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-oobinline.py') FAILED ==== run-scapy-payload-delay-connect.py ==== time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-payload-delay-connect.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-payload-delay-connect.py", line 33, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-payload-delay-connect.py 52926 20265' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-payload-delay-connect.py') FAILED ==== run-scapy-payload.py ==== time SUDO="" PYTHON="PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u" perl -I/usr/src/regress/sys/kern/sosplice/scapy/.. /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl splice 10.188.80.188 10.188.81.22 ot2 /usr/src/regress/sys/kern/sosplice/scapy/scapy-payload.py Send SYN packet, receive SYN+ACK /usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:726: SyntaxWarning: 'iface' has no effect on L3 I/O sr1(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast warnings.warn( Traceback (most recent call last): File "/usr/src/regress/sys/kern/sosplice/scapy/scapy-payload.py", line 32, in synack=sr1(ip/syn, iface=LOCAL_IF, timeout=5) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 732, in sr1 ans, _ = sr(*args, **kargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 705, in sr iface, ipv6 = _interface_selection(x) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py", line 676, in _interface_selection iff = resolve_iface(_iff or conf.iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 434, in resolve_iface return resolve_iface(dev, retry=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/scapy/interfaces.py", line 431, in resolve_iface raise ValueError("Interface '%s' not found !" % dev) ValueError: Interface 'em2' not found ! Scapy script 'PYTHONPATH=/usr/src/regress/sys/kern/sosplice/scapy/obj python3 -u /usr/src/regress/sys/kern/sosplice/scapy/scapy-payload.py 25045 8100' failed: 256 at /usr/src/regress/sys/kern/sosplice/scapy/scapy.pl line 125. *** Error 1 in . (Makefile:131 'run-scapy-payload.py') FAILED ==== cleanup ==== pfctl -a regress -Fr rules cleared rm -f stamp-pfctl FAIL sys/kern/sosplice/scapy *** Error 1 in . (Makefile:131 'run-scapy-delay-oobinline.py'), *** Error 1 in . (Makefile:131 'run-scapy-delay-synack.py'), *** Error 1 in . (Makefile:131 'run-scapy-handshake.py'), *** Error 1 in . (Makefile:131 'run-scapy-oobinline-delay-connect.py'), *** Error 1 in . (Makefile:131 'run-scapy-oobinline.py'), *** Error 1 in . (Makefile:131 'run-scapy-payload-delay-connect.py'), *** Error 1 in . (Makefile:131 'run-scapy-payload.py')