bind9/bin/tests/system/proxy
Artem Boldariev 019555fb1d System test for PROXYv2
This commit adds a system test suite for PROXYv2. The idea on which it
is based is simple:

1. Firstly we check that 'allow-proxy' and 'allow-proxy-on' (whatever
is using the new 'isc_nmhandle_real_localaddr/peeraddr()') do what
they intended to do.

2. Anything else that needs an interface or peer address (ACL
functionality, for example) is using the old
'isc_nmhandle_localaddr/peeraddr()' - which are now returning
addresses received via PROXY (if any) instead of the real connection
addresses. The beauty of it that we DO NOT need to verify every bit of
the code relying on these functions: whatever works in one place will
work everywhere else, as these were the only functions that allowed
any higher level code to get peer and interface addresses.

This way it is relatively easy to see if PROXYv2 works as intended.
2023-12-06 15:15:25 +02:00
..
ns1 System test for PROXYv2 2023-12-06 15:15:25 +02:00
ns3 System test for PROXYv2 2023-12-06 15:15:25 +02:00
clean.sh System test for PROXYv2 2023-12-06 15:15:25 +02:00
prereq.sh System test for PROXYv2 2023-12-06 15:15:25 +02:00
self-signed-cert.pem System test for PROXYv2 2023-12-06 15:15:25 +02:00
self-signed-key.pem System test for PROXYv2 2023-12-06 15:15:25 +02:00
setup.sh System test for PROXYv2 2023-12-06 15:15:25 +02:00
tests.sh System test for PROXYv2 2023-12-06 15:15:25 +02:00
tests_sh_proxy.py System test for PROXYv2 2023-12-06 15:15:25 +02:00