summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2016-01-27 13:40:44 +0000
committerdes <des@FreeBSD.org>2016-01-27 13:40:44 +0000
commitbf4d31468166ff9c7213b935db107710e338159a (patch)
tree8bbb9b102979573464e7c2518d8abffc47e7e129 /crypto
parentd5eb8171ceea1d3e00ff7236209db42f557f025c (diff)
downloadFreeBSD-src-bf4d31468166ff9c7213b935db107710e338159a.zip
FreeBSD-src-bf4d31468166ff9c7213b935db107710e338159a.tar.gz
Switch UseDNS back on
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/FREEBSD-upgrade1
-rw-r--r--crypto/openssh/servconf.c2
-rw-r--r--crypto/openssh/sshd_config2
-rw-r--r--crypto/openssh/sshd_config.56
4 files changed, 7 insertions, 4 deletions
diff --git a/crypto/openssh/FREEBSD-upgrade b/crypto/openssh/FREEBSD-upgrade
index 8116235..7acd51f 100644
--- a/crypto/openssh/FREEBSD-upgrade
+++ b/crypto/openssh/FREEBSD-upgrade
@@ -117,6 +117,7 @@
- PasswordAuthentication defaults to "no".
- VersionAddendum defaults to "FreeBSD-YYYYMMDD".
- PrivilegeSeparation defaults to "sandbox".
+ - UseDNS defaults to "yes".
2) Modified client-side defaults
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c
index ff61471..6f5c07d 100644
--- a/crypto/openssh/servconf.c
+++ b/crypto/openssh/servconf.c
@@ -320,7 +320,7 @@ fill_default_server_options(ServerOptions *options)
if (options->max_sessions == -1)
options->max_sessions = DEFAULT_SESSIONS_MAX;
if (options->use_dns == -1)
- options->use_dns = 0;
+ options->use_dns = 1;
if (options->client_alive_interval == -1)
options->client_alive_interval = 0;
if (options->client_alive_count_max == -1)
diff --git a/crypto/openssh/sshd_config b/crypto/openssh/sshd_config
index 694654d..6ab7900 100644
--- a/crypto/openssh/sshd_config
+++ b/crypto/openssh/sshd_config
@@ -115,7 +115,7 @@
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
-#UseDNS no
+#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10:30:100
#PermitTunnel no
diff --git a/crypto/openssh/sshd_config.5 b/crypto/openssh/sshd_config.5
index 4a0f72d..9945fc9 100644
--- a/crypto/openssh/sshd_config.5
+++ b/crypto/openssh/sshd_config.5
@@ -1541,8 +1541,8 @@ the resolved host name for the remote IP address maps back to the
very same IP address.
.Pp
If this option is set to
-.Dq no
-(the default) then only addresses and not host names may be used in
+.Dq no ,
+then only addresses and not host names may be used in
.Pa ~/.ssh/known_hosts
.Cm from
and
@@ -1550,6 +1550,8 @@ and
.Cm Match
.Cm Host
directives.
+The default is
+.Dq yes .
.It Cm UseLogin
Specifies whether
.Xr login 1
OpenPOWER on IntegriCloud