Code Monkey home page Code Monkey logo

google-hosts's People

Contributors

fcce avatar ledu avatar lyy avatar mayanklaroiya avatar myisjon avatar rexdf avatar torvalds avatar txthinking avatar walkthetalk avatar wbuchanan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-hosts's Issues

特来点赞

多年没有上github,不知道哪里有comments,不想花钱用代理,不想花心思看其他的翻墙教程,看到楼主的项目真心点赞!楼主一生平安~1024

Makefile

Should use tabs, instead of spaces.
Or it will cause this error, Makefile:4: *** missing separator. Stop..

不知道能不能做得更智能一点?

比如我提供一个HOSTS模板,根据模版内的域名情况和IP对应情况,直接解析出另一个OK的hosts文件。
目前需要自己去找IP段,找IP,还要对应域名,然后才能修改hosts,好麻烦

android google play 不能下载应用

首先感谢整理~

使用中发现google play打开加载正常 但是下载不了应用
想请问下 是我移动网络的问题 还是hosts配置里少了点什么

谢谢

Automatic/nightly update of the hosts script

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.

mac中grep命令出错

报错如王目:
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的一点建议

谷歌亚太地区主要的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.)刚到骨干网就丢了,还没到国际出口。

建议合并dnsmasq的配置文件

建议合并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都可以挂在北京的服务器上,加速访问

fuckGFW.go有个bug

f.WriteString(yours + hosts)
写的时候,每次都会追加hosts,经过多次运行后,hosts文件就会变的很大;

http://tx.txthinking.com/hosts
加个开始/结束注释,在合并hosts文件的时候自动删除掉老的hosts文件

youtube无法登陆了。

刚更新了HOST,谷歌又可以上了,但是youtube上不了了。。提示信息:

youtube.com 通常使用加密技术来保护您的信息。Chrome 此次尝试连接到 youtube.com 时,此网站返回了异常的错误凭据。
这可能是因为有攻击程序在试图冒充 youtube.com,或 Wi-Fi 登录屏幕中断了此次连接。请放心,您的信息仍然是安全的,因为 Chrome 尚未进行任何数据交换便停止了连接。

您目前无法访问youtube.com,因为此网站使用了HSTS。网络错误和攻击通常是暂时的,因此,此网页稍后可能会恢复正常。

fonts.googleapis.com已经解禁

fonts.googleapis.com已经解禁,现在fonts.googleapis.com会被解析到203.208.48.*,使用美帝的地址延迟会非常高。

您好,我想试着将其移植到android下使用,有些问题还望解答

我看了readme,需要如下依赖

脚本依赖

  • grep (GNU grep) 2.20
  • sed (GNU sed) 4.2.2
  • awk (GNU awk) 4.1.1
  • nmap v6.46
  • dig v9.9.2-P2
  • curl (OpenSSL/1.0.1j) 7.37.0

原谅我Linux水平太差,shell只能看懂其中一点。。。
据我所知以上的大多依赖需要busybox的支持,现有脚本直接放到手机里面跑不起来。。。
想问下您有移植到android上的打算么,或者能帮我理解下实现么。。。

missing source.android.com

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.