txthinking / google-hosts Goto Github PK
View Code? Open in Web Editor NEWGoogle hosts generator
Home Page: https://www.txthinking.com
License: MIT License
Google hosts generator
Home Page: https://www.txthinking.com
License: MIT License
只需要运行吗
搜索的功能正常,就是google now的卡片没法刷新了
多年没有上github,不知道哪里有comments,不想花钱用代理,不想花心思看其他的翻墙教程,看到楼主的项目真心点赞!楼主一生平安~1024
希望在 http://tx.txthinking.com/hosts 中增加 tip.golang.org 的IP 谢谢
Should use tabs, instead of spaces.
Or it will cause this error, Makefile:4: *** missing separator. Stop.
.
64.18.0.0/20
http://www.adminsub.net/ipv4-subnet-calculator/64.18.0.0/20
216.239.32.0/19
http://www.adminsubnet.net/ipv4-subnet-calculator/216.239.32.0/19
似乎没这个功能,能否添加
比如我提供一个HOSTS模板,根据模版内的域名情况和IP对应情况,直接解析出另一个OK的hosts文件。
目前需要自己去找IP段,找IP,还要对应域名,然后才能修改hosts,好麻烦
目前暂时未测试在android上使用
昨天还很正常的
ditu.google.cn
translate.google.cn
g.cn
www.google.cn
这些现在都直接解析在国内了,墙外的ip反而访问不了
登陆谷歌经常会有这个域名,建议加上。
curl -s http://tx.txthinking.com/fuckGFW.py | sudo python 后还是不行。
全国网民就靠你这个伟大的程序来获取新知识了,拜托了
昨天跑了一下,没有全局VPN,跑出来的结果好像不能用
$ nslookup angularjs.org
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: angularjs.org
Address: 173.255.114.241
我尝试直接访问这个IP发现是登录不了的。
我是不是需要寻找到可以登录的IP?要如何去找这种IP呢?
谢谢
感恩节特来感恩,多谢您做的这一切。
手动进行同步可以接收,不能即时推送消息了
首先感谢整理~
使用中发现google play打开加载正常 但是下载不了应用
想请问下 是我移动网络的问题 还是hosts配置里少了点什么
谢谢
Hi, thank you for this great project. It helps my mom in China who is visiting Google daily a whole lot. However, instead of updating this manually on a sporadic interval, it might be more feasible to update the hosts script through an automatic means, e.g. with a cron job. It shouldn't be too hard to set this up on a cloud server/VPS or a regular PC. Sorry about this English post BTW as I don't have pinyin IME installed.
貌似修改hosts的工具都没法看,想请教下我该如何做呢?
报错如王目:
mikedeMac:scripts mike$ ./filter.sh *.google.com
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
mikedeMac:scripts mike$
谷歌亚太地区主要的IP段全部通过黑路由进行封锁(64.233.187./173.194.127./173.194.72./173.194.38./74.125.31./74.125.23./74.125.203./74.125.204./74.125.235./216.239.32.)刚到骨干网就丢了,还没到国际出口。
提示无法访问Host文件。
建议合并dnsmasq的配置文件:
example:
address=/ggpht.com/261.58.217.1
所有的_.googleusercontent.com
*.googleapis.com
*.ggpht.com
*.books.google.com(可用国内ip203.208.46.177)
*.docs.google.com
.drive.google.com
所有除了gmail,accounts,adwords的google二级域名都可直接合并为_.google.com
只要在_.google.com项的前面添加解析即可
例如
address=/accounts.google.com/203.208.46.177
address=/google.com/216.58.217.0
即可
另外,news.google.com,scholar.google.com,support.google.com,
earth.google.com,books.google.com,picasa.google.com,_.googlecode.com,
translate.googleusercontent.com,translate.google.com,accounts.google.com
play.google.com,chrome.google.com,code.google.com,.l.google.com都可以挂在北京的服务器上,加速访问
能更新googlevideo的域名和IP吗
有官方的报道吗?这是否意味着真的要测底离开Gmail呢?我全家的通讯录,日历,搬家也还不知道搬到哪里好啊。
昨天下午开始不能用了,更新了hosts还是不能用
f.WriteString(yours + hosts)
写的时候,每次都会追加hosts,经过多次运行后,hosts文件就会变的很大;
在
http://tx.txthinking.com/hosts
加个开始/结束注释,在合并hosts文件的时候自动删除掉老的hosts文件
hi, 貌似最近这一批host失效了,无法自由使用了
谢谢
刚更新了HOST,谷歌又可以上了,但是youtube上不了了。。提示信息:
youtube.com 通常使用加密技术来保护您的信息。Chrome 此次尝试连接到 youtube.com 时,此网站返回了异常的错误凭据。
这可能是因为有攻击程序在试图冒充 youtube.com,或 Wi-Fi 登录屏幕中断了此次连接。请放心,您的信息仍然是安全的,因为 Chrome 尚未进行任何数据交换便停止了连接。
您目前无法访问youtube.com,因为此网站使用了HSTS。网络错误和攻击通常是暂时的,因此,此网页稍后可能会恢复正常。
fonts.googleapis.com已经解禁,现在fonts.googleapis.com会被解析到203.208.48.*,使用美帝的地址延迟会非常高。
我看了readme,需要如下依赖
原谅我Linux水平太差,shell只能看懂其中一点。。。
据我所知以上的大多依赖需要busybox的支持,现有脚本直接放到手机里面跑不起来。。。
想问下您有移植到android上的打算么,或者能帮我理解下实现么。。。
Your hosts is not working !
想获取vim的源码无法获得,多谢! :-)
hg clone https://vim.googlecode.com/hg/ vim
abort: error: Connection timed out
due to download android code, i come here via baidu/bing.com...
the job is very good, i already use it... 哈。。
好像丢掉了source.android.com ? i added it in hosts same ip as developer.android.com, it can work...
btw: yidong
This url is closure, so can not watch the video :-(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.