Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
fec79983
Commit
fec79983
authored
Sep 04, 2014
by
Mark Andrews
Browse files
3942. [bug] Wildcard responses from a optout range should be
marked as insecure. [RT #37072]
parent
c3d02211
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
fec79983
3942. [bug] Wildcard responses from a optout range should be
marked as insecure. [RT #37072]
3941. [doc] Include the BIND version number in the ARM. [RT #37067]
3940. [func] "rndc nta" now allows negative trust anchors to be
...
...
bin/tests/system/dnssec/tests.sh
View file @
fec79983
...
...
@@ -271,7 +271,7 @@ $DIG $DIGOPTS a.wild.optout.example. \
stripns dig.out.ns3.test
$n
>
dig.out.ns3.stripped.test
$n
stripns dig.out.ns4.test
$n
>
dig.out.ns4.stripped.test
$n
$PERL
../digcomp.pl dig.out.ns3.stripped.test
$n
dig.out.ns4.stripped.test
$n
||
ret
=
1
grep
"flags:.*ad.*QUERY"
dig.out.ns4.test
$n
>
/dev/null
||
ret
=
1
grep
"flags:.*ad.*QUERY"
dig.out.ns4.test
$n
>
/dev/null
&&
ret
=
1
grep
"status: NOERROR"
dig.out.ns4.test
$n
>
/dev/null
||
ret
=
1
n
=
`
expr
$n
+ 1
`
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
...
...
lib/dns/nsec3.c
View file @
fec79983
...
...
@@ -2071,6 +2071,9 @@ dns_nsec3_noexistnodata(dns_rdatatype_t type, dns_name_t* name,
if
((
nsec3
.
flags
&
DNS_NSEC3FLAG_OPTOUT
)
!=
0
)
(
*
logit
)(
arg
,
ISC_LOG_DEBUG
(
3
),
"NSEC3 indicates optout"
);
else
(
*
logit
)(
arg
,
ISC_LOG_DEBUG
(
3
),
"NSEC3 indicates secure range"
);
*
optout
=
ISC_TF
(
nsec3
.
flags
&
DNS_NSEC3FLAG_OPTOUT
);
}
...
...
lib/dns/validator.c
View file @
fec79983
...
...
@@ -2805,7 +2805,7 @@ nsecvalidate(dns_validator_t *val, isc_boolean_t resume) {
if
(
!
NEEDNODATA
(
val
)
&&
!
NEEDNOWILDCARD
(
val
)
&&
NEEDNOQNAME
(
val
))
{
if
(
!
FOUNDNOQNAME
(
val
))
findnsec3proofs
(
val
);
if
(
FOUNDNOQNAME
(
val
)
&&
FOUNDCLOSEST
(
val
))
{
if
(
FOUNDNOQNAME
(
val
)
&&
FOUNDCLOSEST
(
val
)
&&
!
FOUNDOPTOUT
(
val
)
)
{
validator_log
(
val
,
ISC_LOG_DEBUG
(
3
),
"marking as secure, noqname proof found"
);
marksecure
(
val
->
event
);
...
...
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