您好,欢迎光临系统之家!

系统之家 - 为您打造全网最优秀的系统论坛!

 找回密码
 注册
搜索

路由器修改hosts广告屏蔽大法

查看: 189|回复: 0

[教程] 路由器修改hosts广告屏蔽大法 [复制链接]

Rank: 64Rank: 64Rank: 64Rank: 64

UID
5
帖子
6499
威望
4261 点
黄金
10430 金币
在线时间
4390 小时
注册时间
2005-5-13
最后登录
2019-12-8

终身成就奖 宣传大使奖

发表于 2019-9-6 15:52:45 |显示全部楼层
以修改hosts达到去广告的目的的方法在很多平台上都可以使用
首先神说要有一个高效靠谱的hosts文件,推荐一下:
https://adaway.org/hosts.txt
这个条数不多,有效针手机APP上的广告。
把这个文件放到路由上,比如/etc/adaway.txt
以OpenWRT为例,管理界面Network/Dhcp and DNS项中,Resolv and Hosts Files页,有一项是Additional Hosts files
把这一项添加一个/etc/adaway.txt,应用即可。

补充一下常见的可用hosts来源:

        https://filters.adtidy.org/windows/filters/15.txt
        combined adguard dns filter list, frequent updates, approx. 17.000 entries

        https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt
        focus on malicious bitcoin mining sites, infrequent updates, approx. 80 entries

        https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
        mozilla driven blocklist, numerous updates on the same day, approx. 4.700 entries

        https://www.dshield.org/feeds/suspiciousdomains_Low.txt
        generic blocklist, daily updates, approx. 3.500 entries

        https://feodotracker.abuse.ch/blocklist/?download=domainblocklist
        focus on feodo botnet, daily updates, approx. 0-10 entries

        https://hosts-file.net/ad_servers.txt
        broad blocklist, monthly updates, approx. 19.200 entries

        https://mirror.espoch.edu.ec/malwaredomains/justdomains
        broad blocklist, daily updates, approx. 18.300 entries

        http://www.malwaredomainlist.com/hostslist/hosts.txt
        focus on malware, daily updates, approx. 1.200 entries

        https://openphish.com/feed.txt
        focus on phishing, numerous updates on the same day, approx. 2.400 entries

        https://ransomwaretracker.abuse.ch/downloads/RW_DOMBL.txt
        focus on ransomware by abuse.ch, numerous updates on the same day, approx. 1900 entries

        https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt
        focus on chinese ads plus generic easylist additions, daily updates, approx. 11.700 entries

        https://raw.githubusercontent.com/qxstyles/turris-hole-czech-block-list/master/turris-hole-czech-block-list
        focus on czech ads maintained by Turris Omnia Users, infrequent updates, approx. 100 entries

        https://easylist-downloads.adblockplus.org/easylistgermany+easylist.txt
        focus on german ads plus generic easylist additions, daily updates, approx. 9.200 entries

        https://easylist-downloads.adblockplus.org/abpindo+easylist.txt
        focus on indonesian ads plus generic easylist additions, weekly updates, approx. 9.600 entries

        https://easylist-downloads.adblockplus.org/easylistdutch+easylist.txt
        focus on dutch ads plus generic easylist additions, weekly updates, approx. 9.400 entries

        http://adblocklist.org/adblock-pxf-polish.txt
        focus on polish ads, daily updates, approx. 90 entries

        https://easylist-downloads.adblockplus.org/rolist+easylist.txt
        focus on romanian ads plus generic easylist additions, weekly updates, approx. 9.400 entries

        https://easylist-downloads.adblockplus.org/ruadlist+easylist.txt
        focus on russian ads plus generic easylist additions, weekly updates, approx. 14.500 entries

        http://www.shallalist.de/Downloads/shallalist.tar.gz
        huge blocklist archive subdivided in different categories, daily updates.

        https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt
        generic blocklist, infrequent updates, approx. 6.000 entries

        http://sysctl.org/cameleon/hosts
        broad blocklist, weekly updates, approx. 16.500 entries

        https://urlhaus.abuse.ch/downloads/rpz
        urlhaus RPZ domains by abuse.ch, numerous updates on the same day, approx. 3.500 entries

        https://dsi.ut-capitole.fr/blacklists/download/blacklists.tar.gz
        huge blocklist archive subdivided in different categories, daily updates.

        http://someonewhocares.org/hosts/hosts
        broad blocklist, weekly updates, approx. 10.000 entries

        https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
        focus on windows spy & telemetry domains, infrequent updates, approx. 300 entries

        http://winhelp2002.mvps.org/hosts.txt
        broad blocklist, infrequent updates, approx. 13.000 entries

        https://api.hackertarget.com/hostsearch/?q=googlevideo.com
        focus on youtube ad-related subdomains, dynamic request API, approx. 150 entries

        https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext
        focus on ad related domains, weekly updates, approx. 2.400 entries

        https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
        focus on zeus botnet by abuse.ch, daily updates, approx. 400 entries
郑重声明:
1. 本人过去、现在以及将来都不认识楼主,且自古以来与楼主无利益关系。
楼主表述之事与本人无关,只是本着"看贴回贴,利人利己的中华民族优秀传统美德",顺便凑个热闹.
2. 本人在此留言均为网络上复制,用于检验电脑键盘录入、屏幕显示的机械、光电性能。
并不代表本人局部或全部同意、支持或者反对楼主观点。

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 注册

回顶部