hhhaiai / snova

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

配置问题 #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SPAC配置默认为C4,且使用pac文件,是不是说所有pac定义的网��
�都会走C4,其他都直连?如果是这样,现在感觉youtube速度慢�
��比使用goagent差很多,是Jelastic平台的问题还是c4问题?有办�
��解决么?

Original issue reported on code.google.com by phin...@gmail.com on 12 Oct 2012 at 12:58

GoogleCodeExporter commented 9 years ago
1. 
SPAC的enable打开的情况下,优先根据spac.json中的规则选择proxy��
�现;
  其次判断Hosts的Enable打开的情况下,https类型的都会尝试直接访问,否则选择SPAC的默认
   HTTP的则判断是否在InjectCRLF中,是则直接访问
  剩下的走SPAC的默认proxy选择
2. 
根据以上规则,youtube现在默认配置情况下是直接访问,不走G
AE;注释InjectCRLF(此行头加上#)或者删除InjectCRLF=后面的规��
�可以让访问youtube走GAE

Original comment by yinqiwen@gmail.com on 12 Oct 2012 at 1:11

GoogleCodeExporter commented 9 years ago
1.是不是不在spac.json里面的,即除了["*.qq.com*", "*.baidu.com", 
"*.sina.com.*", "*.163.com*", "*.sohu.com*", "*.qzone.com", "*.tudou.com", 
"*.youku.com"]之外的国内网站也会走c4?

2.spac.json里面["GoogleHttps", "Direct", "Default"]分别是什么意思?

3.这个文件只是在本机作为其他机器代理的时候才有用,对本
机无效?snova-gfwlist.pac

Original comment by phin...@gmail.com on 12 Oct 2012 at 4:26

GoogleCodeExporter commented 9 years ago
另外,如果要支持https,就不能用gae,对吧?

Original comment by phin...@gmail.com on 12 Oct 2012 at 4:30

GoogleCodeExporter commented 9 years ago
1. 走SPAC的默认设置
2. if GoogleHttps fail; try Direct; if fail, try 
Default(配置在SPAC中的Default)
3. snova-gfwlist.pac是给浏览器用的,自身不用
4. 
GAE模式有一个伪造的证书文件Fake-ACRoot-Certificate.cer,导入到��
�览器就可以访问https

Original comment by yinqiwen@gmail.com on 12 Oct 2012 at 4:47