Comments (11)
先检查下依赖:
https://github.com/txthinking/google-hosts/blob/master/scripts/README.md
On Wed, Jul 8, 2015 at 12:36 PM bonedriven [email protected] wrote:
先是./auto.sh了一下,满屏的No No No
后来手动试,到select.sh发现hosts.all根本没有更新,只有warning?
[WARNING] *.google.com
[WARNING] accounts.google.com
[WARNING] checkout.google.com
[WARNING] adwords.google.com
[WARNING] mail.google.com
[WARNING] *.mail.google.com
[WARNING] *.googleusercontent.com
[WARNING] *.gstatic.com
[WARNING] *.googleapis.com
[WARNING] *.appspot.com
[WARNING] *.googlecode.com
[WARNING] *.google-analytics.com
[WARNING] ssl.google-analytics.com—
Reply to this email directly or view it on GitHub
#87.
from google-hosts.
感谢,是我的错,没有注意依赖。。
有个问题,
我是手动执行的修改过的auto.sh (去掉了./select.sh
./apply.sh)因为我想先看看找到的hosts是什么样的,所以没有直接执行auto.sh
#!/usr/bin/env bash
for i in $(nslookup -q=TXT _netblocks.google.com 8.8.4.4 | grep -Po '\d+.\d+.\d+.\d+/\d+')
do
./find.sh $i
done
之后执行了select.sh,
结果是命令行显示我找到10个左右的谷歌服务ip外,有两个warning
[WARNING] *.google.com
[WARNING] ssl.google-analytics.com
没有找到youtube或者说谷歌音乐的,这个正常吗?如果需要谷歌音乐或者youtube的应该是怎么找的?
还是说执行auto.sh就可以找全呢?
from google-hosts.
for i in $(nslookup -q=TXT _netblocks.google.com 8.8.4.4 | grep -Po '\d+\.\d+\.\d+.\d+\/\d+')
do
./find.sh $i
done
这段应该会跑一会吧
from google-hosts.
会生成output目录看看里面的文件
或者
./filter.sh *.google.com
过滤下
from google-hosts.
是我的问题,应该是那个还没算完我就运行了select.sh,导致得到的结果不全。重新正在算,挺耗时的(我用的一个配置比较低的vps在找)。谢谢答复。
另外请问下,每算一次得到的ip一般有效性有多长?
from google-hosts.
几个小时吧, 如果你熟悉代码和unix调优的话,你可以调整代码里的最大进程数得到最快的运行速度
On Thu, Jul 9, 2015 at 9:37 PM bonedriven [email protected] wrote:
是我的问题,应该是那个还没算完我就运行了select.sh,导致得到的结果不全。重新正在算,挺耗时的(我用的一个配置比较低的vps在找)。谢谢答复。
另外请问下,每算一次得到的ip一般有效性有多长?
—
Reply to this email directly or view it on GitHub
#87 (comment)
.
from google-hosts.
几个小时的寿命,实在是太短。。。。之前以为能至少有一周。。那样我还在想是否弄个每周自动计算更新一次hosts的小script。。。
基本不懂代码。。。
from google-hosts.
错了,我以为你说的是跑完脚本要多长时间呢,不好意思。
寿命的话,这个不一定,有时几周,有时几天。有时几个月。
On Thu, Jul 9, 2015 at 10:37 PM bonedriven [email protected] wrote:
几个小时的寿命,实在是太短。。。。之前以为能至少有一周。。那样我还在想是否弄个每周自动计算更新一次hosts的小script。。。
基本不懂代码。。。—
Reply to this email directly or view it on GitHub
#87 (comment)
.
from google-hosts.
哦,那太好了。
我昨天在亚马逊给的EC2 vps上算了一套ip,然后更新在墙内电脑的hosts上,发现google+,邮箱,music什么的没一个能上去。
不知道是不是必须要在墙内的电脑算才行?
from google-hosts.
肯定要用国内的vps啊 = =||
On Fri, Jul 10, 2015 at 8:29 AM bonedriven [email protected] wrote:
哦,那太好了。
我昨天在亚马逊给的免费一年的vps上算了一套ip,然后更新在墙内电脑的hosts上,发现google+,邮箱,music什么的没一个能上去。
不知道是不是必须要在墙内的电脑算才行?—
Reply to this email directly or view it on GitHub
#87 (comment)
.
from google-hosts.
嗯嗯,不好意思,傻了。。
from google-hosts.
Related Issues (20)
- output warnings directly after running auto.sh HOT 3
- New IPs and Subdomains of Pixiv HOT 2
- google-hosts 出来的ip会重定向到http://www.google.com/hangouts/ HOT 3
- 执行find.sh出错 HOT 4
- 如何将搜索到的 ip 使用到 hosts 文件中! HOT 4
- getssh.sh can't run on osx HOT 1
- Help, why 'no output directory' ? HOT 1
- it looks like google.com no longer valid HOT 7
- Support for OSX HOT 2
- sm-n9009 HOT 2
- 找出来的*.google.com都是*.*.*.125这样的,然后似乎都是转到hangouts HOT 6
- 为什么都不能用了 HOT 1
- fuck GFW HOT 1
- Repo tagged with incorrect language HOT 3
- 要让Google远程桌面可以用,需要哪些host? HOT 3
- can't run with auto.sh HOT 7
- blogspot.com issue
- how to install the dependencies HOT 1
- fatal error: MSpanList_Insert HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-hosts.