diff options
author | Kajetan Staszkiewicz <vegeta@tuxpowered.net> | 2024-09-28 13:37:45 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2024-09-28 16:54:50 +0000 |
commit | 6ffd4aeba5b997c4c538711d259200da193d949d (patch) | |
tree | e09a95937421daa06e9a20df9730e40c2427a55c /usr.bin/mt | |
parent | c284f45dc796693ef63ccb38df361968b733e294 (diff) | |
download | src-6ffd4aeba5b997c4c538711d259200da193d949d.tar.gz src-6ffd4aeba5b997c4c538711d259200da193d949d.zip |
pf tests: add a test for max-src-conn
Switch tests using pft_ping.py to inetd. Netcat can only accept a single
connection, we need multiple parallel connections to test max-src-conn. Use the
discard service and modify pft_ping.py to use proper port number.
Implement functionality of 3-way handshake test in pft_ping.py. Make send_params
accessible to sniffer, because answers to SYN+ACK packets should be send with
the same parameters as the original SYN packet.
Finally add a test for max-src-conn and overload.
Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D46798
Diffstat (limited to 'usr.bin/mt')
0 files changed, 0 insertions, 0 deletions