]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: add DNSAction::Action::SpoofPacket so that spoofing can be done within a... 11051/head
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Fri, 3 Dec 2021 11:13:38 +0000 (12:13 +0100)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Fri, 3 Dec 2021 11:15:43 +0000 (12:15 +0100)
commit0d9e5508794335fbb4b106910b1ecbdaba5e7acf
tree88e11fd64e7b2d4380493c96599d83dbe2d96c47
parent1907b33071e18dee044efdbc5a084bc7f7451e1d
dnsdist: add DNSAction::Action::SpoofPacket so that spoofing can be done within a regular LuaAction
- fix small (and bigger) nits reported by rgacogne, thanks.
- update regression tests with better boundaries on queries beeing spoofed
pdns/dnsdist-lua-actions.cc
pdns/dnsdist-lua-vars.cc
pdns/dnsdist.cc
pdns/dnsdist.hh
pdns/dnsdistdist/docs/reference/constants.rst
pdns/dnsdistdist/docs/rules-actions.rst
regression-tests.dnsdist/test_Spoofing.py