]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/resolver.cc
Refactoring of the TSIG handling 5003/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Sun, 12 Feb 2017 22:45:39 +0000 (23:45 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 Feb 2017 13:36:46 +0000 (14:36 +0100)
commitea3816cf5f05d1fa307c518d664c9c4740ca32fc
tree2c2a1ebd8bf3fe94610b2097ecbcf5b95d3b5a9d
parent897b60614aa0bca3adaaf10493b44cfce4d82727
Refactoring of the TSIG handling

* Merge all the TSIG checks into `validateTSIG()` to remove
code duplication and make it easier to audit
* Add unit tests
17 files changed:
pdns/Makefile.am
pdns/dnspacket.cc
pdns/dnspacket.hh
pdns/dnssecinfra.cc
pdns/dnssecinfra.hh
pdns/ixfr.cc
pdns/ixplore.cc
pdns/mastercommunicator.cc
pdns/packethandler.cc
pdns/resolver.cc
pdns/rfc2136handler.cc
pdns/saxfr.cc
pdns/slavecommunicator.cc
pdns/tcpreceiver.cc
pdns/test-tsig.cc [new file with mode: 0644]
pdns/tsig-tests.cc
pdns/tsigverifier.cc