找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 17081|回复: 19

用Hosts或路由器来屏蔽抖Y、以及其它垃圾网站

[复制链接]
发表于 2021-1-25 12:54 | 显示全部楼层 |阅读模式
本帖最后由 hmybskl 于 2024-3-21 00:14 编辑

用Hosts或路由器屏蔽抖Y视频
最近家里来了几个小朋友,人手一台手机刷抖Y还外放,听见那些短视频的傻逼笑声就烦,很无奈,所以干脆抓包写了个Hosts过滤

第一种
直接不允许联网,抖Y首先会检测有没有网络,就是访问自己服务器获取数据
将以下几个网址屏蔽后,抖Y就会直接提示加载失败
127.0.0.1 log.snssdk.com
127.0.0.1 xlog.snssdk.com
127.0.0.1 i.snssdk.com
127.0.0.1 aweme.snssdk.com
127.0.0.1 lf.snssdk.com
127.0.0.1 is.snssdk.com
127.0.0.1 api.amemv.com
127.0.0.1 is.snssdk.com
127.0.0.1 mon.snssdk.com
127.0.0.1 effect.snssdk.com
127.0.0.1 hotsoon.snssdk.com
127.0.0.1 dm.toutiao.com
127.0.0.1 iu.snssdk.com
效果图

第二种
抖Y检测能访问到自家服务器之后首先获取封面,然后加载视频
获取封面的网址是p1~9.pstatp.com pb1~9.pstatp.com,这个网址就不屏蔽
只屏蔽以下加载视频的网址
127.0.0.1 v1-dy.ixigua.com
127.0.0.1 v2-dy.ixigua.com
127.0.0.1 v3-dy.ixigua.com
127.0.0.1 v4-dy.ixigua.com
127.0.0.1 v5-dy.ixigua.com
127.0.0.1 v6-dy.ixigua.com
127.0.0.1 v7-dy.ixigua.com
127.0.0.1 v8-dy.ixigua.com
127.0.0.1 v9-dy.ixigua.com
127.0.0.1 v1.pstatp.com
127.0.0.1 v2.pstatp.com
127.0.0.1 v3.pstatp.com
127.0.0.1 v4.pstatp.com
127.0.0.1 v5.pstatp.com
127.0.0.1 v6.pstatp.com
127.0.0.1 v7.pstatp.com
127.0.0.1 v8.pstatp.com
127.0.0.1 v9.pstatp.com
127.0.0.1 v1-dy-x.ixigua.com
127.0.0.1 v2-dy-x.ixigua.com
127.0.0.1 v3-dy-x.ixigua.com
127.0.0.1 v4-dy-x.ixigua.com
127.0.0.1 v5-dy-x.ixigua.com
127.0.0.1 v6-dy-x.ixigua.com
127.0.0.1 v7-dy-x.ixigua.com
127.0.0.1 v8-dy-x.ixigua.com
127.0.0.1 v9-dy-x.ixigua.com
127.0.0.1 v1-dy-y.ixigua.com
127.0.0.1 v2-dy-y.ixigua.com
127.0.0.1 v3-dy-y.ixigua.com
127.0.0.1 v4-dy-y.ixigua.com
127.0.0.1 v5-dy-y.ixigua.com
127.0.0.1 v6-dy-y.ixigua.com
127.0.0.1 v7-dy-y.ixigua.com
127.0.0.1 v8-dy-y.ixigua.com
127.0.0.1 v9-dy-y.ixigua.com
127.0.0.1 v1-dy.ixiguavideo.com
127.0.0.1 v2-dy.ixiguavideo.com
127.0.0.1 v3-dy.ixiguavideo.com
127.0.0.1 v4-dy.ixiguavideo.com
127.0.0.1 v5-dy.ixiguavideo.com
127.0.0.1 v6-dy.ixiguavideo.com
127.0.0.1 v7-dy.ixiguavideo.com
127.0.0.1 v8-dy.ixiguavideo.com
127.0.0.1 v9-dy.ixiguavideo.com
127.0.0.1 v1-dy-z.ixigua.com
127.0.0.1 v2-dy-z.ixigua.com
127.0.0.1 v3-dy-z.ixigua.com
127.0.0.1 v4-dy-z.ixigua.com
127.0.0.1 v5-dy-z.ixigua.com
127.0.0.1 v6-dy-z.ixigua.com
127.0.0.1 v7-dy-z.ixigua.com
127.0.0.1 v8-dy-z.ixigua.com
127.0.0.1 v9-dy-z.ixigua.com
这个的好处就是可以加载封面和其他的,不是直接提示加载失败,不然太明显别人猜得到
不过这个可能会加载出极少数视频,大概1%的概率

屏蔽XL_Ad
127.0.0.1 glroute.phub.sandai.net
127.0.0.1 spctrl.sandai.net
127.0.0.1 hub5pn.sandai.net
127.0.0.1 hub5pnc.sandai.net
127.0.0.1 hub5c.sandai.net
127.0.0.1 hub5u.sandai.net
127.0.0.1 relay.phub.sandai.net
127.0.0.1 pmap.sandai.net
127.0.0.1 hubstat.sandai.net
127.0.0.1 hub5sr.shub.sandai.net
127.0.0.1 hub5pr.sandai.net
127.0.0.1 imhub5pr.sandai.net
127.0.0.1 vodsts.sandai.net
127.0.0.1 mvhub5pr.sandai.net
127.0.0.1 hub5p.sandai.net
127.0.0.1 blockres.phub.sandai.net
127.0.0.1 viphub5pr.phub.sandai.net
127.0.0.1 hubciddata.sandai.net
127.0.0.1 glroute.phub.sandai.net
127.0.0.1 spctrl.sandai.net
127.0.0.1 imhub5t.sandai.net
127.0.0.1 com.down.sandai.net
127.0.0.1 imhubstat.sandai.net
127.0.0.1 xlissue110.sandai.net
127.0.0.1 bwcheck.sandai.net
127.0.0.1 hub5bs.sandai.net
127.0.0.1 master.dphub.sandai.net
127.0.0.1 c2.dphub.sandai.net
127.0.0.1 dpdn.sandai.net
127.0.0.1 kkstat1.sandai.net
127.0.0.1 c3.dphub.sandai.net
127.0.0.1 c0646.sandai.net
127.0.0.1 hub5idx.shub.sandai.net
127.0.0.1 pnode.dphub.sandai.net
127.0.0.1 t1678.sandai.net
127.0.0.1 hub5emu.sandai.net
127.0.0.1 t3.dphub.sandai.net
127.0.0.1 t1.dphub.sandai.net
127.0.0.1 c1.dphub.sandai.net
127.0.0.1 hub5btmain.sandai.net
127.0.0.1 btrouter.sandai.net
127.0.0.1 t2.dphub.sandai.net
127.0.0.1 hub5emutr.sandai.net
127.0.0.1 c1003.sandai.net
127.0.0.1 c2.dphub.sandai.net
127.0.0.1 recommend.xunlei.com
127.0.0.1 reg2t.vip.sandai.net
127.0.0.1 reg2u.sandai.net
127.0.0.1 cache.vip.xunlei.com
127.0.0.1 getrank.xunlei.com
127.0.0.1 getcert.xunlei.com
127.0.0.1 cache.xlgn.xunlei.com
127.0.0.1 df.reg2t.sandai.net
127.0.0.1 cache.cj.xunlei.com
127.0.0.1 allyes.nie.163.com
127.0.0.1 zy528.datamaster.com.cn
127.0.0.1 g2.v3.91.com
127.0.0.1 adrs.sdo.com
127.0.0.1 skyworthled.nimads.com
127.0.0.1 allyes.nie.163.com
127.0.0.1 ad.cn.doubleclick.net
127.0.0.1 topic.autohome.com.cn
127.0.0.1 skyworthled.nimads.com
127.0.0.1 xlissue110.sandai.net
127.0.0.1 biz5c.sandai.net
127.0.0.1 biz5.sandai.net
127.0.0.1 web.superhub.sandai.net
127.0.0.1 ub.dphub.sandai.net
127.0.0.1 biz5.sandai.net
127.0.0.1 cknum.sandai.net
127.0.0.1 ad.cn.doubleclick.net
127.0.0.1 advstat.xunlei.com

屏蔽KS视频
127.0.0.1 kuaishou.com
127.0.0.1 kwimgs.com
127.0.0.1 kwaicdn.com
127.0.0.1 ksurl.cn
127.0.0.1 ksapisrv.com
127.0.0.1 gifshow.com
127.0.0.1 yximgs.com
127.0.0.1 oskwai.com
127.0.0.1 inkuai.com

路由设置
支持DNS重定向、Hosts、Dnsmasq的路由器都可以屏蔽不想看到的网站,如果路由器不允许使用127.0.0.1,可以改为0.0.0.0

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-1-25 13:26 | 显示全部楼层
老哥,牛逼,近一段时间正好需要,我对于DY,真的很讨厌。

点评

我也很讨厌,个别视频还是不错得,但是很多很多那种太弱智太做作得看了呕心好几天。我家里大人小孩都不许安装。  详情 回复 发表于 2021-1-25 13:43
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-25 13:29 | 显示全部楼层
做个标记,有空试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-25 13:43 | 显示全部楼层
di7gan 发表于 2021-1-25 13:26
老哥,牛逼,近一段时间正好需要,我对于DY,真的很讨厌。

我也很讨厌,个别视频还是不错得,但是很多很多那种太弱智太做作得看了呕心好几天。我家里大人小孩都不许安装。

点评

你的做法非常好,抖Y视频是精神毒物  发表于 2021-2-3 17:53
我个人认为90%是无用的东西,而且我认为在里面投入时间越多,越容易让自己的的行为之类的倒退。 与其花这么多时间在无用的东西上,我认为做一些有意义的事情更好。 现在的网络上垃圾信息真的太多了,哎。  详情 回复 发表于 2021-1-25 15:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-25 14:33 | 显示全部楼层
求楼主把快手的也做上来吧,这样耳朵就清净了

点评

已补充了  发表于 2024-3-21 00:11
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-25 14:37 | 显示全部楼层
这些地址是添加到防火墙吗?怎么操作

点评

路由器黑明单,或防护墙也可以  发表于 2021-2-3 17:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-25 14:41 | 显示全部楼层
牛逼,家里也装,就安静了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-25 15:06 | 显示全部楼层
隐形的肩膀 发表于 2021-1-25 13:43
我也很讨厌,个别视频还是不错得,但是很多很多那种太弱智太做作得看了呕心好几天。我家里大人小孩都不许 ...

我个人认为90%是无用的东西,而且我认为在里面投入时间越多,越容易让自己的的行为之类的倒退。
与其花这么多时间在无用的东西上,我认为做一些有意义的事情更好。

现在的网络上垃圾信息真的太多了,哎。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-2-28 13:43 | 显示全部楼层
楼主这个做得不错,就是要屏蔽逗逼抖音啊,快手啊,拼多多等害人之物。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-12-11 01:42 | 显示全部楼层
大佬求 快手的

点评

已更新帖子  发表于 2024-3-21 00:11
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-28 17:31 | 显示全部楼层
不错,谢谢分享,家里还是要有给明白人
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-3-12 10:36 来自手机 | 显示全部楼层
有屏蔽云视听小电视的详细地址?单独屏蔽一条地址,实现不了?

点评

可以的  发表于 2024-3-20 21:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2024-3-24 15:00 来自手机 | 显示全部楼层
86532094 发表于 2024-3-12 10:36
有屏蔽云视听小电视的详细地址?单独屏蔽一条地址,实现不了?

有详细地址吗,我都屏蔽.bilibili.com了,也没好使。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 20:38

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表