lester88a / snova

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

这样不灵活 #196

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
要么这用户自己设置pac,别内置pac了,要么国外所有http线路走
GAE,你知道在局域网里访问局域网才有速度,还有就是像youtu
be bbc voa nicovideo这些的 加载速度很慢 让这些网站的CDN都走GAE 
呵呵 支持作者

Original issue reported on code.google.com by pazz7ven on 23 Nov 2012 at 1:57

GoogleCodeExporter commented 9 years ago
其实是默认规则内置了GFWList判断。改下spac规则文件就可以了
规则中还支持一个IsHostInCN判断,不过可能受DNS污染影响,没�
��细测试过;你可以把cloud_spac.json中的!IsBlockedByGFW改为IsHostInC
N试下

Original comment by yinqiwen@gmail.com on 23 Nov 2012 at 2:06

GoogleCodeExporter commented 9 years ago
访问国内网站经常
400 Bad request

Your browser sent an invalid request.

gfwlist pac不灵活可以试试

https://github.com/Leask/Flora_Pac

Original comment by pazz7ven on 23 Nov 2012 at 3:53

GoogleCodeExporter commented 9 years ago

IPRangeRepo=http://static.wipmania.com/static/worldip.en.text.zip
和gfwlist能一块用吗,还是两者取其一 ???

http://static.wipmania.com/static/worldip.en.text.zip和
http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest

效果是否一样

Original comment by pazz7ven on 24 Nov 2012 at 11:03

GoogleCodeExporter commented 9 years ago
IsBlockedByGFW 和 IsHostInCN只是两个内置的规则,可以任意组合

这两个ip库判断IP在国家这种粒度应该差不多,apnic只有亚太��
�的IP分布,比较详细;前者是全球IP免费库,附加信息更粗略
一些

Original comment by yinqiwen@gmail.com on 24 Nov 2012 at 11:17

GoogleCodeExporter commented 9 years ago
还有默认的gsnova.conf中IP库地址是注释掉的,要用IsHostInCN的话
需要放开注释

Original comment by yinqiwen@gmail.com on 24 Nov 2012 at 11:18

GoogleCodeExporter commented 9 years ago
哦哦 如果用IsHostInCN的话 
那可以直接用apnic的亚太区的IP分布吗 

Original comment by pazz7ven on 24 Nov 2012 at 11:44

GoogleCodeExporter commented 9 years ago
不可,格式不一样

Original comment by yinqiwen@gmail.com on 24 Nov 2012 at 11:55