This project has moved and is read-only. For the latest updates, please go here.
1

Closed

TSIG signing do not work

description

It seems that TSIG signing does not work, everything is met with FORMERR responses.

It appears that the TSIG record is encoded incorrectly, specifically the TTL appears to be included twice, offsetting everything after it.

TSigRecord.Encode has:
        EncodeRecordHeader(messageData, offset, ref currentPosition, domainNames, false);
        DnsMessageBase.EncodeInt(messageData, ref currentPosition, TimeToLive);
but DnsRecordBase.EncodeRecordHeader already includes the TTL.
Closed Jun 8, 2016 at 6:47 PM by AlexReinert
Fixed in 2.2.5

comments