summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/tsig_verify10.spec
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/tests/testdata/tsig_verify10.spec')
-rw-r--r--src/lib/dns/tests/testdata/tsig_verify10.spec22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/lib/dns/tests/testdata/tsig_verify10.spec b/src/lib/dns/tests/testdata/tsig_verify10.spec
new file mode 100644
index 0000000..33ce83e
--- /dev/null
+++ b/src/lib/dns/tests/testdata/tsig_verify10.spec
@@ -0,0 +1,22 @@
+#
+# A simple DNS query message with TSIG signed whose MAC is too short
+# (only 1 byte)
+#
+
+[custom]
+sections: header:question:tsig
+[header]
+id: 0x2d65
+rd: 1
+arcount: 1
+[question]
+name: www.example.com
+[tsig]
+as_rr: True
+# TSIG QNAME won't be compressed
+rr_name: www.example.com
+algorithm: hmac-md5
+time_signed: 0x4da8877a
+mac_size: 1
+mac: 0x22
+original_id: 0x2d65