v0.5.16: sshd UseDNS no — fix banner timeout on NAT/slirp
This commit is contained in:
parent
d07adf3b14
commit
77266faa4f
1 changed files with 5 additions and 0 deletions
|
|
@ -14,3 +14,8 @@ LoginGraceTime 30
|
||||||
MaxAuthTries 3
|
MaxAuthTries 3
|
||||||
MaxSessions 4
|
MaxSessions 4
|
||||||
LogLevel VERBOSE
|
LogLevel VERBOSE
|
||||||
|
# UseDNS off: reverse-lookup-on-connect adds 30s+ delay per connection
|
||||||
|
# when client DNS doesn't resolve back-references (NAT, slirp, dynamic
|
||||||
|
# IPs). Hardening doesn't benefit from the lookup either way; sshd
|
||||||
|
# still logs the IP, just not the (possibly forged) PTR.
|
||||||
|
UseDNS no
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue