Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DNS-Compliance-Testing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
DNS-Compliance-Testing
Commits
480c2e1a
Commit
480c2e1a
authored
Nov 16, 2017
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notimpl should be notimp; add types AVC and DOA
parent
ced1b7b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
genreport.c
genreport.c
+7
-3
No files found.
genreport.c
View file @
480c2e1a
...
...
@@ -66,6 +66,8 @@
#define ns_t_eui64 109
#define ns_t_uri 256
#define ns_t_caa 257
#define ns_t_avc 258
#define ns_t_doa 259
#define ns_t_ta 32768
#define ns_t_dlv 32769
...
...
@@ -319,6 +321,8 @@ static struct {
{
"EUI64"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ns_t_eui64
},
{
"URI"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ns_t_uri
},
{
"CAA"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ns_t_caa
},
{
"AVC"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ns_t_avc
},
{
"DOA"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ns_t_doa
},
{
"DLV"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ns_t_dlv
},
{
"TYPE1000"
,
TYPE
,
0
,
""
,
0
,
0x0000
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1000
}
};
...
...
@@ -1107,7 +1111,7 @@ rcodetext(int code) {
case
ns_r_formerr
:
return
(
"formerr"
);
case
ns_r_servfail
:
return
(
"servfail"
);
case
ns_r_nxdomain
:
return
(
"nxdomain"
);
case
ns_r_notimpl
:
return
(
"notimp
l
"
);
case
ns_r_notimpl
:
return
(
"notimp"
);
case
ns_r_refused
:
return
(
"refused"
);
case
ns_r_yxdomain
:
return
(
"yxdomain"
);
case
ns_r_yxrrset
:
return
(
"yxrrset"
);
...
...
@@ -1742,8 +1746,8 @@ process(struct workitem *item, unsigned char *buf, int buflen) {
addtag
(
item
,
"soa"
),
ok
=
0
;
if
(
seenecho
)
addtag
(
item
,
"echoed"
),
ok
=
0
;
if
(
seen
rrsig
&&
(
opts
[
item
->
test
].
flags
&
0x8000
)
!=
0
&&
(
ednsttl
&
0x8000
)
==
0
)
if
(
seen
opt
&&
(
opts
[
item
->
test
].
flags
&
0x8000
)
!=
0
&&
(
ednsttl
&
0x8000
)
==
0
)
addtag
(
item
,
"nodo"
),
ok
=
0
;
/* AA is only defined for QUERY */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment