Skip to content
GitLab
Projects
Groups
Snippets
/
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
a7ec7eb6
Commit
a7ec7eb6
authored
Jul 24, 2019
by
Mark Andrews
Browse files
check that bits 64..71 in a dns64 prefix are zero
parent
06d8b107
Changes
12
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/dns64/conf/bad10.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
0100
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad11.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
0200
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad12.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
0400
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad13.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
0800
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad14.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
1000
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad15.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
2000
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad16.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
4000
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad17.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
0000
:
0000
:
0000
:
0000
:
8000
:
000
f
::/
96
{ }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad18.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
::/
32
{
suffix
::
8000
:
0000
:
0000
:
0000
; }; /*
bits
[
64
..
71
]
MBZ
*/
};
bin/tests/system/dns64/conf/bad19.conf
0 → 100644
View file @
a7ec7eb6
options
{
dns64
::/
32
{
suffix
::
0100
:
0000
:
0000
:
0000
; }; /*
bits
[
64
..
71
]
MBZ
*/
};
doc/arm/Bv9ARM-book.xml
View file @
a7ec7eb6
...
...
@@ -5148,7 +5148,9 @@ options {
</para>
<para>
Compatible IPv6 prefixes have lengths of 32, 40, 48, 56,
64 and 96 as per RFC 6052.
64 and 96 as per RFC 6052. Bits 64..71 inclusive must
be zero with the most significate bit of the prefix in
position 0.
</para>
<para>
Additionally a reverse IP6.ARPA zone will be created for
...
...
lib/bind9/check.c
View file @
a7ec7eb6
...
...
@@ -526,6 +526,13 @@ check_dns64(cfg_aclconfctx_t *actx, const cfg_obj_t *voptions,
continue
;
}
if
(
na
.
type
.
in6
.
s6_addr
[
8
]
!=
0
)
{
cfg_obj_log
(
map
,
logctx
,
ISC_LOG_ERROR
,
"invalid prefix, bits [64..71] must be zero"
);
result
=
ISC_R_FAILURE
;
continue
;
}
if
(
prefixlen
!=
32
&&
prefixlen
!=
40
&&
prefixlen
!=
48
&&
prefixlen
!=
56
&&
prefixlen
!=
64
&&
prefixlen
!=
96
)
{
cfg_obj_log
(
map
,
logctx
,
ISC_LOG_ERROR
,
...
...
Mark Andrews
@marka
mentioned in commit
f0fa5ce3
·
Jul 31, 2019
mentioned in commit
f0fa5ce3
mentioned in commit f0fa5ce397d00c5a2f5f0c0c43a721ad86ba3d35
Toggle commit list
Mark Andrews
@marka
mentioned in commit
30f5a993
·
Jul 31, 2019
mentioned in commit
30f5a993
mentioned in commit 30f5a99364acbe543266500ed28d47093968a869
Toggle commit list
Matthijs Mekking
🏡
@matthijs
mentioned in issue
#2127 (closed)
·
Sep 10, 2020
mentioned in issue
#2127 (closed)
mentioned in issue #2127
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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