ssh: allow SOCKS proxy-side DNS resolving - fixes #6100

This commit is contained in:
Eugene Pankov 2022-04-15 19:03:21 +02:00
parent eaf4ed9855
commit 9c6acf99d0
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -117,6 +117,7 @@ export class SocksProxyStream extends SSHProxyStream {
proxyHost: this.profile.options.socksProxyHost ?? '127.0.0.1',
proxyPort: this.profile.options.socksProxyPort ?? 5000,
auths: [socksv5.auth.None()],
strictLocalDNS: false,
}, s => {
resolve(s)
this.header = s.read()