1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 13:13:49 +03:00

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()