START	sys/net/pf_state	2025-03-17T16:49:53Z

true
ssh -t ot2  true
Pseudo-terminal will not be allocated because stdin is not a terminal.
rm -f stamp-pfctl

==== run-challenge-ack ====
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
cat addr.py /usr/src/regress/sys/net/pf_state/pf.conf | /sbin/pfctl -n -f -
cat addr.py /usr/src/regress/sys/net/pf_state/pf.conf |  ssh ot2  pfctl -a regress -f -
echo 'pass on em2 no state' |  pfctl -a regress -f -
PYTHONPATH=/usr/src/regress/sys/net/pf_state/obj python3 -u /usr/src/regress/sys/net/pf_state/challenge_ack.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(
Begin emission
...*
Finished sending 1 packets

Received 4 packets, got 1 answers, remaining 0 packets
Send ACK packet to finish handshake.
/usr/local/lib/python3.12/site-packages/scapy/sendrecv.py:479: SyntaxWarning: 'iface' has no effect on L3 I/O send(). For multicast/link-local see https://scapy.readthedocs.io/en/latest/usage.html#multicast
  warnings.warn(
.
Sent 1 packets.
Connection is established, send bogus SYN, expect challenge ACK
.
Sent 1 packets.

==== cleanup ====
pfctl -a regress -Fr
rules cleared
rm -f stamp-pfctl

PASS	sys/net/pf_state	Duration 0m04.04s