]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix forwarded TSIG message issue
authorRuben d'Arco <cyclops@prof-x.net>
Wed, 27 Aug 2014 08:06:45 +0000 (10:06 +0200)
committerRuben d'Arco <cyclops@prof-x.net>
Wed, 27 Aug 2014 08:17:43 +0000 (10:17 +0200)
commitc48dec72a112aa7a5beeff907adfefd80b6c5287
tree68ddd2207e27c1460a4d5e8af9bc851c4f8209cc
parentcbd17382af06e468575c691f646fc0984b39901e
Fix forwarded TSIG message issue

The TSIG message was not validated correctly if the dns update message was forwarded by a slave.
The forwarded message get's a new ID, this means the TSIG signature is now invalid as the bytes that are calculated for the TSIG are different.
The TSIG record contains the original ID, so this replace the new id with the original ID and this makes the message valid again.
pdns/dnssecinfra.cc