Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
e5f02c14
Commit
e5f02c14
authored
Mar 10, 2021
by
Dag-Erling Smørgrav
Browse files
Fix local-unbound setup for some IPv6 deployments.
PR: 250984 MFC after: 1 week
parent
7e7f7bee
Changes
1
Hide whitespace changes
Inline
Side-by-side
usr.sbin/unbound/setup/local-unbound-setup.sh
View file @
e5f02c14
...
...
@@ -66,7 +66,7 @@ bkext=$(date "+%Y%m%d.%H%M%S")
RE_octet
=
"([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])"
RE_ipv4
=
"(
${
RE_octet
}
(
\\
.
${
RE_octet
}
){3})"
RE_word
=
"([0-9A-Fa-f]{1,4})"
RE_ipv6
=
"((
${
RE_word
}
:){1,}(:|(:
${
RE_word
}
)*)|::1)"
RE_ipv6
=
"((
${
RE_word
}
:){1,}(:|
${
RE_word
}
?
(:
${
RE_word
}
)*)|::1)"
RE_port
=
"([1-9][0-9]{0,3}|[1-5][0-9]{4,4}|6([0-4][0-9]{3}|5([0-4][0-9]{2}|5([0-2][0-9]|3[0-5]))))"
RE_dnsname
=
"([0-9A-Za-z-]{1,}(
\\
.[0-9A-Za-z-]{1,})*
\\
.?)"
RE_forward_addr
=
"((
${
RE_ipv4
}
|
${
RE_ipv6
}
)(@
${
RE_port
}
)?)"
...
...
HardenedBSD Services
@hardenedbsd-services
mentioned in commit
34e12e9a
·
Mar 24, 2021
mentioned in commit
34e12e9a
mentioned in commit 34e12e9a177a1d2386a855eb5a497f6f8a680180
Toggle commit list
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