linkerd2/test
Alejandro Pedraza 6d916dd80f
Test for validating proxy can't be used as an open relay (#7884)
* Test for validating proxy can't be used as open relay

Closes #7697

We setup two injected bb servers and an uninjected curl client. One of
the servers is injected in ingress mode. The curl client tries to
connect to it to the port 4140 while setting the `l5d-dst-override` header
to attempt a relay to the other server.

The first test shows this doesn't result in a relay. The second test
does the same, but changing LINKERD2_PROXY_OUTBOUND_LISTEN_ADDR in the
injected server proxy, making it listen on all addresses. In that case,
the relay succeeds.
2022-02-21 16:07:43 +00:00
..
cli tests: add exnternal-prometheus integration test (#5720) 2021-02-16 23:20:58 +05:30
integration Test for validating proxy can't be used as an open relay (#7884) 2022-02-21 16:07:43 +00:00