opnsense-src/tests/sys/netinet
Lutz Donnerhacke cfeeb57166 test/libalias: Tests for instantiation and outgoing NAT
In order to modify libalias for performance, the existing
functionality must not change.  Enforce this.

Testing LibAliasOut functionality. This concentrates the typical use
case of initiating data transfers from the inside.  Provide a
exhaustive test for the data structure in order to check for
performance improvements.

In order to compare upcoming changes for their effectivness, measure
performance by counting opertions and the runtime of each operation
over the time.  Accumulate all tests in a single instance, so make it
complicated over the time.  If you wait long enough, you will notice
the expiry of old flows.

Reviewed by:	kp
Differential Revision: https://reviews.freebsd.org/D30307
Differential Revision: https://reviews.freebsd.org/D30335
Differential Revision: https://reviews.freebsd.org/D30379

(cherry picked from commit 7fd8baee75)
(cherry picked from commit c1fbb54f4b)
(cherry picked from commit 33c1bdfc3e)
2021-05-29 15:09:55 +02:00
..
libalias test/libalias: Tests for instantiation and outgoing NAT 2021-05-29 15:09:55 +02:00
carp.sh ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
divert.sh Proper check if divert(4) module is present by the relevant tests 2020-05-27 16:33:00 +00:00
fibs.sh Add basic test for net.fibs dynamic growth. 2020-09-10 19:25:51 +00:00
fibs_test.sh Skip the right test case 2020-02-26 15:15:55 +00:00
forward.sh Add basic IPv4/IPv6 forwarding tests. 2020-03-10 19:52:19 +00:00
ip_reass_test.c Plug a trivial memory leak. 2018-11-20 18:13:18 +00:00
lpm.sh Add basic routing LPM tests. 2020-05-06 07:48:37 +00:00
Makefile test/libalias: Tests for instantiation and outgoing NAT 2021-05-29 15:09:55 +02:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
output.sh Try to enable multipath routing in flowid tests. 2020-10-16 21:51:17 +00:00
redirect.py Bring back redirect route expiration. 2020-01-22 13:53:18 +00:00
redirect.sh Fix dynamic redrects by adding forgotten RTF_HOST flag. 2020-03-03 15:33:43 +00:00
so_reuseport_lb_test.c Enable SO_LINGER to the so_reuseport_lb_test regression tests, preventing 2020-09-25 16:02:13 +00:00
socket_afinet.c Only skip sys.netinet.socket_afinet.socket_afinet_bind_zero in CI env 2020-04-20 14:24:13 +00:00
tcp_connect_port_test.c Add a regression test for the port-selection behavior fixed in r367680. 2020-11-14 15:44:28 +00:00
tcp_user_cookie.c Initial srv before using it in bind(2) 2017-05-28 09:08:30 +00:00
udp_dontroute.c Add fibs_test:udp_dontroute6, another IPv6 multi-FIB test 2017-02-07 17:40:59 +00:00