v0.5.16: sshd UseDNS no — fix banner timeout on NAT/slirp
This commit is contained in:
parent
87cbbe91e9
commit
90a32fb8fa
1 changed files with 5 additions and 0 deletions
|
|
@ -14,3 +14,8 @@ LoginGraceTime 30
|
|||
MaxAuthTries 3
|
||||
MaxSessions 4
|
||||
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