]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more / fixed error tests
authorAlan T. DeKok <aland@freeradius.org>
Thu, 7 Oct 2021 22:00:44 +0000 (18:00 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 7 Oct 2021 22:01:37 +0000 (18:01 -0400)
src/tests/unit/protocols/dns/error.txt

index 115948c2795e9c7d15f07a0a2185e8285ccb6abc..924afc44379ae25d847c086e43f66ec0c9413595 100644 (file)
@@ -10,10 +10,13 @@ match Failed decoding NS - ns structure at count 1/24576 overflows the packet
 
 #                                                 256 bytes of data
 decode-proto 44 81 9a 97 00 00 00 00 00 01 00 00  01 00 00 00 2d 00 00 dc dc 23
-match packet = { id = 17537, query = response, opcode = 3, authoritative = no, truncated-response = yes, recursion-desired = no, recursion-available = yes, reserved = no, authentic-data = no, checking-disabled = yes, rcode = yx-rr-set, qdcount = 0, ancount = 0, nscount = 1, arcount = 0 }, ns = { raw.name = 0x010000002d0000dcdc23 }
+match packet = { id = 17537, query = response, opcode = 3, authoritative = no, truncated-response = yes, recursion-desired = no, recursion-available = yes, reserved = no, authentic-data = no, checking-disabled = yes, rcode = yx-rr-set, qdcount = 0, ancount = 0, nscount = 1, arcount = 0 }, raw.ns = 0x010000002d0000dcdc23
 
 decode-proto 20 20 20 20 20 20 20 20 20 20 20 20 ff
 match Failed decoding questions - question structure at count 1/8224 overflows the packet
 
+decode-proto 2020 2020 0000 2020 2020 2020 012d 0000 0c20 2020 2020 2000 2520 2020 2020 ff20 2020 2020 2020 ff20 2020 2020 2020 20202020 2020 2020 2020 2020 20ff 2020 c00d
+match Failed decoding RRs - rr structure at count 2/8224 overflows the packet
+
 count
-match 8
+match 10