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

Update global.conf and direct.conf #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

A1exMinatoooo
Copy link

删除 direct.conf 中的重复行
添加了一条 DOMAIN-KEYWORD 规则以过滤大部分 tracker 域名
移动部分站点至 global.conf 以解决部分地区运营商的屏蔽问题

Delete a duplicated line in `direct.conf`
Add a DOMAIN-KEYWORD rule to filter most of tracker domains
Move some PT domains to `global.conf` due to ISP block

Signed-off-by: A1exMinatoooo <21982749+A1exMinatoooo@users.noreply.github.com>
Source/non_ip/direct.conf Outdated Show resolved Hide resolved
Signed-off-by: A1exMinatoooo <21982749+A1exMinatoooo@users.noreply.github.com>
Comment on lines +4 to +8
# >> PT
DOMAIN-SUFFIX,m-team.cc
DOMAIN-SUFFIX,m-team.io
DOMAIN-SUFFIX,ourbits.club
DOMAIN-SUFFIX,u2.dmhy.org
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这几个走代理有什么原因么?是禁止中国大陆 IP 地址访问么?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

污染比较严重,问了几个在不同地区的朋友基本上都要走代理才能正常访问(或者访问速度较快)

其中以 Ourbits 为例昨天是有官方发公告说部分地区访问受阻

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

当初所有 PT 站走直连,主要是考虑到大部分 PT 站的 Tracker 都是自己主域名的子域名。现在加到这里,可能 Tracker 也跟着走代理了。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

观察了一下……U2 这么加是没问题的,tracker 域名是另一个 subdomain;馒头的话再细化一下 subdomain 也可以区分(不过不知道这样子直接写明域名合不合适);OB 有点头疼了,主站 domain = tracker domain

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

针对 OB 的情况应该还可以考虑加一条 PROCESS-NAME 规则覆盖常见的 BT 软件,这样可以在本机绕过 tracker 连接?如果部署在网关的话那就得用户自己去屏蔽 SRC-IP + SRC-PORT 的组合了(Surge 和 mihomo 都支持,用户自定义即可)

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