]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lua: ensure answer_clear() keeps original EDNS
authorTomas Krizek <tomas.krizek@nic.cz>
Fri, 19 Nov 2021 16:25:33 +0000 (17:25 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 23 Nov 2021 17:28:06 +0000 (18:28 +0100)
commit88706a8865ea892bc02ee446e8d5d4e25ec24712
tree0aa2ae477cb295c11a7923b5b6b61bb88a2aa312
parent1387e4aff22ddb25faf533981c6157ffb04a1d69
lua: ensure answer_clear() keeps original EDNS

Answers to EDNS requests from certain lua policies that use the
answer_clear() function would lack OPT RR and thus violate the MUST
condition in RFC6891.6.1.1.
NEWS
daemon/lua/kres-gen-29.lua
daemon/lua/kres-gen-31.lua
daemon/lua/kres-gen.sh
daemon/lua/kres.lua
lib/resolve.c
lib/resolve.h
modules/policy/policy.lua