Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[规则减肥目的] 是否可以考虑从规则中删除 SPAM/Malware 域名? #256

Open
IceCodeNew opened this issue May 9, 2019 · 4 comments

Comments

@IceCodeNew
Copy link

IceCodeNew commented May 9, 2019

比如昨天的 commit 里就有像 cashier.alipay.com.srip.net 这样明显有问题的域名。
我的意思不是说从规则中删除这些域名就可以阻止用户访问这些域名了,阻止 SPAM/Malware 域名的确也不是这个项目的目标。
但是已经有很多 issue 提到了在规则条目太多的情况下 dnsmasq 可能会面临性能问题,我们是否可以考虑通过从规则中删除这些 SPAM/Malware 域名来给解析加速规则减减肥呢?

我觉得这个实现起来也不难,像 adblock 或者 ADGuard 等地方已经有可以直接下载的,比较成熟的规则了。一开始的时候免不了要对现有规则里的条目逐一去 SPAM/Malware 规则里面比对,后面的话就只需要对预定要 commit 的新域名(通常只有一条或数条)进行比对就可以了,影响不大。

@IceCodeNew
Copy link
Author

IceCodeNew commented May 9, 2019

顺便一提我是主要通过 9.9.9.9 来解析域名的,这个由 IBM 提供的公共 DNS 服务包含了过滤有害域名的功能。
当我用贵项目的解析加速规则搭配 9.9.9.9 来使用时,如果加速规则中包含有害的域名,就会使得 9.9.9.9 的防护功能失效。
所以如果开发者觉得给规则减肥并不是非常必要,那么我也希望开发者能够考虑到像我这样的应用场景,从规则中过滤掉有害域名。

@felixonmars
Copy link
Owner

目前规则里的“有害域名”应该非常少,达不到减肥目的。如果不希望访问由 adblock 定义的“有害域名”,使用 adblock 就好。在两个项目间同步这份列表是不必要和效果不好的。

@IceCodeNew
Copy link
Author

额,我不用 adblock 的。我只是说要剔除的话可以直接用它们那边用户维护的规则,我只用 dnsmasq 的。

@fernvenue
Copy link
Contributor

I think SPAM/Malware is not this project should consider, they are completely two different issues. By the way, maybe @IceCodeNew should consider to fork this project to do these things :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants