- djm@cvs.openbsd.org 2013/10/16 22:49:39
[readconf.c readconf.h ssh.1 ssh.c ssh_config.5] s/canonicalise/canonicalize/ for consistency with existing spelling, e.g. authorized_keys; pointed out by naddy@
This commit is contained in:
parent
607af3434b
commit
3850559be9
|
@ -16,6 +16,10 @@
|
||||||
- jmc@cvs.openbsd.org 2013/10/16 06:42:25
|
- jmc@cvs.openbsd.org 2013/10/16 06:42:25
|
||||||
[ssh_config.5]
|
[ssh_config.5]
|
||||||
tweak previous;
|
tweak previous;
|
||||||
|
- djm@cvs.openbsd.org 2013/10/16 22:49:39
|
||||||
|
[readconf.c readconf.h ssh.1 ssh.c ssh_config.5]
|
||||||
|
s/canonicalise/canonicalize/ for consistency with existing spelling,
|
||||||
|
e.g. authorized_keys; pointed out by naddy@
|
||||||
|
|
||||||
20131015
|
20131015
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
|
50
readconf.c
50
readconf.c
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: readconf.c,v 1.208 2013/10/16 02:31:45 djm Exp $ */
|
/* $OpenBSD: readconf.c,v 1.209 2013/10/16 22:49:38 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -144,8 +144,8 @@ typedef enum {
|
||||||
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand,
|
oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand,
|
||||||
oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication,
|
oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication,
|
||||||
oKexAlgorithms, oIPQoS, oRequestTTY, oIgnoreUnknown, oProxyUseFdpass,
|
oKexAlgorithms, oIPQoS, oRequestTTY, oIgnoreUnknown, oProxyUseFdpass,
|
||||||
oCanonicalDomains, oCanonicaliseHostname, oCanonicaliseMaxDots,
|
oCanonicalDomains, oCanonicalizeHostname, oCanonicalizeMaxDots,
|
||||||
oCanonicaliseFallbackLocal, oCanonicalisePermittedCNAMEs,
|
oCanonicalizeFallbackLocal, oCanonicalizePermittedCNAMEs,
|
||||||
oIgnoredUnknownOption, oDeprecated, oUnsupported
|
oIgnoredUnknownOption, oDeprecated, oUnsupported
|
||||||
} OpCodes;
|
} OpCodes;
|
||||||
|
|
||||||
|
@ -260,10 +260,10 @@ static struct {
|
||||||
{ "requesttty", oRequestTTY },
|
{ "requesttty", oRequestTTY },
|
||||||
{ "proxyusefdpass", oProxyUseFdpass },
|
{ "proxyusefdpass", oProxyUseFdpass },
|
||||||
{ "canonicaldomains", oCanonicalDomains },
|
{ "canonicaldomains", oCanonicalDomains },
|
||||||
{ "canonicalisefallbacklocal", oCanonicaliseFallbackLocal },
|
{ "canonicalizefallbacklocal", oCanonicalizeFallbackLocal },
|
||||||
{ "canonicalisehostname", oCanonicaliseHostname },
|
{ "canonicalizehostname", oCanonicalizeHostname },
|
||||||
{ "canonicalisemaxdots", oCanonicaliseMaxDots },
|
{ "canonicalizemaxdots", oCanonicalizeMaxDots },
|
||||||
{ "canonicalisepermittedcnames", oCanonicalisePermittedCNAMEs },
|
{ "canonicalizepermittedcnames", oCanonicalizePermittedCNAMEs },
|
||||||
{ "ignoreunknown", oIgnoreUnknown },
|
{ "ignoreunknown", oIgnoreUnknown },
|
||||||
|
|
||||||
{ NULL, oBadOption }
|
{ NULL, oBadOption }
|
||||||
|
@ -644,7 +644,7 @@ static const struct multistate multistate_requesttty[] = {
|
||||||
{ "auto", REQUEST_TTY_AUTO },
|
{ "auto", REQUEST_TTY_AUTO },
|
||||||
{ NULL, -1 }
|
{ NULL, -1 }
|
||||||
};
|
};
|
||||||
static const struct multistate multistate_canonicalisehostname[] = {
|
static const struct multistate multistate_canonicalizehostname[] = {
|
||||||
{ "true", SSH_CANONICALISE_YES },
|
{ "true", SSH_CANONICALISE_YES },
|
||||||
{ "false", SSH_CANONICALISE_NO },
|
{ "false", SSH_CANONICALISE_NO },
|
||||||
{ "yes", SSH_CANONICALISE_YES },
|
{ "yes", SSH_CANONICALISE_YES },
|
||||||
|
@ -1321,7 +1321,7 @@ parse_int:
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case oCanonicalisePermittedCNAMEs:
|
case oCanonicalizePermittedCNAMEs:
|
||||||
value = options->num_permitted_cnames != 0;
|
value = options->num_permitted_cnames != 0;
|
||||||
while ((arg = strdelim(&s)) != NULL && *arg != '\0') {
|
while ((arg = strdelim(&s)) != NULL && *arg != '\0') {
|
||||||
/* Either '*' for everything or 'list:list' */
|
/* Either '*' for everything or 'list:list' */
|
||||||
|
@ -1350,17 +1350,17 @@ parse_int:
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case oCanonicaliseHostname:
|
case oCanonicalizeHostname:
|
||||||
intptr = &options->canonicalise_hostname;
|
intptr = &options->canonicalize_hostname;
|
||||||
multistate_ptr = multistate_canonicalisehostname;
|
multistate_ptr = multistate_canonicalizehostname;
|
||||||
goto parse_multistate;
|
goto parse_multistate;
|
||||||
|
|
||||||
case oCanonicaliseMaxDots:
|
case oCanonicalizeMaxDots:
|
||||||
intptr = &options->canonicalise_max_dots;
|
intptr = &options->canonicalize_max_dots;
|
||||||
goto parse_int;
|
goto parse_int;
|
||||||
|
|
||||||
case oCanonicaliseFallbackLocal:
|
case oCanonicalizeFallbackLocal:
|
||||||
intptr = &options->canonicalise_fallback_local;
|
intptr = &options->canonicalize_fallback_local;
|
||||||
goto parse_flag;
|
goto parse_flag;
|
||||||
|
|
||||||
case oDeprecated:
|
case oDeprecated:
|
||||||
|
@ -1528,9 +1528,9 @@ initialize_options(Options * options)
|
||||||
options->ignored_unknown = NULL;
|
options->ignored_unknown = NULL;
|
||||||
options->num_canonical_domains = 0;
|
options->num_canonical_domains = 0;
|
||||||
options->num_permitted_cnames = 0;
|
options->num_permitted_cnames = 0;
|
||||||
options->canonicalise_max_dots = -1;
|
options->canonicalize_max_dots = -1;
|
||||||
options->canonicalise_fallback_local = -1;
|
options->canonicalize_fallback_local = -1;
|
||||||
options->canonicalise_hostname = -1;
|
options->canonicalize_hostname = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1684,12 +1684,12 @@ fill_default_options(Options * options)
|
||||||
options->request_tty = REQUEST_TTY_AUTO;
|
options->request_tty = REQUEST_TTY_AUTO;
|
||||||
if (options->proxy_use_fdpass == -1)
|
if (options->proxy_use_fdpass == -1)
|
||||||
options->proxy_use_fdpass = 0;
|
options->proxy_use_fdpass = 0;
|
||||||
if (options->canonicalise_max_dots == -1)
|
if (options->canonicalize_max_dots == -1)
|
||||||
options->canonicalise_max_dots = 1;
|
options->canonicalize_max_dots = 1;
|
||||||
if (options->canonicalise_fallback_local == -1)
|
if (options->canonicalize_fallback_local == -1)
|
||||||
options->canonicalise_fallback_local = 1;
|
options->canonicalize_fallback_local = 1;
|
||||||
if (options->canonicalise_hostname == -1)
|
if (options->canonicalize_hostname == -1)
|
||||||
options->canonicalise_hostname = SSH_CANONICALISE_NO;
|
options->canonicalize_hostname = SSH_CANONICALISE_NO;
|
||||||
#define CLEAR_ON_NONE(v) \
|
#define CLEAR_ON_NONE(v) \
|
||||||
do { \
|
do { \
|
||||||
if (v != NULL && strcasecmp(v, "none") == 0) { \
|
if (v != NULL && strcasecmp(v, "none") == 0) { \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: readconf.h,v 1.98 2013/10/16 02:31:46 djm Exp $ */
|
/* $OpenBSD: readconf.h,v 1.99 2013/10/16 22:49:38 djm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
|
@ -148,9 +148,9 @@ typedef struct {
|
||||||
|
|
||||||
int num_canonical_domains;
|
int num_canonical_domains;
|
||||||
char *canonical_domains[MAX_CANON_DOMAINS];
|
char *canonical_domains[MAX_CANON_DOMAINS];
|
||||||
int canonicalise_hostname;
|
int canonicalize_hostname;
|
||||||
int canonicalise_max_dots;
|
int canonicalize_max_dots;
|
||||||
int canonicalise_fallback_local;
|
int canonicalize_fallback_local;
|
||||||
int num_permitted_cnames;
|
int num_permitted_cnames;
|
||||||
struct allowed_cname permitted_cnames[MAX_CANON_DOMAINS];
|
struct allowed_cname permitted_cnames[MAX_CANON_DOMAINS];
|
||||||
|
|
||||||
|
|
10
ssh.1
10
ssh.1
|
@ -33,7 +33,7 @@
|
||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: ssh.1,v 1.338 2013/10/16 02:31:46 djm Exp $
|
.\" $OpenBSD: ssh.1,v 1.339 2013/10/16 22:49:38 djm Exp $
|
||||||
.Dd $Mdocdate: October 16 2013 $
|
.Dd $Mdocdate: October 16 2013 $
|
||||||
.Dt SSH 1
|
.Dt SSH 1
|
||||||
.Os
|
.Os
|
||||||
|
@ -418,10 +418,10 @@ For full details of the options listed below, and their possible values, see
|
||||||
.It BatchMode
|
.It BatchMode
|
||||||
.It BindAddress
|
.It BindAddress
|
||||||
.It CanonicalDomains
|
.It CanonicalDomains
|
||||||
.It CanonicaliseFallbackLocal
|
.It CanonicalizeFallbackLocal
|
||||||
.It CanonicaliseHostname
|
.It CanonicalizeHostname
|
||||||
.It CanonicaliseMaxDots
|
.It CanonicalizeMaxDots
|
||||||
.It CanonicalisePermittedCNAMEs
|
.It CanonicalizePermittedCNAMEs
|
||||||
.It ChallengeResponseAuthentication
|
.It ChallengeResponseAuthentication
|
||||||
.It CheckHostIP
|
.It CheckHostIP
|
||||||
.It Cipher
|
.It Cipher
|
||||||
|
|
32
ssh.c
32
ssh.c
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: ssh.c,v 1.385 2013/10/16 02:31:46 djm Exp $ */
|
/* $OpenBSD: ssh.c,v 1.386 2013/10/16 22:49:39 djm Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -275,14 +275,14 @@ check_follow_cname(char **namep, const char *cname)
|
||||||
if (*cname == '\0' || options.num_permitted_cnames == 0 ||
|
if (*cname == '\0' || options.num_permitted_cnames == 0 ||
|
||||||
strcmp(*namep, cname) == 0)
|
strcmp(*namep, cname) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
if (options.canonicalise_hostname == SSH_CANONICALISE_NO)
|
if (options.canonicalize_hostname == SSH_CANONICALISE_NO)
|
||||||
return 0;
|
return 0;
|
||||||
/*
|
/*
|
||||||
* Don't attempt to canonicalise names that will be interpreted by
|
* Don't attempt to canonicalize names that will be interpreted by
|
||||||
* a proxy unless the user specifically requests so.
|
* a proxy unless the user specifically requests so.
|
||||||
*/
|
*/
|
||||||
if (options.proxy_command != NULL &&
|
if (options.proxy_command != NULL &&
|
||||||
options.canonicalise_hostname != SSH_CANONICALISE_ALWAYS)
|
options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS)
|
||||||
return 0;
|
return 0;
|
||||||
debug3("%s: check \"%s\" CNAME \"%s\"", __func__, *namep, cname);
|
debug3("%s: check \"%s\" CNAME \"%s\"", __func__, *namep, cname);
|
||||||
for (i = 0; i < options.num_permitted_cnames; i++) {
|
for (i = 0; i < options.num_permitted_cnames; i++) {
|
||||||
|
@ -292,7 +292,7 @@ check_follow_cname(char **namep, const char *cname)
|
||||||
match_pattern_list(cname, rule->target_list,
|
match_pattern_list(cname, rule->target_list,
|
||||||
strlen(rule->target_list), 1) != 1)
|
strlen(rule->target_list), 1) != 1)
|
||||||
continue;
|
continue;
|
||||||
verbose("Canonicalised DNS aliased hostname "
|
verbose("Canonicalized DNS aliased hostname "
|
||||||
"\"%s\" => \"%s\"", *namep, cname);
|
"\"%s\" => \"%s\"", *namep, cname);
|
||||||
free(*namep);
|
free(*namep);
|
||||||
*namep = xstrdup(cname);
|
*namep = xstrdup(cname);
|
||||||
|
@ -307,20 +307,20 @@ check_follow_cname(char **namep, const char *cname)
|
||||||
* if no name was found after canonicalisation.
|
* if no name was found after canonicalisation.
|
||||||
*/
|
*/
|
||||||
static struct addrinfo *
|
static struct addrinfo *
|
||||||
resolve_canonicalise(char **hostp, u_int port)
|
resolve_canonicalize(char **hostp, u_int port)
|
||||||
{
|
{
|
||||||
int i, ndots;
|
int i, ndots;
|
||||||
char *cp, *fullhost, cname_target[NI_MAXHOST];
|
char *cp, *fullhost, cname_target[NI_MAXHOST];
|
||||||
struct addrinfo *addrs;
|
struct addrinfo *addrs;
|
||||||
|
|
||||||
if (options.canonicalise_hostname == SSH_CANONICALISE_NO)
|
if (options.canonicalize_hostname == SSH_CANONICALISE_NO)
|
||||||
return NULL;
|
return NULL;
|
||||||
/*
|
/*
|
||||||
* Don't attempt to canonicalise names that will be interpreted by
|
* Don't attempt to canonicalize names that will be interpreted by
|
||||||
* a proxy unless the user specifically requests so.
|
* a proxy unless the user specifically requests so.
|
||||||
*/
|
*/
|
||||||
if (options.proxy_command != NULL &&
|
if (options.proxy_command != NULL &&
|
||||||
options.canonicalise_hostname != SSH_CANONICALISE_ALWAYS)
|
options.canonicalize_hostname != SSH_CANONICALISE_ALWAYS)
|
||||||
return NULL;
|
return NULL;
|
||||||
/* Don't apply canonicalisation to sufficiently-qualified hostnames */
|
/* Don't apply canonicalisation to sufficiently-qualified hostnames */
|
||||||
ndots = 0;
|
ndots = 0;
|
||||||
|
@ -328,9 +328,9 @@ resolve_canonicalise(char **hostp, u_int port)
|
||||||
if (*cp == '.')
|
if (*cp == '.')
|
||||||
ndots++;
|
ndots++;
|
||||||
}
|
}
|
||||||
if (ndots > options.canonicalise_max_dots) {
|
if (ndots > options.canonicalize_max_dots) {
|
||||||
debug3("%s: not canonicalising hostname \"%s\" (max dots %d)",
|
debug3("%s: not canonicalizing hostname \"%s\" (max dots %d)",
|
||||||
__func__, *hostp, options.canonicalise_max_dots);
|
__func__, *hostp, options.canonicalize_max_dots);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
/* Attempt each supplied suffix */
|
/* Attempt each supplied suffix */
|
||||||
|
@ -347,14 +347,14 @@ resolve_canonicalise(char **hostp, u_int port)
|
||||||
fullhost[strlen(fullhost) - 1] = '\0';
|
fullhost[strlen(fullhost) - 1] = '\0';
|
||||||
/* Follow CNAME if requested */
|
/* Follow CNAME if requested */
|
||||||
if (!check_follow_cname(&fullhost, cname_target)) {
|
if (!check_follow_cname(&fullhost, cname_target)) {
|
||||||
debug("Canonicalised hostname \"%s\" => \"%s\"",
|
debug("Canonicalized hostname \"%s\" => \"%s\"",
|
||||||
*hostp, fullhost);
|
*hostp, fullhost);
|
||||||
}
|
}
|
||||||
free(*hostp);
|
free(*hostp);
|
||||||
*hostp = fullhost;
|
*hostp = fullhost;
|
||||||
return addrs;
|
return addrs;
|
||||||
}
|
}
|
||||||
if (!options.canonicalise_fallback_local)
|
if (!options.canonicalize_fallback_local)
|
||||||
fatal("%s: Could not resolve host \"%s\"", __progname, host);
|
fatal("%s: Could not resolve host \"%s\"", __progname, host);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -907,8 +907,8 @@ main(int ac, char **av)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If canonicalisation requested then try to apply it */
|
/* If canonicalisation requested then try to apply it */
|
||||||
if (options.canonicalise_hostname != SSH_CANONICALISE_NO)
|
if (options.canonicalize_hostname != SSH_CANONICALISE_NO)
|
||||||
addrs = resolve_canonicalise(&host, options.port);
|
addrs = resolve_canonicalize(&host, options.port);
|
||||||
/*
|
/*
|
||||||
* If canonicalisation not requested, or if it failed then try to
|
* If canonicalisation not requested, or if it failed then try to
|
||||||
* resolve the bare hostname name using the system resolver's usual
|
* resolve the bare hostname name using the system resolver's usual
|
||||||
|
|
24
ssh_config.5
24
ssh_config.5
|
@ -33,7 +33,7 @@
|
||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: ssh_config.5,v 1.172 2013/10/16 06:42:25 jmc Exp $
|
.\" $OpenBSD: ssh_config.5,v 1.173 2013/10/16 22:49:39 djm Exp $
|
||||||
.Dd $Mdocdate: October 16 2013 $
|
.Dd $Mdocdate: October 16 2013 $
|
||||||
.Dt SSH_CONFIG 5
|
.Dt SSH_CONFIG 5
|
||||||
.Os
|
.Os
|
||||||
|
@ -202,10 +202,10 @@ is set to
|
||||||
.Dq yes .
|
.Dq yes .
|
||||||
.It Cm CanonicalDomains
|
.It Cm CanonicalDomains
|
||||||
When
|
When
|
||||||
.Cm CanonicaliseHostname
|
.Cm CanonicalizeHostname
|
||||||
is enabled, this option specifies the list of domain suffixes in which to
|
is enabled, this option specifies the list of domain suffixes in which to
|
||||||
search for the specified destination host.
|
search for the specified destination host.
|
||||||
.It Cm CanonicaliseFallbackLocal
|
.It Cm CanonicalizeFallbackLocal
|
||||||
Specifies whether to fail with an error when hostname canonicalisation fails.
|
Specifies whether to fail with an error when hostname canonicalisation fails.
|
||||||
The default,
|
The default,
|
||||||
.Dq no ,
|
.Dq no ,
|
||||||
|
@ -216,11 +216,11 @@ A value of
|
||||||
will cause
|
will cause
|
||||||
.Xr ssh 1
|
.Xr ssh 1
|
||||||
to fail instantly if
|
to fail instantly if
|
||||||
.Cm CanonicaliseHostname
|
.Cm CanonicalizeHostname
|
||||||
is enabled and the target hostname cannot be found in any of the domains
|
is enabled and the target hostname cannot be found in any of the domains
|
||||||
specified by
|
specified by
|
||||||
.Cm CanonicalDomains .
|
.Cm CanonicalDomains .
|
||||||
.It Cm CanonicaliseHostname
|
.It Cm CanonicalizeHostname
|
||||||
Controls whether explicit hostname canonicalisation is performed.
|
Controls whether explicit hostname canonicalisation is performed.
|
||||||
The default,
|
The default,
|
||||||
.Dq no ,
|
.Dq no ,
|
||||||
|
@ -231,26 +231,26 @@ If set to
|
||||||
then, for connections that do not use a
|
then, for connections that do not use a
|
||||||
.Cm ProxyCommand ,
|
.Cm ProxyCommand ,
|
||||||
.Xr ssh 1
|
.Xr ssh 1
|
||||||
will attempt to canonicalise the hostname specified on the command line
|
will attempt to canonicalize the hostname specified on the command line
|
||||||
using the
|
using the
|
||||||
.Cm CanonicalDomains
|
.Cm CanonicalDomains
|
||||||
suffixes and
|
suffixes and
|
||||||
.Cm CanonicalisePermittedCNAMEs
|
.Cm CanonicalizePermittedCNAMEs
|
||||||
rules.
|
rules.
|
||||||
If
|
If
|
||||||
.Cm CanonicaliseHostname
|
.Cm CanonicalizeHostname
|
||||||
is set to
|
is set to
|
||||||
.Dq always ,
|
.Dq always ,
|
||||||
then canonicalisation is applied to proxied connections too.
|
then canonicalisation is applied to proxied connections too.
|
||||||
.It Cm CanonicaliseMaxDots
|
.It Cm CanonicalizeMaxDots
|
||||||
Specifies the maximum number of dot characters in a hostname before
|
Specifies the maximum number of dot characters in a hostname before
|
||||||
canonicalisation is disabled.
|
canonicalisation is disabled.
|
||||||
The default,
|
The default,
|
||||||
.Dq 1 ,
|
.Dq 1 ,
|
||||||
allows a single dot (i.e. hostname.subdomain).
|
allows a single dot (i.e. hostname.subdomain).
|
||||||
.It Cm CanonicalisePermittedCNAMEs
|
.It Cm CanonicalizePermittedCNAMEs
|
||||||
Specifies rules to determine whether CNAMEs should be followed when
|
Specifies rules to determine whether CNAMEs should be followed when
|
||||||
canonicalising hostnames.
|
canonicalizing hostnames.
|
||||||
The rules consist of one or more arguments of
|
The rules consist of one or more arguments of
|
||||||
.Ar source_domain_list : Ns Ar target_domain_list ,
|
.Ar source_domain_list : Ns Ar target_domain_list ,
|
||||||
where
|
where
|
||||||
|
@ -264,7 +264,7 @@ For example,
|
||||||
.Dq *.a.example.com:*.b.example.com,*.c.example.com
|
.Dq *.a.example.com:*.b.example.com,*.c.example.com
|
||||||
will allow hostnames matching
|
will allow hostnames matching
|
||||||
.Dq *.a.example.com
|
.Dq *.a.example.com
|
||||||
to be canonicalised to names in the
|
to be canonicalized to names in the
|
||||||
.Dq *.b.example.com
|
.Dq *.b.example.com
|
||||||
or
|
or
|
||||||
.Dq *.c.example.com
|
.Dq *.c.example.com
|
||||||
|
|
Loading…
Reference in New Issue