cvca / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

Direct proxy in gsnova SPAC does not use local DNS. #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The browser returned "server not found". And message in gsnova is:
2012/12/07 11:14:25 forward.go:151: Failed to dial address:wiki.company.com:443 
for reason:No available IP found for wiki.company.com:443
2012/12/07 11:14:25 forward.go:452: Failed to connect forward address for 
wiki.company.com:443.
2012/12/07 11:14:25 dispatch.go:105: 
Session[9][WARN][Forwardhttp://wiki.company.com:443]Failed to request proxy 
event for reason:No available IP found for wiki.company.com:443
2012/12/07 11:14:25 dispatch.go:140: Session[9]Process error:No proxy found for 
request 'CONNECT wiki.company.com:443' with 1 candidates for 
host:wiki.company.com:443
2012/12/07 11:14:25 dispatch.go:196: Session[9]Failed to read http request:use 
of closed network connection

Original issue reported on code.google.com by Magiclouds on 7 Dec 2012 at 3:17

GoogleCodeExporter commented 9 years ago
The user_spac.json is:
[
  {
    "Host" : ["*.company.com"],
    "Proxy": ["Direct"]
  }
]

Original comment by Magiclouds on 7 Dec 2012 at 3:18

GoogleCodeExporter commented 9 years ago
默认的https的站点会用gsnova.conf中配置的TrustedDNS;把TrustedDNS��
�加个#注释掉就会用系统默认的DNS   

Original comment by yinqiwen@gmail.com on 7 Dec 2012 at 3:26

GoogleCodeExporter commented 9 years ago
Hosts - 
TrustedDNS已经注释掉,还是报类似错误,使用http也不能连接。

Original comment by Magiclouds on 7 Dec 2012 at 5:30

GoogleCodeExporter commented 9 years ago
那看来暂时只能在替换TrustedDNS的值了;下个版本会加一个Prox
y attribute指示强制用系统DNS,github上已经提交了code

Original comment by yinqiwen@gmail.com on 7 Dec 2012 at 6:11

GoogleCodeExporter commented 9 years ago
呃……我看配置部分有个remoteresolve,是指什么?现在我把host
s段禁用掉,都不能本地解析。

Original comment by Magiclouds on 7 Dec 2012 at 6:31

GoogleCodeExporter commented 9 years ago
那是ssh的远程解析选项
hosts禁用的只是自动行为,大部分配置还是生效的

Original comment by yinqiwen@gmail.com on 7 Dec 2012 at 6:33