diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-11-02 23:59:01 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-04 12:04:32 +0100 |
commit | db74679f98296dacf2f162471c8bc558447c8f1a (patch) | |
tree | cd46e155fa6d9e9eaf853e4c5dc588c363e5ae06 /test/lib/setup | |
parent | 73f50a76aac20a9c2fda67c5eba25661e2ebb119 (diff) | |
download | passt-db74679f98296dacf2f162471c8bc558447c8f1a.tar passt-db74679f98296dacf2f162471c8bc558447c8f1a.tar.gz passt-db74679f98296dacf2f162471c8bc558447c8f1a.tar.bz2 passt-db74679f98296dacf2f162471c8bc558447c8f1a.tar.lz passt-db74679f98296dacf2f162471c8bc558447c8f1a.tar.xz passt-db74679f98296dacf2f162471c8bc558447c8f1a.tar.zst passt-db74679f98296dacf2f162471c8bc558447c8f1a.zip |
udp: Check for answers to forwarded DNS queries before handling local redirects
Now that we allow loopback DNS addresses to be used as targets for
forwarding, we need to check if DNS answers come from those targets,
before deciding to eventually remap traffic for local redirects.
Otherwise, the source address won't match the one configured as
forwarder, which means that the guest or the container will refuse
those responses.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/setup')
0 files changed, 0 insertions, 0 deletions