]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: clear the AD bit for bypass packets
authorRonan Pigott <ronan@rjp.ie>
Mon, 26 Aug 2024 08:39:20 +0000 (01:39 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 26 Aug 2024 15:57:37 +0000 (16:57 +0100)
commit13e15dae9f0b4566d3ea2ed058a5dd44751216da
tree7ca092c46401c2f4a616dd9c123c70066755400c
parent3fcf2a2a39b128d530a32604b47b4707fc18ca7a
resolved: clear the AD bit for bypass packets

When the bypass logic is invoked, such as for queries to the stub with
the DO bit set, be certain to clear the AD bit in the reply before
forwarding it if the answer is not known to be authentic.
src/resolve/resolved-dns-packet.h
src/resolve/resolved-dns-stub.c