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

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

 找回密码
 注册
搜索

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

查看: 3626|回复: 1

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

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

UID
5
帖子
6562
威望
4312 点
黄金
10544 金币
在线时间
4572 小时
注册时间
2005-5-13
最后登录
2024-5-10

终身成就奖 宣传大使奖

发表于 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

adaway.zip

55.83 KB, 下载次数: 0, 下载积分: 黄金 -1 金币

中华人民共和国宪法第四十条:
中华人民共和国公民的通信自由和通信秘密受法律的保护。

使用道具 举报

Rank: 17Rank: 17

UID
391771
帖子
239
威望
172 点
黄金
119 金币
在线时间
115 小时
注册时间
2007-3-16
最后登录
2022-3-6
发表于 2021-7-29 16:30:55 |显示全部楼层
嘻嘻这个真没有看懂

使用道具 举报

发表回复

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

回顶部