]> granicus.if.org Git - pdns/commit
dnsdist: Merge the client and server nonces to prevent replay attacks
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 23 Dec 2016 10:52:43 +0000 (11:52 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Jan 2017 11:33:09 +0000 (12:33 +0100)
commit333ea16e1c27c1e4698eb50c37291608e5e38b7e
tree90e536b854a6e614b4596fab2b42de28a2912c75
parent03a6e4644affcc822434aad06f749eead687ea78
dnsdist: Merge the client and server nonces to prevent replay attacks

Instead of using the local nonce to send messages (and so the remote
one for received ones), split and merge the local and remote nonces
to create two new nonces, one for client to server and one for server
to client.
pdns/dnsdist-console.cc
pdns/sodcrypto.hh
regression-tests.dnsdist/dnsdisttests.py