mirror of
https://github.com/roacn/openwrt-packages.git
synced 2025-01-08 11:57:31 +08:00
🎁 Sync 2023-05-08 15:27
This commit is contained in:
parent
fc3d783760
commit
9e098fd25f
21
luci-app-cloudflarespeedtest/Makefile
Normal file
21
luci-app-cloudflarespeedtest/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Author: mingxiaoyu (fengying0347@163.com)
|
||||
#
|
||||
# Licensed to the public under the GNU General Public License v3.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-cloudflarespeedtest
|
||||
|
||||
LUCI_TITLE:=LuCI support for Cloudflares Speed Test
|
||||
LUCI_DEPENDS:=+cdnspeedtest +openssl-util +curl
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_VERSION:=1.5.2
|
||||
PKG_RELEASE:=0
|
||||
PKG_LICENSE:=AGPL-3.0
|
||||
PKG_MAINTAINER:=mingxiaoyu <fengying0347@163.com>
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
@ -0,0 +1,50 @@
|
||||
-- Copyright (C) 2020 mingxiaoyu <fengying0347@163.com>
|
||||
-- Licensed to the public under the GNU General Public License v3.
|
||||
module("luci.controller.cloudflarespeedtest",package.seeall)
|
||||
|
||||
function index()
|
||||
|
||||
if not nixio.fs.access('/etc/config/cloudflarespeedtest') then
|
||||
return
|
||||
end
|
||||
|
||||
local page
|
||||
page = entry({"admin", "services", "cloudflarespeedtest"}, firstchild(), _("Cloudflare Speed Test"), 99)
|
||||
page.dependent = false
|
||||
page.acl_depends = { "luci-app-cloudflarespeedtest" }
|
||||
|
||||
entry({"admin", "services", "cloudflarespeedtest", "general"}, cbi("cloudflarespeedtest/cloudflarespeedtest"), _("Base Setting"), 1)
|
||||
entry({"admin", "services", "cloudflarespeedtest", "logread"}, form("cloudflarespeedtest/logread"), _("Logs"), 2)
|
||||
|
||||
entry({"admin", "services", "cloudflarespeedtest", "status"}, call("act_status")).leaf = true
|
||||
entry({"admin", "services", "cloudflarespeedtest", "stop"}, call("act_stop"))
|
||||
entry({"admin", "services", "cloudflarespeedtest", "start"}, call("act_start"))
|
||||
entry({"admin", "services", "cloudflarespeedtest", "getlog"}, call("get_log"))
|
||||
end
|
||||
|
||||
function act_status()
|
||||
local e = {}
|
||||
e.running = luci.sys.call("busybox ps -w | grep cdnspeedtest | grep -v grep >/dev/null") == 0
|
||||
luci.http.prepare_content("application/json")
|
||||
luci.http.write_json(e)
|
||||
end
|
||||
|
||||
function act_stop()
|
||||
luci.sys.call("busybox ps -w | grep cdnspeedtest | grep -v grep | xargs kill -9 >/dev/null")
|
||||
luci.http.write('')
|
||||
end
|
||||
|
||||
function act_start()
|
||||
act_stop()
|
||||
luci.sys.call("/usr/bin/cloudflarespeedtest/cloudflarespeedtest.sh start")
|
||||
luci.http.write('')
|
||||
end
|
||||
|
||||
function get_log()
|
||||
local fs = require "nixio.fs"
|
||||
local e = {}
|
||||
e.running = luci.sys.call("busybox ps -w | grep cdnspeedtest | grep -v grep >/dev/null") == 0
|
||||
e.log= fs.readfile("/var/log/cloudflarespeedtest.log") or ""
|
||||
luci.http.prepare_content("application/json")
|
||||
luci.http.write_json(e)
|
||||
end
|
@ -0,0 +1,335 @@
|
||||
require("luci.sys")
|
||||
|
||||
local uci = luci.model.uci.cursor()
|
||||
|
||||
m = Map('cloudflarespeedtest')
|
||||
m.title = translate('Cloudflare Speed Test')
|
||||
m.description = '<a href=\"https://github.com/mingxiaoyu/luci-app-cloudflarespeedtest\" target=\"_blank\">GitHub</a>'
|
||||
|
||||
-- [[ 基本设置 ]]--
|
||||
|
||||
s = m:section(NamedSection, 'global')
|
||||
s.addremove = false
|
||||
s.anonymous = true
|
||||
|
||||
o=s:option(Flag,"enabled",translate("Enabled"))
|
||||
o.description = translate("Enabled scheduled task test Cloudflare IP")
|
||||
o.rmempty=false
|
||||
o.default = 0
|
||||
|
||||
o=s:option(Flag,"ipv6_enabled",translate("IPv6 Enabled"))
|
||||
o.description = translate("Provides only one method, if IPv6 is enabled, IPv4 will not be tested")
|
||||
o.default = 0
|
||||
o.rmempty=false
|
||||
|
||||
o=s:option(Value,"speed",translate("Broadband speed"))
|
||||
o.description =translate("100M broadband download speed is about 12M/s. It is not recommended to fill in an excessively large value, and it may run all the time.");
|
||||
o.datatype ="uinteger"
|
||||
o.rmempty=false
|
||||
|
||||
o=s:option(Value,"custome_url",translate("Custome Url"))
|
||||
o.description = translate("<a href=\"https://github.com/XIU2/CloudflareSpeedTest/issues/168\" target=\"_blank\">How to create</a>")
|
||||
o.rmempty=false
|
||||
|
||||
o=s:option(Flag,"custome_cors_enabled",translate("Custome Cron Enabled"))
|
||||
o.default = 0
|
||||
o.rmempty=false
|
||||
|
||||
o = s:option(Value, "custome_cron", translate("Custome Cron"))
|
||||
o:depends("custome_cors_enabled", 1)
|
||||
|
||||
hour = s:option(Value, "hour", translate("Hour"))
|
||||
hour.datatype = "range(0,23)"
|
||||
hour:depends("custome_cors_enabled", 0)
|
||||
|
||||
minute = s:option(Value, "minute", translate("Minute"))
|
||||
minute.datatype = "range(0,59)"
|
||||
minute:depends("custome_cors_enabled", 0)
|
||||
|
||||
o = s:option(ListValue, "proxy_mode", translate("Proxy Mode"))
|
||||
o:value("nil", translate("HOLD"))
|
||||
o.description = translate("during the speed testing, swith to which mode")
|
||||
o:value("gfw", translate("GFW List"))
|
||||
o:value("close", translate("CLOSE"))
|
||||
o.default = "gfw"
|
||||
|
||||
o=s:option(Flag,"advanced",translate("Advanced"))
|
||||
o.description = translate("Not recommended")
|
||||
o.default = 0
|
||||
o.rmempty=false
|
||||
|
||||
o = s:option(Value, "threads", translate("Thread"))
|
||||
o.datatype ="uinteger"
|
||||
o.default = 200
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Value, "tl", translate("Average Latency Cap"))
|
||||
o.datatype ="uinteger"
|
||||
o.default = 200
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Value, "tll", translate("Average Latency Lower Bound"))
|
||||
o.datatype ="uinteger"
|
||||
o.default = 40
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Value, "t", translate("Delayed speed measurement time"))
|
||||
o.datatype ="uinteger"
|
||||
o.default = 4
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Value, "dt", translate("Download speed test time"))
|
||||
o.datatype ="uinteger"
|
||||
o.default = 10
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Value, "dn", translate("Number of download speed tests"))
|
||||
o.datatype ="uinteger"
|
||||
o.default = 1
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Flag, "dd", translate("Disable download speed test"))
|
||||
o.default = 0
|
||||
o.rmempty=true
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(Value, "tp", translate("Port"))
|
||||
o.rmempty=true
|
||||
o.default = 443
|
||||
o.datatype ="port"
|
||||
o:depends("advanced", 1)
|
||||
|
||||
o = s:option(DummyValue, '', '')
|
||||
o.rawhtml = true
|
||||
o.template = "cloudflarespeedtest/actions"
|
||||
|
||||
s = m:section(NamedSection, "servers", "section", translate("Third party applications settings"))
|
||||
|
||||
if nixio.fs.access("/etc/config/shadowsocksr") then
|
||||
s:tab("ssr", translate("Shadowsocksr Plus+"))
|
||||
|
||||
o=s:taboption("ssr", Flag, "ssr_enabled",translate("Shadowsocksr Plus+ Enabled"))
|
||||
o.rmempty=true
|
||||
|
||||
local ssr_server_table = {}
|
||||
uci:foreach("shadowsocksr", "servers", function(s)
|
||||
if s.alias then
|
||||
ssr_server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.v2ray_protocol or s.type), s.alias}
|
||||
elseif s.server and s.server_port then
|
||||
ssr_server_table[s[".name"]] = "[%s]:%s:%s" % {string.upper(s.v2ray_protocol or s.type), s.server, s.server_port}
|
||||
end
|
||||
end)
|
||||
|
||||
local ssr_key_table = {}
|
||||
for key, _ in pairs(ssr_server_table) do
|
||||
table.insert(ssr_key_table, key)
|
||||
end
|
||||
|
||||
table.sort(ssr_key_table)
|
||||
|
||||
o = s:taboption("ssr", DynamicList, "ssr_services",
|
||||
translate("Shadowsocksr Servers"),
|
||||
translate("Please select a service"))
|
||||
|
||||
for _, key in pairs(ssr_key_table) do
|
||||
o:value(key, ssr_server_table[key])
|
||||
end
|
||||
o:depends("ssr_enabled", 1)
|
||||
o.forcewrite = true
|
||||
|
||||
end
|
||||
|
||||
|
||||
if nixio.fs.access("/etc/config/passwall") then
|
||||
s:tab("passwalltab", translate("passwall"))
|
||||
|
||||
o=s:taboption("passwalltab", Flag, "passwall_enabled",translate("Passwall Enabled"))
|
||||
o.rmempty=true
|
||||
|
||||
local passwall_server_table = {}
|
||||
uci:foreach("passwall", "nodes", function(s)
|
||||
if s.remarks then
|
||||
passwall_server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.protocol or s.type), s.remarks}
|
||||
end
|
||||
end)
|
||||
|
||||
local passwall_key_table = {}
|
||||
for key, _ in pairs(passwall_server_table) do
|
||||
table.insert(passwall_key_table, key)
|
||||
end
|
||||
|
||||
table.sort(passwall_key_table)
|
||||
|
||||
o = s:taboption("passwalltab", DynamicList, "passwall_services",
|
||||
translate("Passwall Servers"),
|
||||
translate("Please select a service"))
|
||||
|
||||
for _, key in pairs(passwall_key_table) do
|
||||
o:value(key, passwall_server_table[key])
|
||||
end
|
||||
o:depends("passwall_enabled", 1)
|
||||
o.forcewrite = true
|
||||
|
||||
end
|
||||
|
||||
if nixio.fs.access("/etc/config/passwall2") then
|
||||
s:tab("passwall2tab", translate("passwall2"))
|
||||
|
||||
o=s:taboption("passwall2tab", Flag, "passwall2_enabled",translate("PassWall2 Enabled"))
|
||||
o.rmempty=true
|
||||
|
||||
local passwall2_server_table = {}
|
||||
uci:foreach("passwall2", "nodes", function(s)
|
||||
if s.remarks then
|
||||
passwall2_server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.protocol or s.type), s.remarks}
|
||||
end
|
||||
end)
|
||||
|
||||
local passwall2_key_table = {}
|
||||
for key, _ in pairs(passwall2_server_table) do
|
||||
table.insert(passwall2_key_table, key)
|
||||
end
|
||||
|
||||
table.sort(passwall2_key_table)
|
||||
|
||||
o = s:taboption("passwall2tab", DynamicList, "passwall2_services",
|
||||
translate("Passwall2 Servers"),
|
||||
translate("Please select a service"))
|
||||
|
||||
for _, key in pairs(passwall2_key_table) do
|
||||
o:value(key, passwall2_server_table[key])
|
||||
end
|
||||
o:depends("passwall2_enabled", 1)
|
||||
o.forcewrite = true
|
||||
|
||||
end
|
||||
|
||||
s:tab("bypasstab", translate("Bypass"))
|
||||
if nixio.fs.access("/etc/config/bypass") then
|
||||
|
||||
o=s:taboption("bypasstab", Flag, "bypass_enabled",translate("Bypass Enabled"))
|
||||
o.rmempty=true
|
||||
|
||||
local bypass_server_table = {}
|
||||
uci:foreach("bypass", "servers", function(s)
|
||||
if s.alias then
|
||||
bypass_server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.protocol or s.type), s.alias}
|
||||
elseif s.server and s.server_port then
|
||||
bypass_server_table[s[".name"]] = "[%s]:%s:%s" % {string.upper(s.protocol or s.type), s.server, s.server_port}
|
||||
end
|
||||
end)
|
||||
|
||||
local bypass_key_table = {}
|
||||
for key, _ in pairs(bypass_server_table) do
|
||||
table.insert(bypass_key_table, key)
|
||||
end
|
||||
|
||||
table.sort(bypass_key_table)
|
||||
|
||||
o = s:taboption("bypasstab", DynamicList, "bypass_services",
|
||||
translate("Bypass Servers"),
|
||||
translate("Please select a service"))
|
||||
|
||||
for _, key in pairs(bypass_key_table) do
|
||||
o:value(key, bypass_server_table[key])
|
||||
end
|
||||
o:depends("bypass_enabled", 1)
|
||||
o.forcewrite = true
|
||||
|
||||
end
|
||||
|
||||
s:tab("vssrtab", translate("Vssr"))
|
||||
if nixio.fs.access("/etc/config/vssr") then
|
||||
|
||||
o=s:taboption("vssrtab", Flag, "vssr_enabled",translate("Vssr Enabled"))
|
||||
o.rmempty=true
|
||||
|
||||
local vssr_server_table = {}
|
||||
uci:foreach("vssr", "servers", function(s)
|
||||
if s.alias then
|
||||
vssr_server_table[s[".name"]] = "[%s]:%s" % {string.upper(s.protocol or s.type), s.alias}
|
||||
elseif s.server and s.server_port then
|
||||
vssr_server_table[s[".name"]] = "[%s]:%s:%s" % {string.upper(s.protocol or s.type), s.server, s.server_port}
|
||||
end
|
||||
end)
|
||||
|
||||
local vssr_key_table = {}
|
||||
for key, _ in pairs(vssr_server_table) do
|
||||
table.insert(vssr_key_table, key)
|
||||
end
|
||||
|
||||
table.sort(vssr_key_table)
|
||||
|
||||
o = s:taboption("vssrtab", DynamicList, "vssr_services",
|
||||
translate("Vssr Servers"),
|
||||
translate("Please select a service"))
|
||||
|
||||
for _, key in pairs(vssr_key_table) do
|
||||
o:value(key, vssr_server_table[key])
|
||||
end
|
||||
o:depends("vssr_enabled", 1)
|
||||
o.forcewrite = true
|
||||
|
||||
end
|
||||
|
||||
s:tab("dnstab", translate("DNS"))
|
||||
|
||||
o=s:taboption("dnstab", Flag, "DNS_enabled",translate("DNS Enabled"))
|
||||
|
||||
o=s:taboption("dnstab", ListValue, "DNS_type", translate("DNS Type"))
|
||||
o:value("aliyu", translate("AliyuDNS"))
|
||||
o:depends("DNS_enabled", 1)
|
||||
|
||||
o=s:taboption("dnstab", Value,"app_key",translate("Access Key ID"))
|
||||
o.rmempty=true
|
||||
o:depends("DNS_enabled", 1)
|
||||
o=s:taboption("dnstab", Value,"app_secret",translate("Access Key Secret"))
|
||||
o.rmempty=true
|
||||
o:depends("DNS_enabled", 1)
|
||||
|
||||
o=s:taboption("dnstab", Value,"main_domain",translate("Main Domain"),translate("For example: test.github.com -> github.com"))
|
||||
o.rmempty=true
|
||||
o:depends("DNS_enabled", 1)
|
||||
o=s:taboption("dnstab", DynamicList,"sub_domain",translate("Sub Domain"),translate("For example: test.github.com -> test"))
|
||||
o.rmempty=true
|
||||
o:depends("DNS_enabled", 1)
|
||||
|
||||
o=s:taboption("dnstab", ListValue, "line", translate("Lines"))
|
||||
o:value("default", translate("default"))
|
||||
o:value("telecom", translate("telecom"))
|
||||
o:value("unicom", translate("unicom"))
|
||||
o:value("mobile", translate("mobile"))
|
||||
o:depends("DNS_enabled", 1)
|
||||
o.default ="telecom"
|
||||
|
||||
s:tab("dnshost", translate("HOST"))
|
||||
o=s:taboption("dnshost", Flag, "HOST_enabled",translate("HOST Enabled"))
|
||||
o=s:taboption("dnshost", Value,"host_domain",translate("Domain"))
|
||||
o.rmempty=true
|
||||
o:depends("HOST_enabled", 1)
|
||||
|
||||
e=m:section(TypedSection,"global",translate("Best IP"))
|
||||
e.anonymous=true
|
||||
local a="/usr/share/cloudflarespeedtestresult.txt"
|
||||
tvIPs=e:option(TextValue,"syipstext")
|
||||
tvIPs.rows=8
|
||||
tvIPs.readonly="readonly"
|
||||
tvIPs.wrap="off"
|
||||
|
||||
function tvIPs.cfgvalue(e,e)
|
||||
sylogtext=""
|
||||
if a and nixio.fs.access(a) then
|
||||
sylogtext=luci.sys.exec("tail -n 100 %s"%a)
|
||||
end
|
||||
return sylogtext
|
||||
end
|
||||
tvIPs.write=function(e,e,e)
|
||||
end
|
||||
|
||||
return m
|
@ -0,0 +1,9 @@
|
||||
log = SimpleForm("logview")
|
||||
log.submit = false
|
||||
log.reset = false
|
||||
|
||||
t = log:field(DummyValue, '', '')
|
||||
t.rawhtml = true
|
||||
t.template = 'cloudflarespeedtest/logread'
|
||||
|
||||
return log
|
@ -0,0 +1,56 @@
|
||||
<%+cbi/valueheader%>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
const STATUS_URL = '<%=luci.dispatcher.build_url("admin", "services", "cloudflarespeedtest","status")%>';
|
||||
const RUN_URL = '<%=luci.dispatcher.build_url("admin", "services", "cloudflarespeedtest","start")%>';
|
||||
const STOP_URL = '<%=luci.dispatcher.build_url("admin", "services", "cloudflarespeedtest","stop")%>';
|
||||
const LOG_URL = '<%=luci.dispatcher.build_url("admin", "services", "cloudflarespeedtest","logread")%>';
|
||||
|
||||
XHR.poll(3, STATUS_URL, null,
|
||||
function(x, data) {
|
||||
var tb = document.getElementById('cloudflarespeedtest_status');
|
||||
|
||||
if (data && tb) {
|
||||
if (data.running) {
|
||||
buttonStatus(true)
|
||||
tb.innerHTML = '<em><b><font color=green><%:RUNNING %></font></b></em>';
|
||||
} else {
|
||||
buttonStatus(false)
|
||||
tb.innerHTML = '<em><b><font color=red> <%:NOT RUNNING %></font></b></em>';
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
function cloudflarespeedtest_act_start() {
|
||||
buttonStatus(true)
|
||||
XHR.get(RUN_URL, null, () => {
|
||||
});
|
||||
setTimeout(() => { window.location = LOG_URL }, 500);
|
||||
return false;
|
||||
}
|
||||
|
||||
function cloudflarespeedtest_act_stop(){
|
||||
XHR.get(STOP_URL, null, () => {
|
||||
buttonStatus(false)
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function buttonStatus(running){
|
||||
document.getElementById('cloudflarespeedtest_start').style.display = running ? "none" : "block"
|
||||
document.getElementById('cloudflarespeedtest_stop').style.display = running ? "block" : "none"
|
||||
}
|
||||
|
||||
//]]></script>
|
||||
<label class="cbi-value-title"><%= translate("Status") %></label>
|
||||
<div class="cbi-value-field">
|
||||
<p id="cloudflarespeedtest_status"><em><%:Collecting data...%></em></p>
|
||||
</div>
|
||||
|
||||
<label class="cbi-value-title"><%= translate("Speed Test") %></label>
|
||||
<div class="cbi-value-field">
|
||||
<input id="cloudflarespeedtest_start" type="button" style="display:block;" class="btn cbi-button cbi-button-apply" value="<%= translate('TEST AND APPLY') %>" onclick="cloudflarespeedtest_act_start()" />
|
||||
<input id="cloudflarespeedtest_stop" type="button" style="display:none;" class="btn cbi-button cbi-button-apply" value="<%= translate('STOP') %>" onclick="cloudflarespeedtest_act_stop()" />
|
||||
</div>
|
||||
|
||||
<%+cbi/valuefooter%>
|
@ -0,0 +1,23 @@
|
||||
<%+cbi/valueheader%>
|
||||
<input type="checkbox" id="checkbox1" checked><%:Auto refresh%></input>
|
||||
<textarea id="logview" class="cbi-input-textarea" style="width: 100%" rows="30" readonly="readonly"></textarea>
|
||||
|
||||
<script type="text/javascript">
|
||||
const LOG_URL = '<%=luci.dispatcher.build_url("admin", "services", "cloudflarespeedtest","getlog")%>';
|
||||
|
||||
function getlog(){
|
||||
XHR.get(LOG_URL, null, function(x, data) {
|
||||
logview.value = data.log;
|
||||
if(document.getElementById("checkbox1").checked == true){
|
||||
logview.scrollTop = logview.scrollHeight;
|
||||
}
|
||||
});
|
||||
}
|
||||
getlog()
|
||||
setInterval(() => {
|
||||
if(document.getElementById("checkbox1").checked == true){
|
||||
getlog()
|
||||
}
|
||||
}, 2000);
|
||||
</script>
|
||||
<%+cbi/valuefooter%>
|
1
luci-app-cloudflarespeedtest/po/zh-cn
Symbolic link
1
luci-app-cloudflarespeedtest/po/zh-cn
Symbolic link
@ -0,0 +1 @@
|
||||
zh_Hans
|
221
luci-app-cloudflarespeedtest/po/zh_Hans/cloudflarespeedtest.po
Normal file
221
luci-app-cloudflarespeedtest/po/zh_Hans/cloudflarespeedtest.po
Normal file
@ -0,0 +1,221 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: 2022-02-10 20:44+0000\n"
|
||||
"Last-Translator: mingxiaoyu <fengying0347@163.com>\n"
|
||||
"Language: zh_Hans\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 4.8-dev\n"
|
||||
|
||||
msgid "<a href=\"https://github.com/mingxiaoyu/luci-app-cloudflarespeedtest\" target=\"_blank\">GitHub</a>"
|
||||
msgstr "<a href=\"https://github.com/mingxiaoyu/luci-app-cloudflarespeedtest\" target=\"_blank\">GitHub项目地址</a>"
|
||||
|
||||
msgid "Cloudflare Speed Test"
|
||||
msgstr "Cloudflare速度测试"
|
||||
|
||||
msgid "Base Setting"
|
||||
msgstr "基本设置"
|
||||
|
||||
msgid "Logs"
|
||||
msgstr "日志"
|
||||
|
||||
msgid "Enabled"
|
||||
msgstr "启用"
|
||||
|
||||
msgid "Enabled scheduled task test Cloudflare IP"
|
||||
msgstr "启用计划任务测试 Cloudflare IP"
|
||||
|
||||
msgid "Broadband speed"
|
||||
msgstr "宽带速度"
|
||||
|
||||
msgid "Custome Url Enabled"
|
||||
msgstr "启用自定义地址"
|
||||
|
||||
msgid "Custome Url"
|
||||
msgstr "自定义地址"
|
||||
|
||||
msgid "Custome Cron Enabled"
|
||||
msgstr "启用自定义Cron"
|
||||
|
||||
msgid "Custome Cron"
|
||||
msgstr "自定义Cron"
|
||||
|
||||
msgid "Hour"
|
||||
msgstr "小时"
|
||||
|
||||
msgid "Minute"
|
||||
msgstr "分钟"
|
||||
|
||||
msgid "100M broadband download speed is about 12M/s. It is not recommended to fill in an excessively large value, and it may run all the time."
|
||||
msgstr "100M的宽带下载大概为速度12M/s。不推荐填过大的值,可能出现一直运行。"
|
||||
|
||||
msgid "Shadowsocksr Plus+ Enabled"
|
||||
msgstr "启用ShadowSocksR Plus+"
|
||||
|
||||
msgid "Passwall Enabled"
|
||||
msgstr "启用Passwall"
|
||||
|
||||
msgid "PassWall2 Enabled"
|
||||
msgstr "启用PassWall2"
|
||||
|
||||
msgid "Bypass Enabled"
|
||||
msgstr "启用Bypass"
|
||||
|
||||
msgid "Vssr Enabled"
|
||||
msgstr "启用Vssr"
|
||||
msgid "Shadowsocksr Servers"
|
||||
msgstr "ShadowSocksR Plus+服务"
|
||||
|
||||
msgid "Passwall Servers"
|
||||
msgstr "Passwall服务"
|
||||
|
||||
msgid "Passwall2 Servers"
|
||||
msgstr "Passwall2服务"
|
||||
|
||||
msgid "Bypass Servers"
|
||||
msgstr "Bypass服务"
|
||||
|
||||
msgid "Vssr Servers"
|
||||
msgstr "Vssr服务"
|
||||
|
||||
msgid "Please select a service"
|
||||
msgstr "请选择一项服务"
|
||||
|
||||
msgid "Speed Test"
|
||||
msgstr "速度测试"
|
||||
|
||||
msgid "Best IP"
|
||||
msgstr "最佳IP"
|
||||
|
||||
msgid "TEST AND APPLY"
|
||||
msgstr "测试并应用"
|
||||
|
||||
msgid "STOP"
|
||||
msgstr "停止"
|
||||
|
||||
msgid "Advanced"
|
||||
msgstr "高级模式"
|
||||
|
||||
msgid "Thread"
|
||||
msgid "线程数"
|
||||
|
||||
msgid "Average Latency Cap"
|
||||
msgstr "平均延迟上限"
|
||||
|
||||
msgid "Average Latency Lower Bound"
|
||||
msgstr "平均延迟下限"
|
||||
|
||||
msgid "IPv6 Enabled"
|
||||
msgstr "启用IPv6"
|
||||
|
||||
msgid "Delayed speed measurement time"
|
||||
msgstr "延迟测速次数"
|
||||
|
||||
msgid "Download speed test time"
|
||||
msgstr "下载测速时间"
|
||||
|
||||
msgid "Number of download speed tests"
|
||||
msgstr "下载测速数量"
|
||||
|
||||
msgid "Disable download speed test"
|
||||
msgstr "禁用下载测速"
|
||||
|
||||
msgid "Port"
|
||||
msgstr "端口"
|
||||
|
||||
msgid "Not recommended"
|
||||
msgstr "不推荐"
|
||||
|
||||
msgid "Provides only one method, if IPv6 is enabled, IPv4 will not be tested"
|
||||
msgstr "IPv4和IPv6只能选一个!!!!!!"
|
||||
|
||||
msgid "<a href=\"https://github.com/XIU2/CloudflareSpeedTest/issues/168\" target=\"_blank\">How to create</a>"
|
||||
msgstr "<a href=\"https://github.com/XIU2/CloudflareSpeedTest/issues/168\" target=\"_blank\">如何创建</a>"
|
||||
|
||||
msgid "RUNNING"
|
||||
msgstr "运行中"
|
||||
|
||||
msgid "NOT RUNNING"
|
||||
msgstr "未运行"
|
||||
|
||||
msgid "Collecting data..."
|
||||
msgstr "收集数据中..."
|
||||
|
||||
msgid "Third party applications settings"
|
||||
msgstr "第三方应用设置"
|
||||
|
||||
msgid "Auto refresh"
|
||||
msgstr "自动刷新"
|
||||
|
||||
msgid "Status"
|
||||
msgstr "状态"
|
||||
|
||||
msgid "Proxy Mode"
|
||||
msgstr "代理模式"
|
||||
|
||||
msgid "HOLD"
|
||||
msgstr "保持"
|
||||
|
||||
msgid "GFW List"
|
||||
msgid "GFW列表"
|
||||
|
||||
msgid "CLOSE"
|
||||
msgstr "关闭"
|
||||
|
||||
msgid "during the speed testing, swith to which mode"
|
||||
msgstr "在速度测试期间,切换到哪种模式"
|
||||
|
||||
msgid "DNS"
|
||||
msgstr "DNS"
|
||||
|
||||
msgid "DNS Enabled"
|
||||
msgstr "启用DNS"
|
||||
|
||||
msgid "DNS Type"
|
||||
msgstr "DNS类型"
|
||||
|
||||
msgid "AliyuDNS"
|
||||
msgstr "阿里云DNS"
|
||||
|
||||
msgid "Access Key ID"
|
||||
msgstr "Access Key ID"
|
||||
|
||||
msgid "Access Key Secret"
|
||||
msgstr "Access Key Secret"
|
||||
|
||||
msgid "Main Domain"
|
||||
msgstr "主域名"
|
||||
|
||||
msgid "Sub Domain"
|
||||
msgstr "子域名"
|
||||
|
||||
msgid "For example: test.github.com -> github.com"
|
||||
msgstr "例如: test.github.com 则填: github.com"
|
||||
|
||||
msgid "For example: test.github.com -> test"
|
||||
msgstr "例如: test.github.com, 则填: test"
|
||||
|
||||
msgid "Lines"
|
||||
msgstr "解析线路"
|
||||
|
||||
msgid "default"
|
||||
msgstr "默认"
|
||||
|
||||
msgid "telecom"
|
||||
msgstr "电信"
|
||||
|
||||
msgid "unicom"
|
||||
msgstr "联通"
|
||||
|
||||
msgid "mobile"
|
||||
msgstr "移动"
|
||||
|
||||
msgid "HOST Enabled"
|
||||
msgstr "启用HOST"
|
||||
|
||||
msgid "Domain"
|
||||
msgstr "域名"
|
@ -0,0 +1,21 @@
|
||||
|
||||
config global 'global'
|
||||
option hour '5'
|
||||
option minute '0'
|
||||
option enabled '0'
|
||||
option ipv6_enabled '0'
|
||||
option advanced '0'
|
||||
option tl '200'
|
||||
option tll '40'
|
||||
option custome_url 'https://speed.cloudflare.com/__down?bytes=300000000'
|
||||
option threads '200'
|
||||
option speed '100'
|
||||
|
||||
config servers 'servers'
|
||||
option ssr_enabled '0'
|
||||
option passwall_enabled '0'
|
||||
option passwall2_enabled '0'
|
||||
option bypass_enabled '0'
|
||||
option vssr_enabled '0'
|
||||
option DNS_enabled '0'
|
||||
|
59
luci-app-cloudflarespeedtest/root/etc/init.d/cloudflarespeedtest
Executable file
59
luci-app-cloudflarespeedtest/root/etc/init.d/cloudflarespeedtest
Executable file
@ -0,0 +1,59 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=99
|
||||
|
||||
USE_PROCD=1
|
||||
|
||||
CRON_FILE=/etc/crontabs/root
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "cloudflarespeedtest"
|
||||
}
|
||||
|
||||
add_cron(){
|
||||
local enabled
|
||||
config_get_bool enabled $1 enabled
|
||||
|
||||
del_cron
|
||||
|
||||
if [ $enabled = 1 ] ; then
|
||||
local minute
|
||||
local hour
|
||||
local custome_cors_enabled
|
||||
local custome_cron
|
||||
|
||||
config_get minute $1 minute
|
||||
config_get hour $1 hour
|
||||
config_get_bool custome_cors_enabled $1 custome_cors_enabled
|
||||
config_get custome_cron $1 custome_cron
|
||||
|
||||
if [ $custome_cors_enabled = 1 ] ; then
|
||||
echo "$custome_cron /usr/bin/cloudflarespeedtest/cloudflarespeedtest.sh start" >> $CRON_FILE
|
||||
else
|
||||
echo "$minute $hour * * * /usr/bin/cloudflarespeedtest/cloudflarespeedtest.sh start" >> $CRON_FILE
|
||||
fi
|
||||
crontab $CRON_FILE
|
||||
fi
|
||||
}
|
||||
|
||||
del_cron(){
|
||||
sed -i '/cloudflarespeedtest/d' $CRON_FILE
|
||||
/etc/init.d/cron restart
|
||||
}
|
||||
|
||||
stop_instance(){
|
||||
del_cron
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
config_load cloudflarespeedtest
|
||||
config_foreach stop_instance global
|
||||
}
|
||||
start_service() {
|
||||
config_load cloudflarespeedtest
|
||||
config_foreach add_cron global
|
||||
}
|
||||
reload_service() {
|
||||
stop
|
||||
start
|
||||
}
|
81
luci-app-cloudflarespeedtest/root/usr/bin/cloudflarespeedtest/aliddns.sh
Executable file
81
luci-app-cloudflarespeedtest/root/usr/bin/cloudflarespeedtest/aliddns.sh
Executable file
@ -0,0 +1,81 @@
|
||||
#!/bin/sh
|
||||
LOG_FILE='/var/log/cloudflarespeedtest.log'
|
||||
|
||||
echolog() {
|
||||
local d="$(date "+%Y-%m-%d %H:%M:%S")"
|
||||
echo -e "$d: $*" >>$LOG_FILE
|
||||
}
|
||||
|
||||
urlencode() {
|
||||
# urlencode url<string>
|
||||
out=''
|
||||
for c in $(echo -n $1 | sed 's/[^\n]/&\n/g'); do
|
||||
case $c in
|
||||
[a-zA-Z0-9._-]) out="$out$c" ;;
|
||||
*) out="$out$(printf '%%%02X' "'$c")" ;;
|
||||
esac
|
||||
done
|
||||
echo -n $out
|
||||
}
|
||||
|
||||
send_request() {
|
||||
# send_request action<string> args<string>
|
||||
local args="AccessKeyId=$ak_id&Action=$1&Format=json&$2&Version=2015-01-09"
|
||||
local hash=$(urlencode $(echo -n "GET&%2F&$(urlencode $args)" | openssl dgst -sha1 -hmac "$ak_sec&" -binary | openssl base64))
|
||||
curl -sSL --connect-timeout 5 "http://alidns.aliyuncs.com/?$args&Signature=$hash"
|
||||
}
|
||||
|
||||
get_recordid() {
|
||||
sed 's/RR/\n/g' | sed -n 's/.*RecordId[^0-9]*\([0-9]*\).*/\1\n/p' | sort -ru | sed /^$/d
|
||||
}
|
||||
|
||||
query_recordid() {
|
||||
send_request "DescribeSubDomainRecords" "SignatureMethod=HMAC-SHA1&SignatureNonce=$timestamp&SignatureVersion=1.0&SubDomain=$sub_dm.$main_dm&Timestamp=$timestamp&Type=A"
|
||||
}
|
||||
|
||||
update_record() {
|
||||
send_request "UpdateDomainRecord" "Line=$line&RR=$sub_dm&RecordId=$1&SignatureMethod=HMAC-SHA1&SignatureNonce=$timestamp&SignatureVersion=1.0&Timestamp=$timestamp&Type=$type&Value=$ip"
|
||||
}
|
||||
|
||||
add_record() {
|
||||
send_request "AddDomainRecord&DomainName=$main_dm" "Line=$line&RR=$sub_dm&SignatureMethod=HMAC-SHA1&SignatureNonce=$timestamp&SignatureVersion=1.0&Timestamp=$timestamp&Type=$type&Value=$ip"
|
||||
}
|
||||
|
||||
del_record() {
|
||||
send_request "DeleteDomainRecord" "RecordId=$1&SignatureMethod=HMAC-SHA1&SignatureNonce=$timestamp&SignatureVersion=1.0&Timestamp=$timestamp"
|
||||
}
|
||||
|
||||
aliddns() {
|
||||
ak_id=$1
|
||||
ak_sec=$2
|
||||
main_dm=$3
|
||||
sub_dm=$4
|
||||
line=$5
|
||||
isIpv6=$6
|
||||
ip=$7
|
||||
type=A
|
||||
|
||||
if [ $isIpv6 -eq "1" ] ;then
|
||||
type=AAAA
|
||||
fi
|
||||
echo $ip
|
||||
echo $type
|
||||
rrid=`query_recordid | get_recordid`
|
||||
|
||||
if [ -z "$rrid" ]; then
|
||||
rrid=`add_record | get_recordid`
|
||||
echolog "ADD record $rrid"
|
||||
else
|
||||
update_record $rrid
|
||||
echolog "UPDATE record $rrid"
|
||||
fi
|
||||
if [ -z "$rrid" ]; then
|
||||
# failed
|
||||
echolog "# ERROR, Please Check Config/Time"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
timestamp=$(date -u "+%Y-%m-%dT%H%%3A%M%%3A%SZ")
|
||||
|
||||
aliddns "$@"
|
@ -0,0 +1,318 @@
|
||||
#!/bin/sh
|
||||
|
||||
LOG_FILE='/var/log/cloudflarespeedtest.log'
|
||||
IP_FILE='/usr/share/cloudflarespeedtestresult.txt'
|
||||
IPV4_TXT='/usr/share/CloudflareSpeedTest/ip.txt'
|
||||
IPV6_TXT='/usr/share/CloudflareSpeedTest/ipv6.txt'
|
||||
|
||||
function get_global_config(){
|
||||
while [[ "$*" != "" ]]; do
|
||||
eval ${1}='`uci get cloudflarespeedtest.global.$1`' 2>/dev/null
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
function get_servers_config(){
|
||||
while [[ "$*" != "" ]]; do
|
||||
eval ${1}='`uci get cloudflarespeedtest.servers.$1`' 2>/dev/null
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
echolog() {
|
||||
local d="$(date "+%Y-%m-%d %H:%M:%S")"
|
||||
echo -e "$d: $*"
|
||||
echo -e "$d: $*" >>$LOG_FILE
|
||||
}
|
||||
|
||||
function read_config(){
|
||||
get_global_config "enabled" "speed" "custome_url" "threads" "custome_cors_enabled" "custome_cron" "t" "tp" "dt" "dn" "dd" "tl" "tll" "ipv6_enabled" "advanced" "proxy_mode"
|
||||
get_servers_config "ssr_services" "ssr_enabled" "passwall_enabled" "passwall_services" "passwall2_enabled" "passwall2_services" "bypass_enabled" "bypass_services" "vssr_enabled" "vssr_services" "DNS_enabled" "HOST_enabled"
|
||||
}
|
||||
|
||||
function appinit(){
|
||||
ssr_started='';
|
||||
passwall_started='';
|
||||
passwall2_started='';
|
||||
bypass_started='';
|
||||
vssr_started='';
|
||||
}
|
||||
|
||||
function speed_test(){
|
||||
|
||||
rm -rf $LOG_FILE
|
||||
|
||||
command="/usr/bin/cdnspeedtest -sl $((speed*125/1000)) -url ${custome_url} -o ${IP_FILE}"
|
||||
|
||||
if [ $ipv6_enabled -eq "1" ] ;then
|
||||
command="${command} -f ${IPV6_TXT}"
|
||||
else
|
||||
command="${command} -f ${IPV4_TXT}"
|
||||
fi
|
||||
|
||||
if [ $advanced -eq "1" ] ; then
|
||||
command="${command} -tl ${tl} -tll ${tll} -n ${threads} -t ${t} -dt ${dt} -dn ${dn}"
|
||||
if [ $dd -eq "1" ] ; then
|
||||
command="${command} -dd"
|
||||
fi
|
||||
if [ $tp -ne "443" ] ; then
|
||||
command="${command} -tp ${tp}"
|
||||
fi
|
||||
else
|
||||
command="${command} -tl 200 -tll 40 -n 200 -t 4 -dt 10 -dn 1"
|
||||
fi
|
||||
|
||||
appinit
|
||||
|
||||
ssr_original_server=$(uci get shadowsocksr.@global[0].global_server 2>/dev/null)
|
||||
ssr_original_run_mode=$(uci get shadowsocksr.@global[0].run_mode 2>/dev/null)
|
||||
if [ "x${ssr_original_server}" != "xnil" ] && [ "x${ssr_original_server}" != "x" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set shadowsocksr.@global[0].global_server="nil"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set shadowsocksr.@global[0].run_mode="gfw"
|
||||
fi
|
||||
ssr_started='1';
|
||||
uci commit shadowsocksr
|
||||
/etc/init.d/shadowsocksr restart
|
||||
fi
|
||||
|
||||
passwall_server_enabled=$(uci get passwall.@global[0].enabled 2>/dev/null)
|
||||
passwall_original_run_mode=$(uci get passwall.@global[0].tcp_proxy_mode 2>/dev/null)
|
||||
if [ "x${passwall_server_enabled}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set passwall.@global[0].enabled="0"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set passwall.@global[0].tcp_proxy_mode="gfwlist"
|
||||
fi
|
||||
passwall_started='1';
|
||||
uci commit passwall
|
||||
/etc/init.d/passwall restart 2>/dev/null
|
||||
fi
|
||||
|
||||
passwall2_server_enabled=$(uci get passwall2.@global[0].enabled 2>/dev/null)
|
||||
passwall2_original_run_mode=$(uci get passwall2.@global[0].tcp_proxy_mode 2>/dev/null)
|
||||
if [ "x${passwall2_server_enabled}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set passwall2.@global[0].enabled="0"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set passwall2.@global[0].tcp_proxy_mode="gfwlist"
|
||||
fi
|
||||
passwall2_started='1';
|
||||
uci commit passwall2
|
||||
/etc/init.d/passwall2 restart 2>/dev/null
|
||||
fi
|
||||
|
||||
vssr_original_server=$(uci get vssr.@global[0].global_server 2>/dev/null)
|
||||
vssr_original_run_mode=$(uci get vssr.@global[0].run_mode 2>/dev/null)
|
||||
if [ "x${vssr_original_server}" != "xnil" ] && [ "x${vssr_original_server}" != "x" ] ;then
|
||||
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set vssr.@global[0].global_server="nil"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set vssr.@global[0].run_mode="gfw"
|
||||
fi
|
||||
vssr_started='1';
|
||||
uci commit vssr
|
||||
/etc/init.d/vssr restart
|
||||
fi
|
||||
|
||||
bypass_original_server=$(uci get bypass.@global[0].global_server 2>/dev/null)
|
||||
bypass_original_run_mode=$(uci get bypass.@global[0].run_mode 2>/dev/null)
|
||||
if [ "x${bypass_original_server}" != "x" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set bypass.@global[0].global_server=""
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set bypass.@global[0].run_mode="gfw"
|
||||
fi
|
||||
bypass_started='1';
|
||||
uci commit bypass
|
||||
/etc/init.d/bypass restart
|
||||
fi
|
||||
|
||||
echo $command >> $LOG_FILE 2>&1
|
||||
echolog "-----------start----------"
|
||||
$command >> $LOG_FILE 2>&1
|
||||
echolog "-----------end------------"
|
||||
}
|
||||
|
||||
function ip_replace(){
|
||||
|
||||
# 获取最快 IP(从 result.csv 结果文件中获取第一个 IP)
|
||||
bestip=$(sed -n "2,1p" $IP_FILE | awk -F, '{print $1}')
|
||||
if [[ -z "${bestip}" ]]; then
|
||||
echolog "CloudflareST 测速结果 IP 数量为 0,跳过下面步骤..."
|
||||
else
|
||||
host_ip
|
||||
alidns_ip
|
||||
ssr_best_ip
|
||||
vssr_best_ip
|
||||
bypass_best_ip
|
||||
passwall_best_ip
|
||||
passwall2_best_ip
|
||||
restart_app
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
function host_ip() {
|
||||
if [ "x${HOST_enabled}" == "x1" ] ;then
|
||||
get_servers_config "host_domain"
|
||||
HOSTS_LINE=$(echo "$host_domain" | sed 's/,/ /g' | sed "s/^/$bestip /g")
|
||||
host_domain_first=$(echo "$host_domain" | awk -F, '{print $1}')
|
||||
|
||||
if [ -n "$(grep $host_domain_first /etc/hosts)" ]
|
||||
then
|
||||
echo $host_domain_first
|
||||
sed -i".bak" "/$host_domain_first/d" /etc/hosts
|
||||
echo $HOSTS_LINE >> /etc/hosts;
|
||||
else
|
||||
echo $HOSTS_LINE >> /etc/hosts;
|
||||
fi
|
||||
/etc/init.d/dnsmasq reload &>/dev/null
|
||||
echolog "HOST 完成"
|
||||
fi
|
||||
}
|
||||
|
||||
function passwall_best_ip(){
|
||||
if [ "x${passwall_enabled}" == "x1" ] ;then
|
||||
echolog "设置passwall IP"
|
||||
for ssrname in $passwall_services
|
||||
do
|
||||
echo $ssrname
|
||||
uci set passwall.$ssrname.address="${bestip}"
|
||||
done
|
||||
uci commit passwall
|
||||
fi
|
||||
}
|
||||
|
||||
function passwall2_best_ip(){
|
||||
if [ "x${passwall2_enabled}" == "x1" ] ;then
|
||||
echolog "设置passwall2 IP"
|
||||
for ssrname in $passwall2_services
|
||||
do
|
||||
echo $ssrname
|
||||
uci set passwall2.$ssrname.address="${bestip}"
|
||||
done
|
||||
uci commit passwall2
|
||||
fi
|
||||
}
|
||||
|
||||
function ssr_best_ip(){
|
||||
if [ "x${ssr_enabled}" == "x1" ] ;then
|
||||
echolog "设置ssr IP"
|
||||
for ssrname in $ssr_services
|
||||
do
|
||||
echo $ssrname
|
||||
uci set shadowsocksr.$ssrname.server="${bestip}"
|
||||
uci set shadowsocksr.$ssrname.ip="${bestip}"
|
||||
done
|
||||
uci commit shadowsocksr
|
||||
fi
|
||||
}
|
||||
|
||||
function vssr_best_ip(){
|
||||
if [ "x${vssr_enabled}" == "x1" ] ;then
|
||||
echolog "设置Vssr IP"
|
||||
for ssrname in $vssr_services
|
||||
do
|
||||
echo $ssrname
|
||||
uci set vssr.$ssrname.server="${bestip}"
|
||||
done
|
||||
uci commit vssr
|
||||
fi
|
||||
}
|
||||
|
||||
function bypass_best_ip(){
|
||||
if [ "x${bypass_enabled}" == "x1" ] ;then
|
||||
echolog "设置Bypass IP"
|
||||
for ssrname in $bypass_services
|
||||
do
|
||||
echo $ssrname
|
||||
uci set bypass.$ssrname.server="${bestip}"
|
||||
done
|
||||
uci commit bypass
|
||||
fi
|
||||
}
|
||||
|
||||
function restart_app(){
|
||||
if [ "x${ssr_started}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set shadowsocksr.@global[0].global_server="${ssr_original_server}"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set shadowsocksr.@global[0].run_mode="${ssr_original_run_mode}"
|
||||
fi
|
||||
uci commit shadowsocksr
|
||||
/etc/init.d/shadowsocksr restart &>/dev/null
|
||||
echolog "ssr重启完成"
|
||||
fi
|
||||
|
||||
if [ "x${passwall_started}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set passwall.@global[0].enabled="${passwall_server_enabled}"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set passwall.@global[0].tcp_proxy_mode="${passwall_original_run_mode}"
|
||||
fi
|
||||
uci commit passwall
|
||||
/etc/init.d/passwall restart 2>/dev/null
|
||||
echolog "passwall重启完成"
|
||||
fi
|
||||
|
||||
if [ "x${passwall2_started}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set passwall2.@global[0].enabled="${passwall2_server_enabled}"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set passwall2.@global[0].tcp_proxy_mode="${passwall2_original_run_mode}"
|
||||
fi
|
||||
uci commit passwall2
|
||||
/etc/init.d/passwall2 restart 2>/dev/null
|
||||
echolog "passwall2重启完成"
|
||||
fi
|
||||
|
||||
if [ "x${vssr_started}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set vssr.@global[0].global_server="${vssr_original_server}"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set vssr.@global[0].run_mode="${vssr_original_run_mode}"
|
||||
fi
|
||||
uci commit vssr
|
||||
/etc/init.d/vssr restart &>/dev/null
|
||||
echolog "Vssr重启完成"
|
||||
fi
|
||||
|
||||
if [ "x${bypass_started}" == "x1" ] ;then
|
||||
if [ $proxy_mode == "close" ] ;then
|
||||
uci set bypass.@global[0].global_server="${bypass_original_server}"
|
||||
elif [ $proxy_mode == "gfw" ] ;then
|
||||
uci set bypass.@global[0].run_mode="${bypass_original_run_mode}"
|
||||
fi
|
||||
uci commit bypass
|
||||
/etc/init.d/bypass restart &>/dev/null
|
||||
echolog "Bypass重启完成"
|
||||
fi
|
||||
}
|
||||
|
||||
function alidns_ip(){
|
||||
if [ "x${DNS_enabled}" == "x1" ] ;then
|
||||
get_servers_config "DNS_type" "app_key" "app_secret" "main_domain" "sub_domain" "line"
|
||||
if [ $DNS_type == "aliyu" ] ;then
|
||||
for sub in $sub_domain
|
||||
do
|
||||
/usr/bin/cloudflarespeedtest/aliddns.sh $app_key $app_secret $main_domain $sub $line $ipv6_enabled $bestip
|
||||
echolog "更新域名${sub}阿里云DNS完成"
|
||||
sleep 1s
|
||||
done
|
||||
fi
|
||||
echo "aliyun done"
|
||||
fi
|
||||
}
|
||||
|
||||
read_config
|
||||
|
||||
# 启动参数
|
||||
if [ "$1" ] ;then
|
||||
[ $1 == "start" ] && speed_test && ip_replace
|
||||
[ $1 == "test" ] && speed_test
|
||||
[ $1 == "replace" ] && ip_replace
|
||||
exit
|
||||
fi
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"luci-app-cloudflarespeedtest": {
|
||||
"description": "Grant UCI access for luci-app-cloudflarespeedtest",
|
||||
"read": {
|
||||
"uci": [ "cloudflarespeedtest" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "cloudflarespeedtest" ]
|
||||
}
|
||||
}
|
||||
}
|
28
luci-app-mosdns/Makefile
Normal file
28
luci-app-mosdns/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-mosdns
|
||||
PKG_VERSION:=1.5.4
|
||||
PKG_RELEASE:=1
|
||||
|
||||
LUCI_TITLE:=LuCI Support for mosdns
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DEPENDS:=+mosdns +jsonfilter +luci-compat +curl +v2ray-geoip +v2ray-geosite +v2dat
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
/etc/config/mosdns
|
||||
/etc/mosdns/cache.dump
|
||||
/etc/mosdns/config_custom.yaml
|
||||
/etc/mosdns/rule
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/postinst
|
||||
#!/bin/sh
|
||||
[ -n "${IPKG_INSTROOT}" ] || {
|
||||
sysctl -p /etc/sysctl.d/20-mosdns-buffer-increase.conf
|
||||
exit 0
|
||||
}
|
||||
endef
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
53
luci-app-mosdns/luasrc/controller/mosdns.lua
Normal file
53
luci-app-mosdns/luasrc/controller/mosdns.lua
Normal file
@ -0,0 +1,53 @@
|
||||
local sys = require "luci.sys"
|
||||
local http = require "luci.http"
|
||||
|
||||
module("luci.controller.mosdns", package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/mosdns") then
|
||||
return
|
||||
end
|
||||
|
||||
local page = entry({"admin", "services", "mosdns"}, alias("admin", "services", "mosdns", "basic"), _("MosDNS"), 30)
|
||||
page.dependent = true
|
||||
page.acl_depends = { "luci-app-mosdns" }
|
||||
|
||||
entry({"admin", "services", "mosdns", "basic"}, cbi("mosdns/basic"), _("Basic Setting"), 1).leaf = true
|
||||
entry({"admin", "services", "mosdns", "rule_list"}, cbi("mosdns/rule_list"), _("Rule List"), 2).leaf = true
|
||||
entry({"admin", "services", "mosdns", "update"}, cbi("mosdns/update"), _("Geodata Update"), 3).leaf = true
|
||||
entry({"admin", "services", "mosdns", "log"}, cbi("mosdns/log"), _("Logs"), 4).leaf = true
|
||||
entry({"admin", "services", "mosdns", "status"}, call("act_status")).leaf = true
|
||||
entry({"admin", "services", "mosdns", "get_log"}, call("get_log")).leaf = true
|
||||
entry({"admin", "services", "mosdns", "clear_log"}, call("clear_log")).leaf = true
|
||||
entry({"admin", "services", "mosdns", "geo_update"}, call("geo_update")).leaf = true
|
||||
entry({"admin", "services", "mosdns", "flush_cache"}, call("flush_cache")).leaf = true
|
||||
end
|
||||
|
||||
function act_status()
|
||||
local e = {}
|
||||
e.running = sys.call("pgrep -f mosdns >/dev/null") == 0
|
||||
http.prepare_content("application/json")
|
||||
http.write_json(e)
|
||||
end
|
||||
|
||||
function get_log()
|
||||
http.write(sys.exec("cat $(/usr/share/mosdns/mosdns.sh logfile)"))
|
||||
end
|
||||
|
||||
function clear_log()
|
||||
sys.call("cat /dev/null > $(/usr/share/mosdns/mosdns.sh logfile)")
|
||||
end
|
||||
|
||||
function geo_update()
|
||||
local e = {}
|
||||
e.updating = sys.call("/usr/share/mosdns/mosdns.sh geodata >/dev/null") == 0
|
||||
http.prepare_content("application/json")
|
||||
http.write_json(e)
|
||||
end
|
||||
|
||||
function flush_cache()
|
||||
local e = {}
|
||||
e.flushing = sys.call("/usr/share/mosdns/mosdns.sh flush >/dev/null") == 0
|
||||
http.prepare_content("application/json")
|
||||
http.write_json(e)
|
||||
end
|
210
luci-app-mosdns/luasrc/model/cbi/mosdns/basic.lua
Normal file
210
luci-app-mosdns/luasrc/model/cbi/mosdns/basic.lua
Normal file
@ -0,0 +1,210 @@
|
||||
local fs = require "nixio.fs"
|
||||
local sys = require "luci.sys"
|
||||
|
||||
if fs.access("/usr/bin/mosdns") then
|
||||
mosdns_version = sys.exec("/usr/share/mosdns/mosdns.sh version")
|
||||
else
|
||||
mosdns_version = "Unknown Version"
|
||||
end
|
||||
m = Map("mosdns")
|
||||
m.title = translate("MosDNS") .. " " .. mosdns_version
|
||||
m.description = translate("MosDNS is a 'programmable' DNS forwarder.")
|
||||
|
||||
m:section(SimpleSection).template = "mosdns/mosdns_status"
|
||||
|
||||
s = m:section(TypedSection, "mosdns")
|
||||
s.addremove = false
|
||||
s.anonymous = true
|
||||
|
||||
s:tab("basic", translate("Basic Options"))
|
||||
|
||||
o = s:taboption("basic", Flag, "enabled", translate("Enabled"))
|
||||
o.rmempty = false
|
||||
|
||||
o = s:taboption("basic", ListValue, "configfile", translate("Config File"))
|
||||
o:value("/etc/mosdns/config.yaml", translate("Default Config"))
|
||||
o:value("/etc/mosdns/config_custom.yaml", translate("Custom Config"))
|
||||
o.default = "/etc/mosdns/config.yaml"
|
||||
|
||||
o = s:taboption("basic", Value, "listen_port", translate("Listen port"))
|
||||
o.datatype = "and(port,min(1))"
|
||||
o.default = 5335
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("basic", ListValue, "log_level", translate("Log Level"))
|
||||
o:value("debug", translate("Debug"))
|
||||
o:value("info", translate("Info"))
|
||||
o:value("warn", translate("Warning"))
|
||||
o:value("error", translate("Error"))
|
||||
o.default = "info"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("basic", Value, "logfile", translate("Log File"))
|
||||
o.placeholder = "/tmp/mosdns.log"
|
||||
o.default = "/tmp/mosdns.log"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("basic", Flag, "redirect", translate("DNS Forward"), translate("Forward Dnsmasq Domain Name resolution requests to MosDNS"))
|
||||
o.default = true
|
||||
|
||||
o = s:taboption("basic", Flag, "custom_local_dns", translate("Local DNS"), translate("Follow WAN interface DNS if not enabled"))
|
||||
o:depends( "configfile", "/etc/mosdns/config.yaml")
|
||||
o.default = false
|
||||
o = s:taboption("basic", DynamicList, "local_dns", translate("Upstream DNS servers"))
|
||||
o:value("119.29.29.29", "119.29.29.29 (DNSPod Primary)")
|
||||
o:value("119.28.28.28", "119.28.28.28 (DNSPod Secondary)")
|
||||
o:value("223.5.5.5", "223.5.5.5 (AliDNS Primary)")
|
||||
o:value("223.6.6.6", "223.6.6.6 (AliDNS Secondary)")
|
||||
o:value("114.114.114.114", "114.114.114.114 (114DNS Primary)")
|
||||
o:value("114.114.115.115", "114.114.115.115 (114DNS Secondary)")
|
||||
o:value("180.76.76.76", "180.76.76.76 (Baidu DNS)")
|
||||
o:value("https://doh.pub/dns-query", "DNSPod DoH")
|
||||
o:value("https://dns.alidns.com/dns-query", "AliDNS DoH")
|
||||
o:value("https://doh.360.cn/dns-query", "360DNS DoH")
|
||||
o:depends("custom_local_dns", "1")
|
||||
|
||||
o = s:taboption("basic", DynamicList, "remote_dns", translate("Remote DNS"))
|
||||
o:value("tls://1.1.1.1", "1.1.1.1 (CloudFlare DNS)")
|
||||
o:value("tls://1.0.0.1", "1.0.0.1 (CloudFlare DNS)")
|
||||
o:value("tls://8.8.8.8", "8.8.8.8 (Google DNS)")
|
||||
o:value("tls://8.8.4.4", "8.8.4.4 (Google DNS)")
|
||||
o:value("tls://9.9.9.9", "9.9.9.9 (Quad9 DNS)")
|
||||
o:value("tls://149.112.112.112", "149.112.112.112 (Quad9 DNS)")
|
||||
o:value("tls://45.11.45.11", "45.11.45.11 (DNS.SB)")
|
||||
o:value("tls://208.67.222.222", "208.67.222.222 (Open DNS)")
|
||||
o:value("tls://208.67.220.220", "208.67.220.220 (Open DNS)")
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("basic", ListValue, "bootstrap_dns", translate("Bootstrap DNS servers"), translate("Bootstrap DNS servers are used to resolve IP addresses of the DoH/DoT resolvers you specify as upstreams"))
|
||||
o:value("119.29.29.29", "119.29.29.29 (DNSPod Primary)")
|
||||
o:value("119.28.28.28", "119.28.28.28 (DNSPod Secondary)")
|
||||
o:value("223.5.5.5", "223.5.5.5 (AliDNS Primary)")
|
||||
o:value("223.6.6.6", "223.6.6.6 (AliDNS Secondary)")
|
||||
o:value("114.114.114.114", "114.114.114.114 (114DNS Primary)")
|
||||
o:value("114.114.115.115", "114.114.115.115 (114DNS Secondary)")
|
||||
o:value("180.76.76.76", "180.76.76.76 (Baidu DNS)")
|
||||
o.default = "119.29.29.29"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
s:tab("advanced", translate("Advanced Options"))
|
||||
|
||||
o = s:taboption("advanced", Value, "concurrent", translate("Concurrent"), translate("DNS query request concurrency, The number of upstream DNS servers that are allowed to initiate requests at the same time"))
|
||||
o.datatype = "and(uinteger,min(1),max(3))"
|
||||
o.default = "1"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Value, "max_conns", translate("Maximum Connections"), translate("Set the Maximum connections for DoH and pipeline's TCP/DoT, Except for the HTTP/3 protocol"))
|
||||
o.datatype = "and(uinteger,min(1))"
|
||||
o.default = "2"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Value, "idle_timeout", translate("Idle Timeout"), translate("DoH/TCP/DoT Connection Multiplexing idle timeout (default 30 seconds)"))
|
||||
o.datatype = "and(uinteger,min(1))"
|
||||
o.default = "30"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Flag, "enable_pipeline", translate("TCP/DoT Connection Multiplexing"), translate("Enable TCP/DoT RFC 7766 new Query Pipelining connection multiplexing mode"))
|
||||
o.rmempty = false
|
||||
o.default = false
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Flag, "insecure_skip_verify", translate("Disable TLS Certificate"), translate("Disable TLS Servers certificate validation, Can be useful if system CA certificate expires or the system time is out of order"))
|
||||
o.rmempty = false
|
||||
o.default = false
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Flag, "enable_http3", translate("Enable HTTP/3"), translate("Enable DoH HTTP/3 protocol support for remote DNS, Upstream DNS server support is required (Experimental)"))
|
||||
o.rmempty = false
|
||||
o.default = false
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Flag, "enable_ecs_remote", translate("Enable EDNS client subnet"), translate("Add the EDNS Client Subnet option (ECS) to Remote DNS") .. '<br />' .. translate("MosDNS will auto identify the IP address subnet segment of your remote connection (.0/24)") .. '<br />' .. translate("If your remote access network changes, May need restart MosDNS to update the ECS request address"))
|
||||
o.rmempty = false
|
||||
o.default = false
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Value, "cache_size", translate("DNS Cache Size"))
|
||||
o.datatype = "and(uinteger,min(0))"
|
||||
o.default = "20000"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Value, "cache_survival_time", translate("Cache Survival Time"))
|
||||
o.datatype = "and(uinteger,min(0))"
|
||||
o.default = "86400"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Flag, "dump_file", translate("Cache Dump"), translate("Save the cache locally and reload the cache dump on the next startup"))
|
||||
o.rmempty = false
|
||||
o.default = false
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Value, "dump_interval", translate("Auto Save Cache Interval"))
|
||||
o.datatype = "and(uinteger,min(0))"
|
||||
o.default = "600"
|
||||
o:depends("dump_file", "1")
|
||||
|
||||
o = s:taboption("advanced", Value, "minimal_ttl", translate("Minimum TTL"), translate("Modify the Minimum TTL value (seconds) for DNS answer results, 0 indicating no modification"))
|
||||
o.datatype = "and(uinteger,min(0),max(604800))"
|
||||
o.default = "0"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Value, "maximum_ttl", translate("Maximum TTL"), translate("Modify the Maximum TTL value (seconds) for DNS answer results, 0 indicating no modification"))
|
||||
o.datatype = "and(uinteger,min(0),max(604800))"
|
||||
o.default = "0"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("advanced", Flag, "adblock", translate("Enable DNS ADblock"))
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
o.default = false
|
||||
|
||||
o = s:taboption("advanced", Value, "ad_source", translate("ADblock Source"), translate("When using custom rule sources, use the rule types supported by MosDNS"))
|
||||
o:depends("adblock", "1")
|
||||
o.default = "https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-domains.txt"
|
||||
o:value("geosite.dat", "v2ray-geosite")
|
||||
o:value("https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-domains.txt", "anti-AD")
|
||||
o:value("https://raw.githubusercontent.com/ookangzheng/dbl-oisd-nl/master/dbl_light.txt", "oisd (small)")
|
||||
o:value("https://raw.githubusercontent.com/ookangzheng/dbl-oisd-nl/master/dbl.txt", "oisd (big)")
|
||||
o:value("https://raw.githubusercontent.com/QiuSimons/openwrt-mos/master/dat/serverlist.txt", "QiuSimons/openwrt-mos")
|
||||
|
||||
o = s:taboption("basic", Button, "_reload", translate("Reload Service"), translate("Reload service to take effect of new configuration"))
|
||||
o.write = function()
|
||||
sys.exec("/etc/init.d/mosdns reload")
|
||||
end
|
||||
o:depends("configfile", "/etc/mosdns/config_custom.yaml")
|
||||
|
||||
o = s:taboption("basic", TextValue, "manual-config")
|
||||
o.description = translate("<font color=\"ff0000\"><strong>View the Custom YAML Configuration file used by this MosDNS. You can edit it as you own need.</strong></font>")
|
||||
o.template = "cbi/tvalue"
|
||||
o.rows = 25
|
||||
o:depends("configfile", "/etc/mosdns/config_custom.yaml")
|
||||
|
||||
function o.cfgvalue(self, section)
|
||||
return fs.readfile("/etc/mosdns/config_custom.yaml")
|
||||
end
|
||||
|
||||
function o.write(self, section, value)
|
||||
value = value:gsub("\r\n?", "\n")
|
||||
fs.writefile("/etc/mosdns/config_custom.yaml", value)
|
||||
end
|
||||
|
||||
s:tab("api", translate("API Options"))
|
||||
|
||||
o = s:taboption("api", Value, "listen_port_api", translate("API Listen port"))
|
||||
o.datatype = "and(port,min(1))"
|
||||
o.default = 9091
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
o = s:taboption("api", Button, "flush_cache", translate("Flush Cache"), translate("Flushing Cache will clear any IP addresses or DNS records from MosDNS cache"))
|
||||
o.rawhtml = true
|
||||
o.template = "mosdns/mosdns_flush_cache"
|
||||
o:depends("configfile", "/etc/mosdns/config.yaml")
|
||||
|
||||
s:tab("geodata", translate("GeoData Export"))
|
||||
|
||||
o = s:taboption("geodata", DynamicList, "geosite_tags", translate("GeoSite Tags"), translate("Enter the GeoSite.dat category to be exported, Allow add multiple tags") .. '<br />' .. translate("Export directory: /var/mosdns"))
|
||||
o:depends("configfile", "/etc/mosdns/config_custom.yaml")
|
||||
|
||||
o = s:taboption("geodata", DynamicList, "geoip_tags", translate("GeoIP Tags"), translate("Enter the GeoIP.dat category to be exported, Allow add multiple tags") .. '<br />' .. translate("Export directory: /var/mosdns"))
|
||||
o:depends("configfile", "/etc/mosdns/config_custom.yaml")
|
||||
|
||||
return m
|
5
luci-app-mosdns/luasrc/model/cbi/mosdns/log.lua
Normal file
5
luci-app-mosdns/luasrc/model/cbi/mosdns/log.lua
Normal file
@ -0,0 +1,5 @@
|
||||
m = Map("mosdns")
|
||||
|
||||
m:append(Template("mosdns/mosdns_log"))
|
||||
|
||||
return m
|
99
luci-app-mosdns/luasrc/model/cbi/mosdns/rule_list.lua
Normal file
99
luci-app-mosdns/luasrc/model/cbi/mosdns/rule_list.lua
Normal file
@ -0,0 +1,99 @@
|
||||
local datatypes = require "luci.cbi.datatypes"
|
||||
|
||||
local white_list_file = "/etc/mosdns/rule/whitelist.txt"
|
||||
local block_list_file = "/etc/mosdns/rule/blocklist.txt"
|
||||
local grey_list_file = "/etc/mosdns/rule/greylist.txt"
|
||||
local hosts_list_file = "/etc/mosdns/rule/hosts.txt"
|
||||
local redirect_list_file = "/etc/mosdns/rule/redirect.txt"
|
||||
local local_ptr_file = "/etc/mosdns/rule/local-ptr.txt"
|
||||
local ddns_list_file = "/etc/mosdns/rule/ddnslist.txt"
|
||||
|
||||
m = Map("mosdns")
|
||||
|
||||
s = m:section(TypedSection, "mosdns", translate("Rule Settings"))
|
||||
s.anonymous = true
|
||||
|
||||
s:tab("white_list", translate("White Lists"))
|
||||
s:tab("block_list", translate("Block Lists"))
|
||||
s:tab("grey_list", translate("Grey Lists"))
|
||||
s:tab("ddns_list", translate("DDNS Lists"))
|
||||
s:tab("hosts_list", translate("Hosts"))
|
||||
s:tab("redirect_list", translate("Redirect"))
|
||||
s:tab("local_ptr_list", translate("Block PTR"))
|
||||
|
||||
o = s:taboption("white_list", TextValue, "whitelist", "", "<font color='red'>" .. translate("These domain names allow DNS resolution with the highest priority. Please input the domain names of websites, every line can input only one website domain. For example: hm.baidu.com.") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(white_list_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(white_list_file , value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(white_list_file , "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
o = s:taboption("block_list", TextValue, "blocklist", "", "<font color='red'>" .. translate("These domains are blocked from DNS resolution. Please input the domain names of websites, every line can input only one website domain. For example: baidu.com.") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(block_list_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(block_list_file, value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(block_list_file, "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
o = s:taboption("grey_list", TextValue, "greylist", "", "<font color='red'>" .. translate("These domains are always resolved using remote DNS. Please input the domain names of websites, every line can input only one website domain. For example: google.com.") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(grey_list_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(grey_list_file, value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(grey_list_file, "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
o = s:taboption("ddns_list", TextValue, "ddns", "", "<font color='red'>" .. translate("These domains are always resolved using local DNS. And force TTL 5 seconds, DNS resolution results will not enter the cache. For example: myddns.example.com.") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(ddns_list_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(ddns_list_file, value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(ddns_list_file, "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
o = s:taboption("hosts_list", TextValue, "hosts", "", "<font color='red'>" .. translate("Hosts For example: baidu.com 10.0.0.1") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(hosts_list_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(hosts_list_file, value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(hosts_list_file, "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
o = s:taboption("redirect_list", TextValue, "redirect", "", "<font color='red'>" .. translate("The domain name to redirect the request to. Requests domain A, but returns records for domain B. example: a.com b.com") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(redirect_list_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(redirect_list_file, value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(redirect_list_file, "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
o = s:taboption("local_ptr_list", TextValue, "local_ptr", "", "<font color='red'>" .. translate("These domains are blocked from PTR requests") .. "</font>" .. "<font color='#00bd3e'>" .. translate("<br>The list of rules only apply to 'Default Config' profiles.") .. "</font>")
|
||||
o.rows = 15
|
||||
o.wrap = "off"
|
||||
o.cfgvalue = function(self, section) return nixio.fs.readfile(local_ptr_file) or "" end
|
||||
o.write = function(self, section, value) nixio.fs.writefile(local_ptr_file, value:gsub("\r\n", "\n")) end
|
||||
o.remove = function(self, section, value) nixio.fs.writefile(local_ptr_file, "") end
|
||||
o.validate = function(self, value)
|
||||
return value
|
||||
end
|
||||
|
||||
local apply = luci.http.formvalue("cbi.apply")
|
||||
if apply then
|
||||
luci.sys.exec("/etc/init.d/mosdns reload")
|
||||
end
|
||||
|
||||
return m
|
31
luci-app-mosdns/luasrc/model/cbi/mosdns/update.lua
Normal file
31
luci-app-mosdns/luasrc/model/cbi/mosdns/update.lua
Normal file
@ -0,0 +1,31 @@
|
||||
m = Map("mosdns")
|
||||
|
||||
s = m:section(TypedSection, "mosdns", translate("Update GeoIP & GeoSite dat"))
|
||||
s.addremove = false
|
||||
s.anonymous = true
|
||||
|
||||
enable = s:option(Flag, "geo_auto_update", translate("Enable Auto Database Update"))
|
||||
enable.rmempty = false
|
||||
|
||||
o = s:option(ListValue, "geo_update_week_time", translate("Update Cycle"))
|
||||
o:value("*", translate("Every Day"))
|
||||
o:value("1", translate("Every Monday"))
|
||||
o:value("2", translate("Every Tuesday"))
|
||||
o:value("3", translate("Every Wednesday"))
|
||||
o:value("4", translate("Every Thursday"))
|
||||
o:value("5", translate("Every Friday"))
|
||||
o:value("6", translate("Every Saturday"))
|
||||
o:value("7", translate("Every Sunday"))
|
||||
o.default = "*"
|
||||
|
||||
update_time = s:option(ListValue, "geo_update_day_time", translate("Update Time"))
|
||||
for t = 0, 23 do
|
||||
update_time:value(t, t..":00")
|
||||
end
|
||||
update_time.default = 0
|
||||
|
||||
data_update = s:option(Button, "geo_update_database", translate("Database Update"))
|
||||
data_update.rawhtml = true
|
||||
data_update.template = "mosdns/geo_update"
|
||||
|
||||
return m
|
34
luci-app-mosdns/luasrc/view/mosdns/geo_update.htm
Normal file
34
luci-app-mosdns/luasrc/view/mosdns/geo_update.htm
Normal file
@ -0,0 +1,34 @@
|
||||
<%+cbi/valueheader%>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
function update_data(btn, dataname)
|
||||
{
|
||||
btn.disabled = true;
|
||||
btn.value = '<%:Updating...%> ';
|
||||
st=dataname;
|
||||
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "mosdns", "geo_update")%>',
|
||||
{ set:st },
|
||||
function(x,data)
|
||||
{
|
||||
var tb = document.getElementById(dataname+'-status');
|
||||
if (tb)
|
||||
{
|
||||
switch (data.updating)
|
||||
{
|
||||
case true:
|
||||
tb.innerHTML = "<font color='green'>" + "<%:Update success%>" + "</font>";
|
||||
break;
|
||||
case false:
|
||||
tb.innerHTML = "<font color='red'>" + "<%:Update failed, Please check the network status%>" + "</font>";
|
||||
break;
|
||||
}
|
||||
}
|
||||
btn.disabled = false;
|
||||
btn.value = '<%:Check And Update%>';
|
||||
}
|
||||
);
|
||||
return false;
|
||||
}
|
||||
//]]></script>
|
||||
<input type="button" class="btn cbi-button cbi-button-reload" value="<%:Check And Update%>" onclick="return update_data(this,'<%=self.option%>')" />
|
||||
<span id="<%=self.option%>-status"><em><%=self.value%></em></span>
|
||||
<%+cbi/valuefooter%>
|
34
luci-app-mosdns/luasrc/view/mosdns/mosdns_flush_cache.htm
Normal file
34
luci-app-mosdns/luasrc/view/mosdns/mosdns_flush_cache.htm
Normal file
@ -0,0 +1,34 @@
|
||||
<%+cbi/valueheader%>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
function flush_cache(btn, dataname)
|
||||
{
|
||||
btn.disabled = true;
|
||||
btn.value = '<%:Flushing...%> ';
|
||||
st=dataname;
|
||||
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "mosdns", "flush_cache")%>',
|
||||
{ set:st },
|
||||
function(x,data)
|
||||
{
|
||||
var tb = document.getElementById(dataname+'-status');
|
||||
if (tb)
|
||||
{
|
||||
switch (data.flushing)
|
||||
{
|
||||
case true:
|
||||
tb.innerHTML = "<font color='green'>" + "<%:Flushing Success%>" + "</font>";
|
||||
break;
|
||||
case false:
|
||||
tb.innerHTML = "<font color='red'>" + "<%:Flushing Failed, Please check if MosDNS is enabled%>" + "</font>";
|
||||
break;
|
||||
}
|
||||
}
|
||||
btn.disabled = false;
|
||||
btn.value = '<%:Flush Cache%>';
|
||||
}
|
||||
);
|
||||
return false;
|
||||
}
|
||||
//]]></script>
|
||||
<input type="button" class="btn cbi-button cbi-button-reload" value="<%:Flush Cache%>" onclick="return flush_cache(this,'<%=self.option%>')" />
|
||||
<span id="<%=self.option%>-status"><em><%=self.value%></em></span>
|
||||
<%+cbi/valuefooter%>
|
29
luci-app-mosdns/luasrc/view/mosdns/mosdns_log.htm
Normal file
29
luci-app-mosdns/luasrc/view/mosdns/mosdns_log.htm
Normal file
@ -0,0 +1,29 @@
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function clear_log(btn) {
|
||||
XHR.get('<%=url([[admin]], [[services]], [[mosdns]], [[clear_log]])%>', null,
|
||||
function(x, data) {
|
||||
if(x && x.status == 200) {
|
||||
var log_textarea = document.getElementById('log_textarea');
|
||||
log_textarea.innerHTML = "";
|
||||
log_textarea.scrollTop = log_textarea.scrollHeight;
|
||||
}
|
||||
location.reload();
|
||||
}
|
||||
);
|
||||
}
|
||||
XHR.poll(1, '<%=url([[admin]], [[services]], [[mosdns]], [[get_log]])%>', null,
|
||||
function(x, data) {
|
||||
if(x && x.status == 200) {
|
||||
var log_textarea = document.getElementById('log_textarea');
|
||||
log_textarea.innerHTML = x.responseText;
|
||||
log_textarea.scrollTop = log_textarea.scrollHeight;
|
||||
}
|
||||
}
|
||||
);
|
||||
//]]>
|
||||
</script>
|
||||
<fieldset class="cbi-section" id="_log_fieldset">
|
||||
<input class="cbi-button cbi-input-remove" type="button" onclick="clear_log()" value="<%:Clear logs%>" style="margin-left: 10px; margin-top: 10px;">
|
||||
<textarea id="log_textarea" class="cbi-input-textarea" style="width: calc(100% - 20px); height: 645px; margin: 10px;" data-update="change" rows="5" wrap="off" readonly="readonly"></textarea>
|
||||
</fieldset>
|
28
luci-app-mosdns/luasrc/view/mosdns/mosdns_status.htm
Normal file
28
luci-app-mosdns/luasrc/view/mosdns/mosdns_status.htm
Normal file
@ -0,0 +1,28 @@
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
XHR.poll(3, '<%=url([[admin]], [[services]], [[mosdns]], [[status]])%>', null,
|
||||
function(x, data) {
|
||||
var tb = document.getElementById('mosdns_status');
|
||||
if (data && tb) {
|
||||
if (data.running) {
|
||||
var links = '<em><b style=color:green>MosDNS <%:RUNNING%></b></em>';
|
||||
tb.innerHTML = links;
|
||||
} else {
|
||||
tb.innerHTML = '<em><b style=color:red>MosDNS <%:NOT RUNNING%></b></em>';
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
//]]>
|
||||
</script>
|
||||
<style>
|
||||
.mar-10 {
|
||||
margin-left: 50px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
<fieldset class="cbi-section">
|
||||
<p id="mosdns_status">
|
||||
<em><%:Collecting data...%></em>
|
||||
</p>
|
||||
</fieldset>
|
305
luci-app-mosdns/po/zh-cn/mosdns.po
Normal file
305
luci-app-mosdns/po/zh-cn/mosdns.po
Normal file
@ -0,0 +1,305 @@
|
||||
msgid "Basic Setting"
|
||||
msgstr "基本设置"
|
||||
|
||||
msgid "Basic Options"
|
||||
msgstr "基本选项"
|
||||
|
||||
msgid "Advanced Options"
|
||||
msgstr "高级选项"
|
||||
|
||||
msgid "API Options"
|
||||
msgstr "API 选项"
|
||||
|
||||
msgid "MosDNS is a 'programmable' DNS forwarder."
|
||||
msgstr "MosDNS 是一个插件化的 DNS 转发/分流器。"
|
||||
|
||||
msgid "RUNNING"
|
||||
msgstr "运行中"
|
||||
|
||||
msgid "NOT RUNNING"
|
||||
msgstr "未运行"
|
||||
|
||||
msgid "Collecting data..."
|
||||
msgstr "获取数据中..."
|
||||
|
||||
msgid "Enabled"
|
||||
msgstr "启用"
|
||||
|
||||
msgid "Listen port"
|
||||
msgstr "监听端口"
|
||||
|
||||
msgid "API Listen port"
|
||||
msgstr "API 监听端口"
|
||||
|
||||
msgid "Flush Cache"
|
||||
msgstr "刷新缓存"
|
||||
|
||||
msgid "Flushing Cache will clear any IP addresses or DNS records from MosDNS cache"
|
||||
msgstr "刷新缓存会清空 MosDNS 所有 IP 地址和 DNS 解析缓存"
|
||||
|
||||
msgid "Flushing..."
|
||||
msgstr "正在刷新..."
|
||||
|
||||
msgid "Flushing Success"
|
||||
msgstr "刷新成功"
|
||||
|
||||
msgid "Flushing Failed, Please check if MosDNS is enabled"
|
||||
msgstr "刷新失败,请检查 MosDNS 是否已启用"
|
||||
|
||||
msgid "Log Level"
|
||||
msgstr "日志等级"
|
||||
|
||||
msgid "DNS Forward"
|
||||
msgstr "DNS 转发"
|
||||
|
||||
msgid "Forward Dnsmasq Domain Name resolution requests to MosDNS"
|
||||
msgstr "将 Dnsmasq 域名解析请求转发到 MosDNS 服务器"
|
||||
|
||||
msgid "Enable DNS ADblock"
|
||||
msgstr "启用 DNS 广告过滤"
|
||||
|
||||
msgid "ADblock Source"
|
||||
msgstr "广告过滤规则来源"
|
||||
|
||||
msgid "When using custom rule sources, use the rule types supported by MosDNS"
|
||||
msgstr "使用自定义规则来源时,请使用 MosDNS 支持的规则类型"
|
||||
|
||||
msgid "Reload Service"
|
||||
msgstr "重载服务"
|
||||
|
||||
msgid "Reload service to take effect of new configuration"
|
||||
msgstr "重载 MosDNS 服务生效配置文件"
|
||||
|
||||
msgid "<font color=\"ff0000\"><strong>View the Custom YAML Configuration file used by this MosDNS. You can edit it as you own need.</strong></font>"
|
||||
msgstr "<font color=\"ff0000\"><strong>注意!此页的更改仅当配置文件为 “自定义” 时才会生效</strong></font>"
|
||||
|
||||
msgid "Geodata Update"
|
||||
msgstr "更新数据库"
|
||||
|
||||
msgid "Update GeoIP & GeoSite dat"
|
||||
msgstr "更新广告规则、GeoIP & GeoSite 数据库"
|
||||
|
||||
msgid "Update Time"
|
||||
msgstr "更新时间"
|
||||
|
||||
msgid "Update Cycle"
|
||||
msgstr "更新周期"
|
||||
|
||||
msgid "Every Day"
|
||||
msgstr "每天"
|
||||
|
||||
msgid "Every Monday"
|
||||
msgstr "每周一"
|
||||
|
||||
msgid "Every Tuesday"
|
||||
msgstr "每周二"
|
||||
|
||||
msgid "Every Wednesday"
|
||||
msgstr "每周三"
|
||||
|
||||
msgid "Every Thursday"
|
||||
msgstr "每周四"
|
||||
|
||||
msgid "Every Friday"
|
||||
msgstr "每周五"
|
||||
|
||||
msgid "Every Saturday"
|
||||
msgstr "每周六"
|
||||
|
||||
msgid "Every Sunday"
|
||||
msgstr "每周日"
|
||||
|
||||
msgid "Database Update"
|
||||
msgstr "数据库更新"
|
||||
|
||||
msgid "Check And Update"
|
||||
msgstr "检查并更新"
|
||||
|
||||
msgid "Enable Auto Database Update"
|
||||
msgstr "启用自动更新"
|
||||
|
||||
msgid "Updating..."
|
||||
msgstr "正在更新..."
|
||||
|
||||
msgid "Update success"
|
||||
msgstr "更新成功"
|
||||
|
||||
msgid "Update failed, Please check the network status"
|
||||
msgstr "更新失败,请检查网络状态"
|
||||
|
||||
msgid "Config File"
|
||||
msgstr "配置文件"
|
||||
|
||||
msgid "Default Config"
|
||||
msgstr "内置预设"
|
||||
|
||||
msgid "Custom Config"
|
||||
msgstr "自定义"
|
||||
|
||||
msgid "Log File"
|
||||
msgstr "日志文件"
|
||||
|
||||
msgid "Local DNS"
|
||||
msgstr "本地 DNS"
|
||||
|
||||
msgid "Follow WAN interface DNS if not enabled"
|
||||
msgstr "不启用则使用 WAN 接口 DNS"
|
||||
|
||||
msgid "Upstream DNS servers"
|
||||
msgstr "上游 DNS 服务器"
|
||||
|
||||
msgid "Bootstrap DNS servers"
|
||||
msgstr "Bootstrap DNS 服务器"
|
||||
|
||||
msgid "Bootstrap DNS servers are used to resolve IP addresses of the DoH/DoT resolvers you specify as upstreams"
|
||||
msgstr "Bootstrap DNS 服务器用于解析您指定为上游的 DoH / DoT 解析器的 IP 地址"
|
||||
|
||||
msgid "Remote DNS"
|
||||
msgstr "远程 DNS"
|
||||
|
||||
msgid "Concurrent"
|
||||
msgstr "DNS 服务器并发数(默认 1)"
|
||||
|
||||
msgid "DNS query request concurrency, The number of upstream DNS servers that are allowed to initiate requests at the same time"
|
||||
msgstr "DNS 查询请求并发数,允许同时发起请求的上游 DNS 服务器数量"
|
||||
|
||||
msgid "Maximum Connections"
|
||||
msgstr "最大连接数(默认 2)"
|
||||
|
||||
msgid "Set the Maximum connections for DoH and pipeline's TCP/DoT, Except for the HTTP/3 protocol"
|
||||
msgstr "设置 DoH 和已启用 Query Pipelining 连接复用模式的 TCP/DoT 最大连接数,HTTP/3 协议除外"
|
||||
|
||||
msgid "Idle Timeout"
|
||||
msgstr "空闲超时"
|
||||
|
||||
msgid "DoH/TCP/DoT Connection Multiplexing idle timeout (default 30 seconds)"
|
||||
msgstr "DoH/TCP/DoT 连接复用空闲保持时间(默认 30 秒)"
|
||||
|
||||
msgid "TCP/DoT Connection Multiplexing"
|
||||
msgstr "TCP/DoT 连接复用"
|
||||
|
||||
msgid "Enable TCP/DoT RFC 7766 new Query Pipelining connection multiplexing mode"
|
||||
msgstr "启用 TCP/DoT RFC 7766 新型 Query Pipelining 连接复用模式"
|
||||
|
||||
msgid "Disable TLS Certificate"
|
||||
msgstr "禁用 TLS 证书"
|
||||
|
||||
msgid "Disable TLS Servers certificate validation, Can be useful if system CA certificate expires or the system time is out of order"
|
||||
msgstr "禁用 TLS 服务器证书验证,当系统 CA 证书过期或系统时间错乱时,本选项可能会有用"
|
||||
|
||||
msgid "Enable HTTP/3"
|
||||
msgstr "启用 HTTP/3"
|
||||
|
||||
msgid "Enable DoH HTTP/3 protocol support for remote DNS, Upstream DNS server support is required (Experimental)"
|
||||
msgstr "为远程 DNS 启用 DoH HTTP/3 协议支持,需要上游 DNS 服务器支持(实验性,谨慎启用该功能)"
|
||||
|
||||
msgid "Enable EDNS client subnet"
|
||||
msgstr "启用 EDNS 客户端子网"
|
||||
|
||||
msgid "Add the EDNS Client Subnet option (ECS) to Remote DNS"
|
||||
msgstr "在远程 DNS 请求中加入 EDNS 客户端子网(即 ECS)选项(需要上游 DNS 服务器支持)"
|
||||
|
||||
msgid "MosDNS will auto identify the IP address subnet segment of your remote connection (.0/24)"
|
||||
msgstr "MosDNS 将会自动获取您访问远程连接时使用的 IP 子网段(.0/24)"
|
||||
|
||||
msgid "If your remote access network changes, May need restart MosDNS to update the ECS request address"
|
||||
msgstr "如果您的远程访问网络发生改变时可能需要重启 MosDNS 以更新 ECS 请求地址"
|
||||
|
||||
msgid "DNS Cache Size"
|
||||
msgstr "DNS 缓存大小(条)"
|
||||
|
||||
msgid "Cache Survival Time"
|
||||
msgstr "缓存生存时间(秒)"
|
||||
|
||||
msgid "Cache Dump"
|
||||
msgstr "自动保存缓存"
|
||||
|
||||
msgid "Save the cache locally and reload the cache dump on the next startup"
|
||||
msgstr "保存缓存到本地文件,以供下次启动时重新载入使用"
|
||||
|
||||
msgid "Auto Save Cache Interval"
|
||||
msgstr "自动保存缓存间隔(秒)"
|
||||
|
||||
msgid "Minimum TTL"
|
||||
msgstr "覆盖最小 TTL 值(默认 0)"
|
||||
|
||||
msgid "Modify the Minimum TTL value (seconds) for DNS answer results, 0 indicating no modification"
|
||||
msgstr "修改 DNS 应答结果的最小 TTL 值 (秒),0 表示不修改"
|
||||
|
||||
msgid "Maximum TTL"
|
||||
msgstr "覆盖最大 TTL 值(默认 0)"
|
||||
|
||||
msgid "Modify the Maximum TTL value (seconds) for DNS answer results, 0 indicating no modification"
|
||||
msgstr "修改 DNS 应答结果的最大 TTL 值(秒),0 表示不修改"
|
||||
|
||||
msgid "Logs"
|
||||
msgstr "日志"
|
||||
|
||||
msgid "Clear logs"
|
||||
msgstr "清空日志"
|
||||
|
||||
msgid "Rule List"
|
||||
msgstr "规则列表"
|
||||
|
||||
msgid "Rule Settings"
|
||||
msgstr "自定义规则列表"
|
||||
|
||||
msgid "<br>The list of rules only apply to 'Default Config' profiles."
|
||||
msgstr "<br>规则列表仅适用于 “内置预设” 配置文件"
|
||||
|
||||
msgid "White Lists"
|
||||
msgstr "白名单"
|
||||
|
||||
msgid "These domain names allow DNS resolution with the highest priority. Please input the domain names of websites, every line can input only one website domain. For example: hm.baidu.com."
|
||||
msgstr "加入的域名始终允许使用 “本地 DNS” 进行解析,且优先级最高(每个域名一行,支持域名匹配规则)"
|
||||
|
||||
msgid "Block Lists"
|
||||
msgstr "黑名单"
|
||||
|
||||
msgid "These domains are blocked from DNS resolution. Please input the domain names of websites, every line can input only one website domain. For example: baidu.com."
|
||||
msgstr "加入的域名将屏蔽 DNS 解析(每个域名一行,支持域名匹配规则)"
|
||||
|
||||
msgid "Grey Lists"
|
||||
msgstr "灰名单"
|
||||
|
||||
msgid "These domains are always resolved using remote DNS. Please input the domain names of websites, every line can input only one website domain. For example: google.com."
|
||||
msgstr "加入的域名始终使用 “远程 DNS” 进行解析(每个域名一行,支持域名匹配规则)"
|
||||
|
||||
msgid "DDNS Lists"
|
||||
msgstr "DDNS 域名"
|
||||
|
||||
msgid "These domains are always resolved using local DNS. And force TTL 5 seconds, DNS resolution results will not enter the cache. For example: myddns.example.com."
|
||||
msgstr "加入的域名始终使用 “本地 DNS” 进行解析,并且强制 TTL 5 秒,解析结果不会进入缓存(每个域名一行,支持域名匹配规则)"
|
||||
|
||||
msgid "Hosts For example: baidu.com 10.0.0.1"
|
||||
msgstr "自定义 Hosts 重写,如:baidu.com 10.0.0.1(每个规则一行)"
|
||||
|
||||
msgid "Redirect"
|
||||
msgstr "重定向"
|
||||
|
||||
msgid "The domain name to redirect the request to. Requests domain A, but returns records for domain B. example: a.com b.com"
|
||||
msgstr "重定向请求的域名。请求域名 A,但返回域名 B 的记录,如:baidu.com qq.com(每个规则一行)"
|
||||
|
||||
msgid "Block PTR"
|
||||
msgstr "PTR 黑名单"
|
||||
|
||||
msgid "These domains are blocked from PTR requests"
|
||||
msgstr "加入的域名将阻止 PTR 请求(每个域名一行,支持域名匹配规则)"
|
||||
|
||||
msgid "GeoData Export"
|
||||
msgstr "GeoData 导出"
|
||||
|
||||
msgid "GeoSite Tags"
|
||||
msgstr "GeoSite 标签"
|
||||
|
||||
msgid "Enter the GeoSite.dat category to be exported, Allow add multiple tags"
|
||||
msgstr "填写需要导出的 GeoSite.dat 类别条目,允许添加多个标签"
|
||||
|
||||
msgid "GeoIP Tags"
|
||||
msgstr "GeoIP 标签"
|
||||
|
||||
msgid "Enter the GeoIP.dat category to be exported, Allow add multiple tags"
|
||||
msgstr "输入需要导出的 GeoIP.dat 类别条目,允许添加多个标签"
|
||||
|
||||
msgid "Export directory: /var/mosdns"
|
||||
msgstr "导出目录:/var/mosdns"
|
1
luci-app-mosdns/po/zh_Hans
Symbolic link
1
luci-app-mosdns/po/zh_Hans
Symbolic link
@ -0,0 +1 @@
|
||||
zh-cn
|
29
luci-app-mosdns/root/etc/config/mosdns
Normal file
29
luci-app-mosdns/root/etc/config/mosdns
Normal file
@ -0,0 +1,29 @@
|
||||
|
||||
config mosdns 'config'
|
||||
option enabled '0'
|
||||
option listen_port '5335'
|
||||
option geo_auto_update '0'
|
||||
option geo_update_week_time '*'
|
||||
option geo_update_day_time '2'
|
||||
option redirect '1'
|
||||
option adblock '0'
|
||||
option configfile '/etc/mosdns/config.yaml'
|
||||
option log_level 'info'
|
||||
option logfile '/tmp/mosdns.log'
|
||||
option cache_size '20000'
|
||||
option cache_survival_time '86400'
|
||||
option dump_file '0'
|
||||
option concurrent '1'
|
||||
option max_conns '2'
|
||||
option idle_timeout '30'
|
||||
option minimal_ttl '0'
|
||||
option maximum_ttl '0'
|
||||
option custom_local_dns '0'
|
||||
option enable_pipeline '0'
|
||||
option insecure_skip_verify '0'
|
||||
option enable_http3 '0'
|
||||
option listen_port_api '9091'
|
||||
option bootstrap_dns '119.29.29.29'
|
||||
list remote_dns 'tls://8.8.8.8'
|
||||
list remote_dns 'tls://1.1.1.1'
|
||||
|
2
luci-app-mosdns/root/etc/hotplug.d/iface/99-mosdns
Executable file
2
luci-app-mosdns/root/etc/hotplug.d/iface/99-mosdns
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
[ "$ACTION" = ifup ] && /etc/init.d/mosdns restart
|
188
luci-app-mosdns/root/etc/init.d/mosdns
Executable file
188
luci-app-mosdns/root/etc/init.d/mosdns
Executable file
@ -0,0 +1,188 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
#
|
||||
# Copyright (C) 2020-2022, IrineSistiana
|
||||
#
|
||||
# Copyright (C) 2023, sbwml <admin@cooluc.com>
|
||||
#
|
||||
# This file is part of mosdns.
|
||||
#
|
||||
# mosdns is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# mosdns is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
START=99
|
||||
USE_PROCD=1
|
||||
|
||||
PROG=/usr/bin/mosdns
|
||||
CONF=$(uci -q get mosdns.config.configfile)
|
||||
CRON_FILE=/etc/crontabs/root
|
||||
DUMP_FILE=/etc/mosdns/cache.dump
|
||||
DUMP_FILE_DEFAULT=/usr/share/mosdns/cache.dump
|
||||
DEFAULT_CONF=/usr/share/mosdns/default.yaml
|
||||
MOSDNS_SCRIPT=/usr/share/mosdns/mosdns.sh
|
||||
|
||||
get_config() {
|
||||
config_get enabled $1 enabled 0
|
||||
config_get adblock $1 adblock 0
|
||||
config_get ad_source $1 ad_source ""
|
||||
config_get cache_size $1 cache_size 20000
|
||||
config_get cache_survival_time $1 cache_survival_time 86400
|
||||
config_get dump_file $1 dump_file 0
|
||||
config_get dump_interval $1 dump_interval 600
|
||||
config_get enable_pipeline $1 enable_pipeline 0
|
||||
config_get geo_auto_update $1 geo_auto_update 0
|
||||
config_get geo_update_day_time $1 geo_update_day_time 2
|
||||
config_get geo_update_week_time $1 geo_update_week_time "*"
|
||||
config_get listen_port $1 listen_port 5335
|
||||
config_get log_file $1 logfile "/tmp/mosdns.log"
|
||||
config_get log_level $1 log_level "info"
|
||||
config_get maximum_ttl_custom $1 maximum_ttl 0
|
||||
config_get minimal_ttl_custom $1 minimal_ttl 0
|
||||
config_get redirect $1 redirect 0
|
||||
config_get remote_dns $1 remote_dns "tls://8.8.8.8 tls://1.1.1.1"
|
||||
config_get custom_local_dns $1 custom_local_dns 0
|
||||
config_get bootstrap_dns $1 bootstrap_dns "119.29.29.29"
|
||||
config_get listen_port_api $1 listen_port_api 9091
|
||||
config_get concurrent $1 concurrent 1
|
||||
config_get max_conns $1 max_conns 2
|
||||
config_get insecure_skip_verify $1 insecure_skip_verify 0
|
||||
config_get idle_timeout $1 idle_timeout 30
|
||||
config_get enable_http3 $1 enable_http3 0
|
||||
config_get enable_ecs_remote $1 enable_ecs_remote 0
|
||||
}
|
||||
|
||||
init_yaml() {
|
||||
TMPDIR=$(mktemp -d) || exit 1
|
||||
adlist=$($MOSDNS_SCRIPT ad)
|
||||
[ $enable_pipeline -eq 1 ] && enable_pipeline=true || enable_pipeline=false
|
||||
[ $insecure_skip_verify -eq 1 ] && insecure_skip_verify=true || insecure_skip_verify=false
|
||||
[ $enable_http3 -eq 1 ] && enable_http3=true || enable_http3=false
|
||||
[ "$custom_local_dns" -eq 1 ] && \
|
||||
local_dns=$($MOSDNS_SCRIPT dns | awk '{for(i=1;i<=NF;i++)printf "%s- addr: %s\n%s bootstrap: '${bootstrap_dns}'\n%s enable_pipeline: '${enable_pipeline}'\n%s max_conns: '${max_conns}'\n%s insecure_skip_verify: '${insecure_skip_verify}'\n%s idle_timeout: '${idle_timeout}'\n",s,$i,s,s,s,s,s}' s=' ') || \
|
||||
local_dns=$($MOSDNS_SCRIPT dns | awk '{for(i=1;i<=NF;i++)printf "%s- addr: %s\n",s,$i,s}' s=' ')
|
||||
remote_dns=$(echo $remote_dns | awk '{for(i=1;i<=NF;i++)printf "%s- addr: %s\n%s bootstrap: '${bootstrap_dns}'\n%s enable_pipeline: '${enable_pipeline}'\n%s max_conns: '${max_conns}'\n%s insecure_skip_verify: '${insecure_skip_verify}'\n%s idle_timeout: '${idle_timeout}'\n%s enable_http3: '${enable_http3}'\n",s,$i,s,s,s,s,s,s}' s=' ')
|
||||
sed "s,log_level,$log_level,g;s,log_file,$log_file,g; \
|
||||
s,listen_port,$listen_port,g;s,cache_size,$cache_size,g; \
|
||||
s,cache_survival_time,$cache_survival_time,g; \
|
||||
s,minimal_ttl_custom,$minimal_ttl_custom,g; \
|
||||
s,maximum_ttl_custom,$maximum_ttl_custom,g; \
|
||||
s,concurrent_num,$concurrent,g;s,api_port,$listen_port_api,g; \
|
||||
s,adblock,$adlist,g;s,remote_dns_pipeline,$enable_pipeline,g" $DEFAULT_CONF > $CONF
|
||||
echo "${local_dns}" > $TMPDIR/local_dns.txt
|
||||
echo "${remote_dns}" > $TMPDIR/remote_dns.txt
|
||||
sed -i -e '/- addr: local_dns/{r '$TMPDIR/local_dns.txt -e';d};/- addr: remote_dns/{r '$TMPDIR/remote_dns.txt -e';d}' $CONF
|
||||
[ "$dump_file" -eq 1 ] && sed -i "/lazy_cache_ttl/a\ dump_file: $DUMP_FILE\n dump_interval: $dump_interval" $CONF
|
||||
[ "$dump_file" -eq 1 ] && [ ! -f $DUMP_FILE ] && cp -a $DUMP_FILE_DEFAULT $DUMP_FILE
|
||||
[ "$dump_file" -eq 0 ] && \cp -a $DUMP_FILE_DEFAULT $DUMP_FILE
|
||||
if [ "$enable_ecs_remote" -eq 1 ]; then
|
||||
ecs_remote=$(sh /usr/share/mosdns/mosdns.sh ecs_remote)
|
||||
sed -i "s,ecs_remote,$ecs_remote,g" $CONF
|
||||
else
|
||||
sed -i "/ecs_remote/d;" $CONF
|
||||
fi
|
||||
rm -rf $TMPDIR
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "mosdns"
|
||||
}
|
||||
|
||||
restore_setting() {
|
||||
rm -f /etc/mosdns/redirect.lock
|
||||
sed -i "/list server/d" /etc/config/dhcp
|
||||
uci set dhcp.@dnsmasq[0].noresolv='0'
|
||||
uci del dhcp.@dnsmasq[0].cachesize
|
||||
uci commit dhcp
|
||||
}
|
||||
|
||||
redirect_setting() {
|
||||
if [ "${CONF}" = "/etc/mosdns/config.yaml" ]; then
|
||||
sed -i "/list server/d" /etc/config/dhcp
|
||||
uci add_list dhcp.@dnsmasq[0].server="127.0.0.1#$listen_port"
|
||||
uci set dhcp.@dnsmasq[0].rebind_protection='0'
|
||||
uci set dhcp.@dnsmasq[0].noresolv="1"
|
||||
uci set dhcp.@dnsmasq[0].cachesize='0'
|
||||
uci commit dhcp
|
||||
else
|
||||
sed -i "/list server/d" /etc/config/dhcp
|
||||
uci add_list dhcp.@dnsmasq[0].server="127.0.0.1#$(awk -F'[:" ]+' '/^\s+listen:/{for(i=1;i<=NF;i++){if($i~/^[0-9]+$/){print $i;exit}}}' $CONF)"
|
||||
uci set dhcp.@dnsmasq[0].rebind_protection='0'
|
||||
uci set dhcp.@dnsmasq[0].noresolv="1"
|
||||
uci set dhcp.@dnsmasq[0].cachesize='0'
|
||||
uci commit dhcp
|
||||
fi
|
||||
touch /etc/mosdns/redirect.lock
|
||||
}
|
||||
|
||||
reload_dnsmasq() {
|
||||
/etc/init.d/dnsmasq reload
|
||||
}
|
||||
|
||||
reload_service() {
|
||||
stop
|
||||
sleep 1
|
||||
start
|
||||
}
|
||||
|
||||
setcron() {
|
||||
sed -i '/mosdns.sh/d' $CRON_FILE 2>/dev/null
|
||||
[ "$geo_auto_update" -eq 1 ] && echo "0 $geo_update_day_time * * $geo_update_week_time $MOSDNS_SCRIPT geodata" >> $CRON_FILE
|
||||
crontab $CRON_FILE
|
||||
}
|
||||
|
||||
delcron() {
|
||||
sed -i '/mosdns.sh/d' $CRON_FILE 2>/dev/null
|
||||
crontab $CRON_FILE
|
||||
}
|
||||
|
||||
v2dat_dump() {
|
||||
$MOSDNS_SCRIPT v2dat_dump
|
||||
}
|
||||
|
||||
start_service() {
|
||||
config_load "mosdns"
|
||||
config_foreach get_config "mosdns"
|
||||
[ $enabled -ne 1 ] && return 1
|
||||
delcron ; setcron
|
||||
[ "${CONF}" = "/etc/mosdns/config.yaml" ] && init_yaml
|
||||
:> $($MOSDNS_SCRIPT logfile)
|
||||
if [ "${log_level}" = "error" ] || [ "${log_level}" = "warn" ]; then
|
||||
v2dat_dump > /dev/null 2>&1
|
||||
else
|
||||
v2dat_dump >> $($MOSDNS_SCRIPT logfile) 2>&1
|
||||
fi
|
||||
procd_open_instance mosdns
|
||||
procd_set_param command $PROG start -c "$CONF"
|
||||
procd_set_param user root
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_set_param respawn "${respawn_threshold:-3600}" "${respawn_timeout:-5}" "${respawn_retry:-5}"
|
||||
procd_close_instance mosdns
|
||||
[ "$redirect" -ne 1 ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting
|
||||
[ "$redirect" -eq 1 ] && redirect_setting
|
||||
reload_dnsmasq
|
||||
update_list=0
|
||||
[ "$adblock" -eq 1 ] && [ "$ad_source" != "geosite.dat" ] && {
|
||||
[ -s "/etc/mosdns/rule/adlist.txt" ] && [ -f "/etc/mosdns/rule/.ad_source" ] && url_adlist=$(cat /etc/mosdns/rule/.ad_source) || update_list=1
|
||||
[ "$ad_source" != "$url_adlist" ] && update_list=1
|
||||
}
|
||||
[ "$update_list" -eq 1 ] && $MOSDNS_SCRIPT adlist_update &> /dev/null &
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
config_load "mosdns"
|
||||
config_foreach get_config "mosdns"
|
||||
[ "$enabled" -eq "0" ] && [ -f "/etc/mosdns/redirect.lock" ] && restore_setting
|
||||
reload_dnsmasq
|
||||
delcron
|
||||
}
|
142
luci-app-mosdns/root/etc/mosdns/config_custom.yaml
Normal file
142
luci-app-mosdns/root/etc/mosdns/config_custom.yaml
Normal file
@ -0,0 +1,142 @@
|
||||
log:
|
||||
level: info
|
||||
file: "/tmp/mosdns.log"
|
||||
|
||||
# API 入口设置
|
||||
api:
|
||||
http: "0.0.0.0:9091"
|
||||
|
||||
include: []
|
||||
|
||||
plugins:
|
||||
# 国内域名
|
||||
- tag: geosite_cn
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/var/mosdns/geosite_cn.txt"
|
||||
|
||||
# 国内 IP
|
||||
- tag: geoip_cn
|
||||
type: ip_set
|
||||
args:
|
||||
files:
|
||||
- "/var/mosdns/geoip_cn.txt"
|
||||
|
||||
# 国外域名
|
||||
- tag: geosite_no_cn
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/var/mosdns/geosite_geolocation-!cn.txt"
|
||||
|
||||
# 缓存
|
||||
- tag: lazy_cache
|
||||
type: cache
|
||||
args:
|
||||
size: 20000
|
||||
lazy_cache_ttl: 86400
|
||||
dump_file: "/etc/mosdns/cache.dump"
|
||||
dump_interval: 600
|
||||
|
||||
# 转发至本地服务器
|
||||
- tag: forward_local
|
||||
type: forward
|
||||
args:
|
||||
upstreams:
|
||||
- addr: "https://doh.pub/dns-query"
|
||||
bootstrap: 180.76.76.76
|
||||
- addr: 119.29.29.29
|
||||
|
||||
# 转发至远程服务器
|
||||
- tag: forward_remote
|
||||
type: forward
|
||||
args:
|
||||
upstreams:
|
||||
- addr: tls://8.8.8.8
|
||||
enable_pipeline: false
|
||||
|
||||
# 国内解析
|
||||
- tag: local_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $forward_local
|
||||
|
||||
# 国外解析
|
||||
- tag: remote_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- exec: prefer_ipv4
|
||||
- exec: $forward_remote
|
||||
|
||||
# 有响应终止返回
|
||||
- tag: has_resp_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- matches: has_resp
|
||||
exec: accept
|
||||
|
||||
# fallback 用本地服务器 sequence
|
||||
# 返回非国内 ip 则 drop_resp
|
||||
- tag: query_is_local_ip
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $local_sequence
|
||||
- matches: "!resp_ip $geoip_cn"
|
||||
exec: drop_resp
|
||||
|
||||
# fallback 用远程服务器 sequence
|
||||
- tag: query_is_remote
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $remote_sequence
|
||||
|
||||
# fallback 用远程服务器 sequence
|
||||
- tag: fallback
|
||||
type: fallback
|
||||
args:
|
||||
primary: query_is_local_ip
|
||||
secondary: query_is_remote
|
||||
threshold: 500
|
||||
always_standby: true
|
||||
|
||||
# 查询国内域名
|
||||
- tag: query_is_local_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $geosite_cn
|
||||
exec: $local_sequence
|
||||
|
||||
# 查询国外域名
|
||||
- tag: query_is_no_local_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $geosite_no_cn
|
||||
exec: $remote_sequence
|
||||
|
||||
# 主要的运行逻辑插件
|
||||
# sequence 插件中调用的插件 tag 必须在 sequence 前定义,
|
||||
# 否则 sequence 找不到对应插件。
|
||||
- tag: main_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $lazy_cache
|
||||
- exec: $query_is_local_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_no_local_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $fallback
|
||||
|
||||
# 启动 udp 服务器。
|
||||
- tag: udp_server
|
||||
type: udp_server
|
||||
args:
|
||||
entry: main_sequence
|
||||
listen: ":5335"
|
||||
|
||||
# 启动 tcp 服务器。
|
||||
- tag: tcp_server
|
||||
type: tcp_server
|
||||
args:
|
||||
entry: main_sequence
|
||||
listen: ":5335"
|
0
luci-app-mosdns/root/etc/mosdns/rule/adlist.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/adlist.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/blocklist.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/blocklist.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/ddnslist.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/ddnslist.txt
Normal file
3
luci-app-mosdns/root/etc/mosdns/rule/greylist.txt
Normal file
3
luci-app-mosdns/root/etc/mosdns/rule/greylist.txt
Normal file
@ -0,0 +1,3 @@
|
||||
domain:gstatic.com
|
||||
domain:kernel.org
|
||||
keyword:github
|
0
luci-app-mosdns/root/etc/mosdns/rule/hosts.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/hosts.txt
Normal file
3
luci-app-mosdns/root/etc/mosdns/rule/local-ptr.txt
Normal file
3
luci-app-mosdns/root/etc/mosdns/rule/local-ptr.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# block all PTR requests
|
||||
domain:in-addr.arpa
|
||||
domain:ip6.arpa
|
0
luci-app-mosdns/root/etc/mosdns/rule/redirect.txt
Normal file
0
luci-app-mosdns/root/etc/mosdns/rule/redirect.txt
Normal file
24
luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt
Normal file
24
luci-app-mosdns/root/etc/mosdns/rule/whitelist.txt
Normal file
@ -0,0 +1,24 @@
|
||||
domain:bing.com
|
||||
domain:live.com
|
||||
domain:msn.com
|
||||
domain:ntp.org
|
||||
domain:office.com
|
||||
domain:qlogo.cn
|
||||
domain:qq.com
|
||||
domain:redhat.com
|
||||
keyword:aaplimg
|
||||
keyword:aicdn
|
||||
keyword:akadns
|
||||
keyword:akamai
|
||||
keyword:apple
|
||||
keyword:douyin
|
||||
keyword:fclouddns
|
||||
keyword:icloud
|
||||
keyword:itunes
|
||||
keyword:microsoft
|
||||
keyword:mzstatic
|
||||
keyword:ssrcdn
|
||||
keyword:windows
|
||||
keyword:xxpkg
|
||||
keyword:yximgs
|
||||
keyword:yxygslb
|
@ -0,0 +1,5 @@
|
||||
# Do not edit, changes to this file will be lost on upgrades
|
||||
# /etc/sysctl.conf can be used to customize sysctl settings
|
||||
|
||||
net.core.rmem_max=4194304
|
||||
net.core.wmem_max=4194304
|
11
luci-app-mosdns/root/etc/uci-defaults/luci-mosdns
Executable file
11
luci-app-mosdns/root/etc/uci-defaults/luci-mosdns
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@mosdns[-1]
|
||||
add ucitrack mosdns
|
||||
set ucitrack.@mosdns[-1].init=mosdns
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
rm -rf /tmp/luci-*
|
||||
exit 0
|
BIN
luci-app-mosdns/root/usr/share/mosdns/cache.dump
Normal file
BIN
luci-app-mosdns/root/usr/share/mosdns/cache.dump
Normal file
Binary file not shown.
230
luci-app-mosdns/root/usr/share/mosdns/default.yaml
Normal file
230
luci-app-mosdns/root/usr/share/mosdns/default.yaml
Normal file
@ -0,0 +1,230 @@
|
||||
log:
|
||||
level: log_level
|
||||
file: "log_file"
|
||||
|
||||
api:
|
||||
http: "0.0.0.0:api_port"
|
||||
|
||||
include: []
|
||||
|
||||
plugins:
|
||||
- tag: geosite_cn
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/var/mosdns/geosite_cn.txt"
|
||||
|
||||
- tag: geoip_cn
|
||||
type: ip_set
|
||||
args:
|
||||
files:
|
||||
- "/var/mosdns/geoip_cn.txt"
|
||||
|
||||
- tag: geosite_no_cn
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/var/mosdns/geosite_geolocation-!cn.txt"
|
||||
|
||||
- tag: whitelist
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/whitelist.txt"
|
||||
|
||||
- tag: blocklist
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/blocklist.txt"
|
||||
|
||||
- tag: greylist
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/greylist.txt"
|
||||
|
||||
- tag: ddnslist
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/ddnslist.txt"
|
||||
|
||||
- tag: hosts
|
||||
type: hosts
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/hosts.txt"
|
||||
|
||||
- tag: redirect
|
||||
type: redirect
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/redirect.txt"
|
||||
|
||||
- tag: adlist
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "adblock"
|
||||
|
||||
- tag: local_ptr
|
||||
type: domain_set
|
||||
args:
|
||||
files:
|
||||
- "/etc/mosdns/rule/local-ptr.txt"
|
||||
|
||||
- tag: lazy_cache
|
||||
type: cache
|
||||
args:
|
||||
size: cache_size
|
||||
lazy_cache_ttl: cache_survival_time
|
||||
|
||||
- tag: forward_local
|
||||
type: forward
|
||||
args:
|
||||
concurrent: concurrent_num
|
||||
upstreams:
|
||||
- addr: local_dns
|
||||
|
||||
- tag: forward_remote
|
||||
type: forward
|
||||
args:
|
||||
concurrent: concurrent_num
|
||||
upstreams:
|
||||
- addr: remote_dns
|
||||
|
||||
- tag: modify_ttl
|
||||
type: sequence
|
||||
args:
|
||||
- exec: ttl minimal_ttl_custom-maximum_ttl_custom
|
||||
|
||||
- tag: modify_ddns_ttl
|
||||
type: sequence
|
||||
args:
|
||||
- exec: ttl 5-5
|
||||
|
||||
- tag: local_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $forward_local
|
||||
|
||||
- tag: remote_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- exec: prefer_ipv4
|
||||
- exec: ecs_remote
|
||||
- exec: $forward_remote
|
||||
|
||||
- tag: has_resp_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $ddnslist
|
||||
exec: $modify_ddns_ttl
|
||||
- matches: "!qname $ddnslist"
|
||||
exec: $modify_ttl
|
||||
- matches: has_resp
|
||||
exec: accept
|
||||
|
||||
- tag: query_is_local_ip
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $local_sequence
|
||||
- matches: "!resp_ip $geoip_cn"
|
||||
exec: drop_resp
|
||||
|
||||
- tag: query_is_remote
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $remote_sequence
|
||||
|
||||
- tag: fallback
|
||||
type: fallback
|
||||
args:
|
||||
primary: query_is_local_ip
|
||||
secondary: query_is_remote
|
||||
threshold: 500
|
||||
always_standby: true
|
||||
|
||||
- tag: query_is_ddns_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $ddnslist
|
||||
exec: $local_sequence
|
||||
|
||||
- tag: query_is_local_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $geosite_cn
|
||||
exec: $local_sequence
|
||||
|
||||
- tag: query_is_no_local_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $geosite_no_cn
|
||||
exec: $remote_sequence
|
||||
|
||||
- tag: query_is_whitelist_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $whitelist
|
||||
exec: $local_sequence
|
||||
|
||||
- tag: query_is_greylist_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $greylist
|
||||
exec: $remote_sequence
|
||||
|
||||
- tag: query_is_reject_domain
|
||||
type: sequence
|
||||
args:
|
||||
- matches: qname $blocklist
|
||||
exec: reject 3
|
||||
- matches: qname $adlist
|
||||
exec: reject 3
|
||||
- matches:
|
||||
- qtype 12
|
||||
- qname $local_ptr
|
||||
exec: reject 3
|
||||
- matches: qtype 65
|
||||
exec: reject 3
|
||||
|
||||
- tag: main_sequence
|
||||
type: sequence
|
||||
args:
|
||||
- exec: $hosts
|
||||
- exec: jump has_resp_sequence
|
||||
- matches:
|
||||
- "!qname $ddnslist"
|
||||
- "!qname $blocklist"
|
||||
- "!qname $adlist"
|
||||
- "!qname $local_ptr"
|
||||
exec: $lazy_cache
|
||||
- exec: $redirect
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_ddns_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_whitelist_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_reject_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_greylist_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_local_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $query_is_no_local_domain
|
||||
- exec: jump has_resp_sequence
|
||||
- exec: $fallback
|
||||
|
||||
- tag: udp_server
|
||||
type: udp_server
|
||||
args:
|
||||
entry: main_sequence
|
||||
listen: ":listen_port"
|
||||
|
||||
- tag: tcp_server
|
||||
type: tcp_server
|
||||
args:
|
||||
entry: main_sequence
|
||||
listen: ":listen_port"
|
159
luci-app-mosdns/root/usr/share/mosdns/mosdns.sh
Executable file
159
luci-app-mosdns/root/usr/share/mosdns/mosdns.sh
Executable file
@ -0,0 +1,159 @@
|
||||
#!/bin/sh
|
||||
|
||||
script_action=${1}
|
||||
|
||||
logfile_path() (
|
||||
configfile=$(uci -q get mosdns.config.configfile)
|
||||
if [ "$configfile" = "/etc/mosdns/config.yaml" ]; then
|
||||
uci -q get mosdns.config.logfile
|
||||
else
|
||||
[ ! -f /etc/mosdns/config_custom.yaml ] && exit 1
|
||||
awk '/^log:/{f=1;next}f==1{if($0~/file:/){print;exit}if($0~/^[^ ]/)exit}' /etc/mosdns/config_custom.yaml | grep -Eo "/[^'\"]+"
|
||||
fi
|
||||
)
|
||||
|
||||
interface_dns() (
|
||||
if [ "$(uci -q get mosdns.config.custom_local_dns)" = 1 ]; then
|
||||
uci -q get mosdns.config.local_dns
|
||||
else
|
||||
peerdns=$(uci -q get network.wan.peerdns)
|
||||
proto=$(uci -q get network.wan.proto)
|
||||
if [ "$peerdns" = 0 ] || [ "$proto" = "static" ]; then
|
||||
uci -q get network.wan.dns
|
||||
else
|
||||
interface_status=$(ubus call network.interface.wan status)
|
||||
echo $interface_status | jsonfilter -e "@['dns-server'][0]"
|
||||
echo $interface_status | jsonfilter -e "@['dns-server'][1]"
|
||||
fi
|
||||
[ $? -ne 0 ] && echo "119.29.29.29 223.5.5.5"
|
||||
fi
|
||||
)
|
||||
|
||||
ad_block() (
|
||||
adblock=$(uci -q get mosdns.config.adblock)
|
||||
if [ "$adblock" = 1 ]; then
|
||||
ad_source=$(uci -q get mosdns.config.ad_source)
|
||||
if [ "$ad_source" = "geosite.dat" ]; then
|
||||
echo "/var/mosdns/geosite_category-ads-all.txt"
|
||||
else
|
||||
echo "/etc/mosdns/rule/adlist.txt"
|
||||
fi
|
||||
else
|
||||
touch /var/disable-ads.txt ; echo "/var/disable-ads.txt"
|
||||
fi
|
||||
)
|
||||
|
||||
adlist_update() (
|
||||
ad_source=$(uci -q get mosdns.config.ad_source)
|
||||
[ "$ad_source" = "geosite.dat" ] || [ -z "$ad_source" ] && exit 0
|
||||
AD_TMPDIR=$(mktemp -d) || exit 1
|
||||
if echo "$ad_source" | grep -Eq "^https://raw.githubusercontent.com" ; then
|
||||
google_status=$(curl -I -4 -m 3 -o /dev/null -s -w %{http_code} http://www.google.com/generate_204)
|
||||
[ "$google_status" -ne "204" ] && mirror="https://ghproxy.com/"
|
||||
fi
|
||||
echo -e "\e[1;32mDownloading $mirror$ad_source\e[0m"
|
||||
curl --connect-timeout 60 -m 90 --ipv4 -kfSLo "$AD_TMPDIR/adlist.txt" "$mirror$ad_source"
|
||||
if [ $? -ne 0 ]; then
|
||||
rm -rf "$AD_TMPDIR"
|
||||
exit 1
|
||||
else
|
||||
\cp "$AD_TMPDIR/adlist.txt" /etc/mosdns/rule/adlist.txt
|
||||
echo "$ad_source" > /etc/mosdns/rule/.ad_source
|
||||
rm -rf "$AD_TMPDIR"
|
||||
fi
|
||||
)
|
||||
|
||||
geodat_update() (
|
||||
geodat_download() (
|
||||
google_status=$(curl -I -4 -m 3 -o /dev/null -s -w %{http_code} http://www.google.com/generate_204)
|
||||
[ "$google_status" -ne "204" ] && mirror="https://ghproxy.com/"
|
||||
echo -e "\e[1;32mDownloading "$mirror"https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/$1\e[0m"
|
||||
curl --connect-timeout 60 -m 900 --ipv4 -kfSLo "$TMPDIR/$1" ""$mirror"https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/$1"
|
||||
)
|
||||
TMPDIR=$(mktemp -d) || exit 1
|
||||
geodat_download geoip.dat && geodat_download geosite.dat
|
||||
if [ $? -ne 0 ]; then
|
||||
rm -rf "$TMPDIR"
|
||||
exit 1
|
||||
fi
|
||||
cp -f "$TMPDIR"/* /usr/share/v2ray
|
||||
rm -rf "$TMPDIR"
|
||||
)
|
||||
|
||||
restart_service() {
|
||||
/etc/init.d/mosdns restart
|
||||
}
|
||||
|
||||
ecs_local() {
|
||||
ipaddr=$(curl -s --connect-timeout 3 -H "Host:ip.3322.org" 118.184.169.32) || ipaddr=119.29.0.0
|
||||
echo "ecs ${ipaddr%.*}.0/24"
|
||||
}
|
||||
|
||||
ecs_remote() {
|
||||
ipaddr=$(curl -s --connect-timeout 3 -H "Host:ifconfig.me" 34.160.111.145) || ipaddr=103.103.65.0
|
||||
echo "ecs ${ipaddr%.*}.0/24"
|
||||
}
|
||||
|
||||
flush_cache() {
|
||||
curl -s 127.0.0.1:$(uci -q get mosdns.config.listen_port_api)/plugins/lazy_cache/flush || exit 1
|
||||
}
|
||||
|
||||
v2dat_dump() {
|
||||
# env
|
||||
v2dat_dir=/usr/share/v2ray
|
||||
adblock=$(uci -q get mosdns.config.adblock)
|
||||
ad_source=$(uci -q get mosdns.config.ad_source)
|
||||
configfile=$(uci -q get mosdns.config.configfile)
|
||||
mkdir -p /var/mosdns
|
||||
rm -f /var/mosdns/geo*.txt
|
||||
if [ "$configfile" = "/etc/mosdns/config.yaml" ]; then
|
||||
# default config
|
||||
v2dat unpack geoip -o /var/mosdns -f cn $v2dat_dir/geoip.dat
|
||||
v2dat unpack geosite -o /var/mosdns -f cn -f 'geolocation-!cn' $v2dat_dir/geosite.dat
|
||||
[ "$adblock" -eq 1 ] && [ "$ad_source" = "geosite.dat" ] && v2dat unpack geosite -o /var/mosdns -f category-ads-all $v2dat_dir/geosite.dat
|
||||
else
|
||||
# custom config
|
||||
v2dat unpack geoip -o /var/mosdns -f cn $v2dat_dir/geoip.dat
|
||||
v2dat unpack geosite -o /var/mosdns -f cn -f 'geolocation-!cn' $v2dat_dir/geosite.dat
|
||||
geoip_tags=$(uci -q get mosdns.config.geoip_tags)
|
||||
geosite_tags=$(uci -q get mosdns.config.geosite_tags)
|
||||
[ -n "$geoip_tags" ] && v2dat unpack geoip -o /var/mosdns $(echo $geoip_tags | sed -r 's/\S+/-f &/g') $v2dat_dir/geoip.dat
|
||||
[ -n "$geosite_tags" ] && v2dat unpack geosite -o /var/mosdns $(echo $geosite_tags | sed -r 's/\S+/-f &/g') $v2dat_dir/geosite.dat
|
||||
fi
|
||||
}
|
||||
|
||||
case $script_action in
|
||||
"dns")
|
||||
interface_dns
|
||||
;;
|
||||
"ad")
|
||||
ad_block
|
||||
;;
|
||||
"geodata")
|
||||
geodat_update && adlist_update && restart_service
|
||||
;;
|
||||
"logfile")
|
||||
logfile_path
|
||||
;;
|
||||
"adlist_update")
|
||||
adlist_update && restart_service
|
||||
;;
|
||||
"ecs_local")
|
||||
ecs_local
|
||||
;;
|
||||
"ecs_remote")
|
||||
ecs_remote
|
||||
;;
|
||||
"flush")
|
||||
flush_cache
|
||||
;;
|
||||
"v2dat_dump")
|
||||
v2dat_dump
|
||||
;;
|
||||
"version")
|
||||
mosdns version
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"luci-app-mosdns": {
|
||||
"description": "Grant UCI access for luci-app-mosdns",
|
||||
"read": {
|
||||
"uci": [ "mosdns" ]
|
||||
},
|
||||
"write": {
|
||||
"uci": [ "mosdns" ]
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
65041
luci-app-openclash/root/etc/openclash/accelerated-domains.china.conf
Normal file
65041
luci-app-openclash/root/etc/openclash/accelerated-domains.china.conf
Normal file
File diff suppressed because it is too large
Load Diff
1943
luci-app-openclash/root/etc/openclash/china_ip6_route.ipset
Normal file
1943
luci-app-openclash/root/etc/openclash/china_ip6_route.ipset
Normal file
File diff suppressed because it is too large
Load Diff
8617
luci-app-openclash/root/etc/openclash/china_ip_route.ipset
Normal file
8617
luci-app-openclash/root/etc/openclash/china_ip_route.ipset
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,2 @@
|
||||
#baidu.com
|
||||
#2400:da00::dbf:0:100
|
@ -0,0 +1,2 @@
|
||||
#baidu.com
|
||||
#114.114.114.114
|
@ -0,0 +1 @@
|
||||
#baidu.com
|
@ -0,0 +1,2 @@
|
||||
#'www.baidu.com': '114.114.114.114'
|
||||
#'+.internal.crop.com': '10.0.0.1'
|
@ -0,0 +1,139 @@
|
||||
#LAN
|
||||
*.lan
|
||||
*.localdomain
|
||||
*.example
|
||||
*.invalid
|
||||
*.localhost
|
||||
*.test
|
||||
*.local
|
||||
*.home.arpa
|
||||
#放行NTP服务
|
||||
time.*.com
|
||||
time.*.gov
|
||||
time.*.edu.cn
|
||||
time.*.apple.com
|
||||
time-ios.apple.com
|
||||
time1.*.com
|
||||
time2.*.com
|
||||
time3.*.com
|
||||
time4.*.com
|
||||
time5.*.com
|
||||
time6.*.com
|
||||
time7.*.com
|
||||
ntp.*.com
|
||||
ntp1.*.com
|
||||
ntp2.*.com
|
||||
ntp3.*.com
|
||||
ntp4.*.com
|
||||
ntp5.*.com
|
||||
ntp6.*.com
|
||||
ntp7.*.com
|
||||
*.time.edu.cn
|
||||
*.ntp.org.cn
|
||||
+.pool.ntp.org
|
||||
time1.cloud.tencent.com
|
||||
#放行网易云音乐
|
||||
music.163.com
|
||||
*.music.163.com
|
||||
*.126.net
|
||||
#百度音乐
|
||||
musicapi.taihe.com
|
||||
music.taihe.com
|
||||
#酷狗音乐
|
||||
songsearch.kugou.com
|
||||
trackercdn.kugou.com
|
||||
#酷我音乐
|
||||
*.kuwo.cn
|
||||
#JOOX音乐
|
||||
api-jooxtt.sanook.com
|
||||
api.joox.com
|
||||
joox.com
|
||||
#QQ音乐
|
||||
y.qq.com
|
||||
*.y.qq.com
|
||||
streamoc.music.tc.qq.com
|
||||
mobileoc.music.tc.qq.com
|
||||
isure.stream.qqmusic.qq.com
|
||||
dl.stream.qqmusic.qq.com
|
||||
aqqmusic.tc.qq.com
|
||||
amobile.music.tc.qq.com
|
||||
#虾米音乐
|
||||
*.xiami.com
|
||||
#咪咕音乐
|
||||
*.music.migu.cn
|
||||
music.migu.cn
|
||||
#win10本地连接检测
|
||||
+.msftconnecttest.com
|
||||
+.msftncsi.com
|
||||
#QQ登录
|
||||
localhost.ptlogin2.qq.com
|
||||
localhost.sec.qq.com
|
||||
+.qq.com
|
||||
+.tencent.com
|
||||
#Game
|
||||
#Nintendo Switch
|
||||
+.srv.nintendo.net
|
||||
*.n.n.srv.nintendo.net
|
||||
#Sony PlayStation
|
||||
+.stun.playstation.net
|
||||
#Microsoft Xbox
|
||||
xbox.*.*.microsoft.com
|
||||
*.*.xboxlive.com
|
||||
xbox.*.microsoft.com
|
||||
xnotify.xboxlive.com
|
||||
#Wotgame
|
||||
+.battlenet.com.cn
|
||||
+.wotgame.cn
|
||||
+.wggames.cn
|
||||
+.wowsgame.cn
|
||||
+.wargaming.net
|
||||
#Golang
|
||||
proxy.golang.org
|
||||
#STUN
|
||||
stun.*.*
|
||||
stun.*.*.*
|
||||
+.stun.*.*
|
||||
+.stun.*.*.*
|
||||
+.stun.*.*.*.*
|
||||
+.stun.*.*.*.*.*
|
||||
#Linksys Router
|
||||
heartbeat.belkin.com
|
||||
*.linksys.com
|
||||
*.linksyssmartwifi.com
|
||||
#ASUS Router
|
||||
*.router.asus.com
|
||||
#Apple Software Update Service
|
||||
mesu.apple.com
|
||||
swscan.apple.com
|
||||
swquery.apple.com
|
||||
swdownload.apple.com
|
||||
swcdn.apple.com
|
||||
swdist.apple.com
|
||||
#Google
|
||||
lens.l.google.com
|
||||
stun.l.google.com
|
||||
na.b.g-tun.com
|
||||
#Netflix
|
||||
+.nflxvideo.net
|
||||
#FinalFantasy XIV Worldwide Server & CN Server
|
||||
*.square-enix.com
|
||||
*.finalfantasyxiv.com
|
||||
*.ffxiv.com
|
||||
*.ff14.sdo.com
|
||||
ff.dorado.sdo.com
|
||||
#Bilibili
|
||||
*.mcdn.bilivideo.cn
|
||||
#Disney Plus
|
||||
+.media.dssott.com
|
||||
#shark007 Codecs
|
||||
shark007.net
|
||||
#Mijia
|
||||
Mijia Cloud
|
||||
#招商银行
|
||||
+.cmbchina.com
|
||||
+.cmbimg.com
|
||||
#AdGuard
|
||||
local.adguard.org
|
||||
#迅雷
|
||||
+.sandai.net
|
||||
+.n0808.com
|
@ -0,0 +1,40 @@
|
||||
# If IP addresses resolved with servers in `nameservers` are in the specified
|
||||
# subnets below, they are considered invalid and results from `fallback`
|
||||
# servers are used instead.
|
||||
#
|
||||
# IP address resolved with servers in `nameserver` is used when
|
||||
# `fallback-filter.geoip` is true and when GEOIP of the IP address is `CN`.
|
||||
#
|
||||
# If `fallback-filter.geoip` is false, results from `nameserver` nameservers
|
||||
# are always used if not match `fallback-filter.ipcidr`.
|
||||
#
|
||||
# This is a countermeasure against DNS pollution attacks.
|
||||
|
||||
fallback-filter:
|
||||
geoip: true
|
||||
geoip-code: CN
|
||||
ipcidr:
|
||||
- 0.0.0.0/8
|
||||
- 10.0.0.0/8
|
||||
- 100.64.0.0/10
|
||||
- 127.0.0.0/8
|
||||
- 169.254.0.0/16
|
||||
- 172.16.0.0/12
|
||||
- 192.0.0.0/24
|
||||
- 192.0.2.0/24
|
||||
- 192.88.99.0/24
|
||||
- 192.168.0.0/16
|
||||
- 198.18.0.0/15
|
||||
- 198.51.100.0/24
|
||||
- 203.0.113.0/24
|
||||
- 224.0.0.0/4
|
||||
- 240.0.0.0/4
|
||||
- 255.255.255.255/32
|
||||
domain:
|
||||
- "+.google.com"
|
||||
- "+.facebook.com"
|
||||
- "+.youtube.com"
|
||||
- "+.githubusercontent.com"
|
||||
- "+.googlevideo.com"
|
||||
- "+.msftconnecttest.com"
|
||||
- "+.msftncsi.com"
|
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
. /usr/share/openclash/log.sh
|
||||
. /lib/functions.sh
|
||||
|
||||
# This script is called by /etc/init.d/openclash
|
||||
# Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules
|
||||
|
||||
LOG_OUT "Tip: Start Add Custom Firewall Rules..."
|
||||
|
||||
exit 0
|
@ -0,0 +1,10 @@
|
||||
# Static hosts for DNS server and connection establishment (like /etc/hosts)
|
||||
#
|
||||
# Wildcard hostnames are supported (e.g. *.clash.dev, *.foo.*.example.com)
|
||||
# Non-wildcard domain names have a higher priority than wildcard domain names
|
||||
# e.g. foo.example.com > *.example.com > .example.com
|
||||
# P.S. +.foo.com equals to .foo.com and foo.com
|
||||
|
||||
# '*.clash.dev': 127.0.0.1
|
||||
# '.dev': 127.0.0.1
|
||||
# 'alpha.clash.dev': '::1'
|
@ -0,0 +1,9 @@
|
||||
0.0.0.0/8
|
||||
10.0.0.0/8
|
||||
100.64.0.0/10
|
||||
127.0.0.0/8
|
||||
169.254.0.0/16
|
||||
172.16.0.0/12
|
||||
192.168.0.0/16
|
||||
224.0.0.0/4
|
||||
240.0.0.0/4
|
@ -0,0 +1,13 @@
|
||||
::/128
|
||||
::1/128
|
||||
::ffff:0:0/96
|
||||
::ffff:0:0:0/96
|
||||
64:ff9b::/96
|
||||
100::/64
|
||||
2001::/32
|
||||
2001:20::/28
|
||||
2001:db8::/32
|
||||
2002::/16
|
||||
fc00::/7
|
||||
fe80::/10
|
||||
ff00::/8
|
@ -0,0 +1,11 @@
|
||||
ipv4-c041-hkg001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c016-jnb001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c007-sin001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c010-jnb001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c047-sin001-ix.1.oca.nflxvideo.net
|
||||
ipv6-c041-hkg001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c056-sin001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c030-sin001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c025-jnb001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c027-jnb001-ix.1.oca.nflxvideo.net
|
||||
ipv4-c046-hkg001-ix.1.oca.nflxvideo.net
|
@ -0,0 +1,69 @@
|
||||
#!/bin/sh
|
||||
. /usr/share/openclash/ruby.sh
|
||||
. /usr/share/openclash/log.sh
|
||||
. /lib/functions.sh
|
||||
|
||||
# This script is called by /etc/init.d/openclash
|
||||
# Add your custom overwrite scripts here, they will be take effict after the OpenClash own srcipts
|
||||
|
||||
LOG_OUT "Tip: Start Running Custom Overwrite Scripts..."
|
||||
LOGTIME=$(echo $(date "+%Y-%m-%d %H:%M:%S"))
|
||||
LOG_FILE="/tmp/openclash.log"
|
||||
CONFIG_FILE="$1" #config path
|
||||
|
||||
#Simple Demo:
|
||||
#General Demo
|
||||
#1--config path
|
||||
#2--key name
|
||||
#3--value
|
||||
#ruby_edit "$CONFIG_FILE" "['redir-port']" "7892"
|
||||
#ruby_edit "$CONFIG_FILE" "['secret']" "123456"
|
||||
#ruby_edit "$CONFIG_FILE" "['dns']['enable']" "true"
|
||||
|
||||
#Hash Demo
|
||||
#1--config path
|
||||
#2--key name
|
||||
#3--hash type value
|
||||
#ruby_edit "$CONFIG_FILE" "['experimental']" "{'sniff-tls-sni'=>true}"
|
||||
#ruby_edit "$CONFIG_FILE" "['sniffer']" "{'sniffing'=>['tls','http']}"
|
||||
|
||||
#Array Demo:
|
||||
#1--config path
|
||||
#2--key name
|
||||
#3--position(start from 0, end with -1)
|
||||
#4--value
|
||||
#ruby_arr_insert "$CONFIG_FILE" "['dns']['nameserver']" "0" "114.114.114.114"
|
||||
|
||||
#Array Add From Yaml File Demo:
|
||||
#1--config path
|
||||
#2--key name
|
||||
#3--position(start from 0, end with -1)
|
||||
#4--value file path
|
||||
#5--value key name in #4 file
|
||||
#ruby_arr_add_file "$CONFIG_FILE" "['dns']['fallback-filter']['ipcidr']" "0" "/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "['fallback-filter']['ipcidr']"
|
||||
|
||||
#Ruby Script Demo:
|
||||
#ruby -ryaml -rYAML -I "/usr/share/openclash" -E UTF-8 -e "
|
||||
# begin
|
||||
# Value = YAML.load_file('$CONFIG_FILE');
|
||||
# rescue Exception => e
|
||||
# puts '${LOGTIME} Error: Load File Failed,【' + e.message + '】';
|
||||
# end;
|
||||
|
||||
#General
|
||||
# begin
|
||||
# Thread.new{
|
||||
# Value['redir-port']=7892;
|
||||
# Value['tproxy-port']=7895;
|
||||
# Value['port']=7890;
|
||||
# Value['socks-port']=7891;
|
||||
# Value['mixed-port']=7893;
|
||||
# }.join;
|
||||
|
||||
# rescue Exception => e
|
||||
# puts '${LOGTIME} Error: Set General Failed,【' + e.message + '】';
|
||||
# ensure
|
||||
# File.open('$CONFIG_FILE','w') {|f| YAML.dump(Value, f)};
|
||||
# end" 2>/dev/null >> $LOG_FILE
|
||||
|
||||
exit 0
|
@ -0,0 +1,69 @@
|
||||
script:
|
||||
## shortcuts:
|
||||
## Notice: The core timezone is UTC
|
||||
## CST 20:00-24:00 = time.now().hour > 12 and time.now().hour < 16
|
||||
## 内核时区为UTC,故以下time.now()函数的取值需要根据本地时区进行转换
|
||||
## 北京时间(CST) 20:00-24:00 = time.now().hour > 12 and time.now().hour < 16
|
||||
## quic: network == 'udp' and dst_port == 443 and (geoip(resolve_ip(host)) != 'CN' or geoip(dst_ip) != 'CN')
|
||||
## time-limit: in_cidr(src_ip,'192.168.1.2/32') and time.now().hour < 20 or time.now().hour > 21
|
||||
## time-limit: src_ip == '192.168.1.2' and time.now().hour < 20 or time.now().hour > 21
|
||||
|
||||
## code: |
|
||||
## def main(ctx, metadata):
|
||||
## directkeywordlist = ["baidu"]
|
||||
## for directkeyword in directkeywordlist:
|
||||
## if directkeyword in metadata["host"]:
|
||||
## ctx.log('[Script] matched keyword %s use direct' % directkeyword)
|
||||
## return "DIRECT"
|
||||
|
||||
rules:
|
||||
##- SCRIPT,quic,REJECT #shortcuts rule
|
||||
##- SCRIPT,time-limit,REJECT #shortcuts rule
|
||||
|
||||
##- PROCESS-NAME,curl,DIRECT #匹配路由自身进程(curl直连)
|
||||
##- DOMAIN-SUFFIX,google.com,Proxy #匹配域名后缀(交由Proxy代理服务器组)
|
||||
##- DOMAIN-KEYWORD,google,Proxy #匹配域名关键字(交由Proxy代理服务器组)
|
||||
##- DOMAIN,google.com,Proxy #匹配域名(交由Proxy代理服务器组)
|
||||
##- DOMAIN-SUFFIX,ad.com,REJECT #匹配域名后缀(拒绝)
|
||||
##- IP-CIDR,127.0.0.0/8,DIRECT #匹配数据目标IP(直连)
|
||||
##- SRC-IP-CIDR,192.168.1.201/32,DIRECT #匹配数据发起IP(直连)
|
||||
##- DST-PORT,80,DIRECT #匹配数据目标端口(直连)
|
||||
##- SRC-PORT,7777,DIRECT #匹配数据源端口(直连)
|
||||
|
||||
##排序在上的规则优先生效,如添加(去除规则前的#号):
|
||||
##IP段:192.168.1.2-192.168.1.200 直连
|
||||
##- SRC-IP-CIDR,192.168.1.2/31,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.4/30,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.8/29,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.16/28,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.32/27,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.64/26,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.128/26,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.192/29,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.200/32,DIRECT
|
||||
|
||||
##IP段:192.168.1.202-192.168.1.255 直连
|
||||
##- SRC-IP-CIDR,192.168.1.202/31,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.204/30,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.208/28,DIRECT
|
||||
##- SRC-IP-CIDR,192.168.1.224/27,DIRECT
|
||||
|
||||
##此时IP为192.168.1.1和192.168.1.201的客户端流量走代理(策略),其余客户端不走代理
|
||||
##因为Fake-IP模式下,IP地址为192.168.1.1的路由器自身流量可走代理(策略),所以需要排除
|
||||
|
||||
##仅设置路由器自身直连:
|
||||
##- SRC-IP-CIDR,192.168.1.1/32,DIRECT
|
||||
##- SRC-IP-CIDR,198.18.0.1/32,DIRECT
|
||||
|
||||
##DDNS
|
||||
##- DOMAIN-SUFFIX,checkip.dyndns.org,DIRECT
|
||||
##- DOMAIN-SUFFIX,checkipv6.dyndns.org,DIRECT
|
||||
##- DOMAIN-SUFFIX,checkip.synology.com,DIRECT
|
||||
##- DOMAIN-SUFFIX,ifconfig.co,DIRECT
|
||||
##- DOMAIN-SUFFIX,api.myip.com,DIRECT
|
||||
##- DOMAIN-SUFFIX,ip-api.com,DIRECT
|
||||
##- DOMAIN-SUFFIX,ipapi.co,DIRECT
|
||||
##- DOMAIN-SUFFIX,ip6.seeip.org,DIRECT
|
||||
##- DOMAIN-SUFFIX,members.3322.org,DIRECT
|
||||
|
||||
##在线IP段转CIDR地址:http://ip2cidr.com
|
@ -0,0 +1,23 @@
|
||||
script:
|
||||
## shortcuts:
|
||||
## common_port: dst_port not in [21, 22, 23, 53, 80, 123, 143, 194, 443, 465, 587, 853, 993, 995, 998, 2052, 2053, 2082, 2083, 2086, 2095, 2096, 5222, 5228, 5229, 5230, 8080, 8443, 8880, 8888, 8889]
|
||||
|
||||
## code: |
|
||||
## def main(ctx, metadata):
|
||||
## directkeywordlist = ["baidu"]
|
||||
## for directkeyword in directkeywordlist:
|
||||
## if directkeyword in metadata["host"]:
|
||||
## ctx.log('[Script] matched keyword %s use direct' % directkeyword)
|
||||
## return "DIRECT"
|
||||
|
||||
rules:
|
||||
##- SCRIPT,common_port,DIRECT #shortcuts rule
|
||||
|
||||
##- DOMAIN-SUFFIX,google.com,Proxy #匹配域名后缀(交由Proxy代理服务器组)
|
||||
##- DOMAIN-KEYWORD,google,Proxy #匹配域名关键字(交由Proxy代理服务器组)
|
||||
##- DOMAIN,google.com,Proxy #匹配域名(交由Proxy代理服务器组)
|
||||
##- DOMAIN-SUFFIX,ad.com,REJECT #匹配域名后缀(拒绝)
|
||||
##- IP-CIDR,127.0.0.0/8,DIRECT #匹配数据目标IP(直连)
|
||||
##- SRC-IP-CIDR,192.168.1.201/32,DIRECT #匹配数据发起IP(直连)
|
||||
##- DST-PORT,80,DIRECT #匹配数据目标端口(直连)
|
||||
##- SRC-PORT,7777,DIRECT #匹配数据源端口(直连)
|
@ -0,0 +1,6 @@
|
||||
force-domain:
|
||||
# - '+'
|
||||
- '+.netflix.com'
|
||||
- '+.nflxvideo.net'
|
||||
- '+.amazonaws.com'
|
||||
- '+.media.dssott.com'
|
@ -0,0 +1,4 @@
|
||||
skip-domain:
|
||||
- '+.apple.com'
|
||||
- Mijia Cloud
|
||||
- dlg.io.mi.com
|
@ -0,0 +1,12 @@
|
||||
sniff:
|
||||
# TLS 默认如果不配置 ports 默认嗅探 443
|
||||
TLS:
|
||||
# ports: [443, 8443]
|
||||
|
||||
# 默认嗅探 80
|
||||
HTTP:
|
||||
# 需要嗅探的端口
|
||||
|
||||
ports: [80, 8080-8880]
|
||||
# 是否使用嗅探结果作为实际访问
|
||||
override-destination: true
|
618
luci-app-openclash/root/etc/openclash/game_rules/CS-GO.rules
Normal file
618
luci-app-openclash/root/etc/openclash/game_rules/CS-GO.rules
Normal file
@ -0,0 +1,618 @@
|
||||
payload:
|
||||
- 1.165.84.0/24
|
||||
- 1.165.85.0/24
|
||||
- 1.165.90.0/24
|
||||
- 5.8.200.0/24
|
||||
- 5.9.123.0/24
|
||||
- 13.73.0.0/16
|
||||
- 13.73.1.0/24
|
||||
- 13.75.114.0/24
|
||||
- 13.126.76.0/24
|
||||
- 14.18.251.72/32
|
||||
- 18.214.26.0/24
|
||||
- 24.105.28.0/24
|
||||
- 27.64.93.0/24
|
||||
- 34.235.169.0/24
|
||||
- 35.185.157.0/24
|
||||
- 35.198.200.0/24
|
||||
- 36.232.23.0/24
|
||||
- 36.232.28.0/24
|
||||
- 36.232.29.0/24
|
||||
- 37.21.10.0/24
|
||||
- 37.230.228.0/24
|
||||
- 42.113.94.0/24
|
||||
- 42.114.229.0/24
|
||||
- 43.225.199.0/24
|
||||
- 43.239.136.0/24
|
||||
- 43.241.50.0/24
|
||||
- 43.249.36.0/24
|
||||
- 45.113.137.0/24
|
||||
- 45.113.191.0/24
|
||||
- 45.119.240.0/24
|
||||
- 45.121.184.0/24
|
||||
- 45.121.185.0/24
|
||||
- 45.121.186.0/24
|
||||
- 45.121.187.0/24
|
||||
- 47.52.16.0/24
|
||||
- 47.52.17.0/24
|
||||
- 47.52.18.0/24
|
||||
- 47.52.19.0/24
|
||||
- 47.52.20.0/24
|
||||
- 47.52.21.0/24
|
||||
- 47.52.22.0/24
|
||||
- 47.52.23.0/24
|
||||
- 47.52.24.0/24
|
||||
- 47.52.25.0/24
|
||||
- 47.52.26.0/24
|
||||
- 47.52.27.0/24
|
||||
- 47.52.28.0/24
|
||||
- 47.52.29.0/24
|
||||
- 47.52.30.0/24
|
||||
- 47.52.31.0/24
|
||||
- 47.52.40.0/24
|
||||
- 47.52.41.0/24
|
||||
- 47.52.42.0/24
|
||||
- 47.52.43.0/24
|
||||
- 47.52.44.0/24
|
||||
- 47.52.45.0/24
|
||||
- 47.52.46.0/24
|
||||
- 47.52.47.0/24
|
||||
- 47.52.56.0/24
|
||||
- 47.52.57.0/24
|
||||
- 47.52.58.0/24
|
||||
- 47.52.59.0/24
|
||||
- 47.52.60.0/24
|
||||
- 47.52.61.0/24
|
||||
- 47.52.62.0/24
|
||||
- 47.52.63.0/24
|
||||
- 47.52.64.0/24
|
||||
- 47.52.65.0/24
|
||||
- 47.52.66.0/24
|
||||
- 47.52.67.0/24
|
||||
- 47.52.68.0/24
|
||||
- 47.52.69.0/24
|
||||
- 47.52.70.0/24
|
||||
- 47.52.71.0/24
|
||||
- 47.52.72.0/24
|
||||
- 47.52.73.0/24
|
||||
- 47.52.74.0/24
|
||||
- 47.52.75.0/24
|
||||
- 47.52.76.0/24
|
||||
- 47.52.77.0/24
|
||||
- 47.52.78.0/24
|
||||
- 47.52.79.0/24
|
||||
- 47.52.88.0/24
|
||||
- 47.52.89.0/24
|
||||
- 47.52.90.0/24
|
||||
- 47.52.91.0/24
|
||||
- 47.52.92.0/24
|
||||
- 47.52.93.0/24
|
||||
- 47.52.94.0/24
|
||||
- 47.52.95.0/24
|
||||
- 47.52.96.0/24
|
||||
- 47.52.97.0/24
|
||||
- 47.52.98.0/24
|
||||
- 47.52.99.0/24
|
||||
- 47.52.100.0/24
|
||||
- 47.52.101.0/24
|
||||
- 47.52.102.0/24
|
||||
- 47.52.103.0/24
|
||||
- 47.52.104.0/24
|
||||
- 47.52.105.0/24
|
||||
- 47.52.106.0/24
|
||||
- 47.52.107.0/24
|
||||
- 47.52.108.0/24
|
||||
- 47.52.109.0/24
|
||||
- 47.52.110.0/24
|
||||
- 47.52.111.0/24
|
||||
- 47.52.112.0/24
|
||||
- 47.52.113.0/24
|
||||
- 47.52.114.0/24
|
||||
- 47.52.115.0/24
|
||||
- 47.52.116.0/24
|
||||
- 47.52.117.0/24
|
||||
- 47.52.118.0/24
|
||||
- 47.52.119.0/24
|
||||
- 47.52.128.0/24
|
||||
- 47.52.129.0/24
|
||||
- 47.52.130.0/24
|
||||
- 47.52.131.0/24
|
||||
- 47.52.132.0/24
|
||||
- 47.52.133.0/24
|
||||
- 47.52.134.0/24
|
||||
- 47.52.135.0/24
|
||||
- 47.52.136.0/24
|
||||
- 47.52.137.0/24
|
||||
- 47.52.138.0/24
|
||||
- 47.52.139.0/24
|
||||
- 47.52.140.0/24
|
||||
- 47.52.141.0/24
|
||||
- 47.52.142.0/24
|
||||
- 47.52.143.0/24
|
||||
- 47.52.144.0/24
|
||||
- 47.52.145.0/24
|
||||
- 47.52.146.0/24
|
||||
- 47.52.147.0/24
|
||||
- 47.52.148.0/24
|
||||
- 47.52.149.0/24
|
||||
- 47.52.150.0/24
|
||||
- 47.52.151.0/24
|
||||
- 47.52.152.0/24
|
||||
- 47.52.153.0/24
|
||||
- 47.52.154.0/24
|
||||
- 47.52.155.0/24
|
||||
- 47.52.156.0/24
|
||||
- 47.52.157.0/24
|
||||
- 47.52.158.0/24
|
||||
- 47.52.159.0/24
|
||||
- 47.52.160.0/24
|
||||
- 47.52.161.0/24
|
||||
- 47.52.162.0/24
|
||||
- 47.52.163.0/24
|
||||
- 47.52.164.0/24
|
||||
- 47.52.165.0/24
|
||||
- 47.52.166.0/24
|
||||
- 47.52.167.0/24
|
||||
- 47.52.168.0/24
|
||||
- 47.52.169.0/24
|
||||
- 47.52.170.0/24
|
||||
- 47.52.171.0/24
|
||||
- 47.52.172.0/24
|
||||
- 47.52.173.0/24
|
||||
- 47.52.174.0/24
|
||||
- 47.52.175.0/24
|
||||
- 47.52.188.0/24
|
||||
- 47.52.190.0/24
|
||||
- 47.52.191.0/24
|
||||
- 47.52.192.0/24
|
||||
- 47.52.193.0/24
|
||||
- 47.52.194.0/24
|
||||
- 47.52.195.0/24
|
||||
- 47.52.196.0/24
|
||||
- 47.52.197.0/24
|
||||
- 47.52.198.0/24
|
||||
- 47.52.199.0/24
|
||||
- 47.52.200.0/24
|
||||
- 47.52.201.0/24
|
||||
- 47.52.202.0/24
|
||||
- 47.52.203.0/24
|
||||
- 47.52.204.0/24
|
||||
- 47.52.205.0/24
|
||||
- 47.52.206.0/24
|
||||
- 47.52.207.0/24
|
||||
- 47.52.208.0/24
|
||||
- 47.52.209.0/24
|
||||
- 47.52.224.0/24
|
||||
- 47.52.225.0/24
|
||||
- 47.52.226.0/24
|
||||
- 47.52.228.0/24
|
||||
- 47.52.230.0/24
|
||||
- 47.52.231.0/24
|
||||
- 47.52.232.0/24
|
||||
- 47.52.234.0/24
|
||||
- 47.52.235.0/24
|
||||
- 47.52.236.0/24
|
||||
- 47.52.241.0/24
|
||||
- 47.52.242.0/24
|
||||
- 47.52.244.0/24
|
||||
- 47.52.246.0/24
|
||||
- 47.52.247.0/24
|
||||
- 47.52.248.0/24
|
||||
- 47.52.249.0/24
|
||||
- 47.52.250.0/24
|
||||
- 47.52.251.0/24
|
||||
- 47.52.252.0/24
|
||||
- 47.52.253.0/24
|
||||
- 47.52.254.0/24
|
||||
- 47.52.255.0/24
|
||||
- 47.74.1.0/24
|
||||
- 47.75.3.0/24
|
||||
- 47.75.5.0/24
|
||||
- 47.75.94.0/24
|
||||
- 47.75.98.0/24
|
||||
- 47.75.143.0/24
|
||||
- 47.75.194.0/24
|
||||
- 47.75.207.0/24
|
||||
- 47.75.219.0/24
|
||||
- 47.89.8.0/24
|
||||
- 47.89.9.0/24
|
||||
- 47.89.10.0/24
|
||||
- 47.89.11.0/24
|
||||
- 47.89.12.0/24
|
||||
- 47.89.13.0/24
|
||||
- 47.89.14.0/24
|
||||
- 47.89.15.0/24
|
||||
- 47.89.16.0/24
|
||||
- 47.89.17.0/24
|
||||
- 47.89.18.0/24
|
||||
- 47.89.19.0/24
|
||||
- 47.89.20.0/24
|
||||
- 47.89.21.0/24
|
||||
- 47.89.22.0/24
|
||||
- 47.89.23.0/24
|
||||
- 47.90.8.0/24
|
||||
- 47.90.90.0/24
|
||||
- 47.90.96.0/24
|
||||
- 47.90.97.0/24
|
||||
- 47.90.98.0/24
|
||||
- 47.90.99.0/24
|
||||
- 47.90.100.0/24
|
||||
- 47.90.101.0/24
|
||||
- 47.90.102.0/24
|
||||
- 47.90.103.0/24
|
||||
- 47.90.120.0/24
|
||||
- 47.90.121.0/24
|
||||
- 47.90.122.0/24
|
||||
- 47.90.123.0/24
|
||||
- 47.90.124.0/24
|
||||
- 47.90.125.0/24
|
||||
- 47.90.126.0/24
|
||||
- 47.90.127.0/24
|
||||
- 47.90.214.0/24
|
||||
- 47.91.152.0/24
|
||||
- 47.91.153.0/24
|
||||
- 47.91.154.0/24
|
||||
- 47.91.155.0/24
|
||||
- 47.91.156.0/24
|
||||
- 47.91.157.0/24
|
||||
- 47.91.158.0/24
|
||||
- 47.91.159.0/24
|
||||
- 47.91.207.0/24
|
||||
- 47.91.208.0/24
|
||||
- 47.91.209.0/24
|
||||
- 47.91.210.0/24
|
||||
- 47.91.211.0/24
|
||||
- 47.91.212.0/24
|
||||
- 47.91.213.0/24
|
||||
- 47.91.214.0/24
|
||||
- 47.91.215.0/24
|
||||
- 47.91.216.0/24
|
||||
- 47.91.217.0/24
|
||||
- 47.91.218.0/24
|
||||
- 47.91.219.0/24
|
||||
- 47.91.220.0/24
|
||||
- 47.91.221.0/24
|
||||
- 47.91.224.0/24
|
||||
- 47.91.225.0/24
|
||||
- 47.91.226.0/24
|
||||
- 47.91.227.0/24
|
||||
- 47.91.228.0/24
|
||||
- 47.91.229.0/24
|
||||
- 47.91.230.0/24
|
||||
- 47.91.231.0/24
|
||||
- 47.91.232.0/24
|
||||
- 47.91.233.0/24
|
||||
- 47.91.234.0/24
|
||||
- 47.91.235.0/24
|
||||
- 47.91.236.0/24
|
||||
- 47.91.237.0/24
|
||||
- 47.91.238.0/24
|
||||
- 47.91.239.0/24
|
||||
- 47.91.240.0/24
|
||||
- 47.91.241.0/24
|
||||
- 47.91.242.0/24
|
||||
- 47.91.243.0/24
|
||||
- 47.91.244.0/24
|
||||
- 47.91.245.0/24
|
||||
- 47.91.246.0/24
|
||||
- 47.91.247.0/24
|
||||
- 47.91.248.0/24
|
||||
- 47.91.249.0/24
|
||||
- 47.91.250.0/24
|
||||
- 47.91.251.0/24
|
||||
- 47.91.252.0/24
|
||||
- 47.91.253.0/24
|
||||
- 47.91.254.0/24
|
||||
- 47.91.255.0/24
|
||||
- 47.96.0.0/16
|
||||
- 47.96.2.0/24
|
||||
- 47.96.3.0/24
|
||||
- 47.96.5.0/24
|
||||
- 47.96.6.0/24
|
||||
- 47.96.7.0/24
|
||||
- 47.96.8.0/24
|
||||
- 47.96.9.0/24
|
||||
- 47.96.10.0/24
|
||||
- 47.96.12.0/24
|
||||
- 47.96.13.0/24
|
||||
- 47.96.14.0/24
|
||||
- 47.99.33.0/24
|
||||
- 47.99.38.0/24
|
||||
- 47.99.44.0/24
|
||||
- 47.99.62.0/24
|
||||
- 47.99.73.0/24
|
||||
- 47.99.75.0/24
|
||||
- 47.99.76.0/24
|
||||
- 47.99.81.0/24
|
||||
- 47.99.84.0/24
|
||||
- 47.99.89.0/24
|
||||
- 47.99.90.0/24
|
||||
- 47.99.93.0/24
|
||||
- 47.99.95.0/24
|
||||
- 47.99.98.0/24
|
||||
- 47.99.99.0/24
|
||||
- 47.99.101.0/24
|
||||
- 47.99.103.0/24
|
||||
- 47.99.104.0/24
|
||||
- 47.99.107.0/24
|
||||
- 47.99.111.0/24
|
||||
- 47.99.120.0/24
|
||||
- 47.99.128.0/24
|
||||
- 47.99.159.0/24
|
||||
- 47.99.161.0/24
|
||||
- 47.99.164.0/24
|
||||
- 47.99.166.0/24
|
||||
- 47.99.169.0/24
|
||||
- 47.110.42.0/24
|
||||
- 47.244.1.0/24
|
||||
- 47.244.2.0/24
|
||||
- 47.244.3.0/24
|
||||
- 47.244.5.0/24
|
||||
- 47.244.7.0/24
|
||||
- 47.244.10.0/24
|
||||
- 47.244.11.0/24
|
||||
- 47.244.12.0/24
|
||||
- 47.244.13.0/24
|
||||
- 47.244.14.0/24
|
||||
- 47.244.15.0/24
|
||||
- 47.244.16.0/24
|
||||
- 47.244.17.0/24
|
||||
- 47.244.18.0/24
|
||||
- 47.244.19.0/24
|
||||
- 47.244.21.0/24
|
||||
- 47.244.22.0/24
|
||||
- 47.244.24.0/24
|
||||
- 47.244.25.0/24
|
||||
- 47.244.26.0/24
|
||||
- 47.244.33.0/24
|
||||
- 47.244.35.0/24
|
||||
- 47.244.36.0/24
|
||||
- 47.244.37.0/24
|
||||
- 47.244.43.0/24
|
||||
- 47.244.44.0/24
|
||||
- 47.244.48.0/24
|
||||
- 47.244.51.0/24
|
||||
- 47.244.56.0/24
|
||||
- 52.53.89.0/24
|
||||
- 52.63.114.0/24
|
||||
- 52.64.199.0/24
|
||||
- 52.90.185.0/24
|
||||
- 52.175.16.0/24
|
||||
- 52.175.31.0/24
|
||||
- 52.207.236.0/24
|
||||
- 52.229.154.0/24
|
||||
- 52.229.160.0/24
|
||||
- 52.229.161.0/24
|
||||
- 54.66.223.0/24
|
||||
- 54.158.198.0/24
|
||||
- 54.164.19.0/24
|
||||
- 54.169.27.0/24
|
||||
- 54.209.147.0/24
|
||||
- 58.153.0.0/16
|
||||
- 58.153.19.0/24
|
||||
- 58.153.171.0/24
|
||||
- 58.153.208.0/24
|
||||
- 58.153.209.0/24
|
||||
- 58.153.221.0/24
|
||||
- 58.176.80.0/24
|
||||
- 58.177.181.0/24
|
||||
- 58.215.54.0/24
|
||||
- 58.221.252.0/24
|
||||
- 59.16.249.0/24
|
||||
- 59.127.115.0/24
|
||||
- 59.149.239.0/24
|
||||
- 60.248.89.0/24
|
||||
- 61.80.89.0/24
|
||||
- 61.84.148.0/24
|
||||
- 61.155.210.0/24
|
||||
- 61.216.2.0/24
|
||||
- 61.216.34.0/24
|
||||
- 61.216.146.0/24
|
||||
- 61.238.35.0/24
|
||||
- 61.239.213.0/24
|
||||
- 61.239.223.0/24
|
||||
- 74.91.112.0/24
|
||||
- 74.201.99.0/24
|
||||
- 87.98.228.0/24
|
||||
- 88.82.185.0/24
|
||||
- 90.188.238.0/24
|
||||
- 94.245.155.0/24
|
||||
- 95.154.88.0/24
|
||||
- 95.154.113.0/24
|
||||
- 95.172.92.0/24
|
||||
- 95.183.13.0/24
|
||||
- 103.9.89.0/24
|
||||
- 103.10.124.0/24
|
||||
- 103.10.125.0/24
|
||||
- 103.16.27.0/24
|
||||
- 103.28.54.0/24
|
||||
- 103.28.55.0/24
|
||||
- 103.36.208.0/24
|
||||
- 103.44.160.0/24
|
||||
- 103.57.72.0/24
|
||||
- 103.58.149.0/24
|
||||
- 103.60.126.0/24
|
||||
- 103.62.48.0/24
|
||||
- 103.89.90.0/24
|
||||
- 103.207.36.0/24
|
||||
- 103.222.20.0/24
|
||||
- 103.231.163.0/24
|
||||
- 103.232.85.0/24
|
||||
- 103.241.165.0/24
|
||||
- 103.244.2.0/24
|
||||
- 103.254.153.0/24
|
||||
- 104.199.166.0/24
|
||||
- 104.236.115.0/24
|
||||
- 107.21.14.0/24
|
||||
- 110.42.10.0/24
|
||||
- 110.173.58.0/24
|
||||
- 111.91.236.0/24
|
||||
- 111.231.11.0/24
|
||||
- 111.253.47.0/24
|
||||
- 111.253.49.0/24
|
||||
- 111.253.50.0/24
|
||||
- 111.253.52.0/24
|
||||
- 111.253.55.0/24
|
||||
- 112.118.44.0/24
|
||||
- 112.118.193.0/24
|
||||
- 113.160.204.0/24
|
||||
- 113.190.242.0/24
|
||||
- 114.46.16.0/24
|
||||
- 114.46.20.0/24
|
||||
- 114.46.21.0/24
|
||||
- 114.46.22.0/24
|
||||
- 114.46.24.0/24
|
||||
- 114.46.30.0/24
|
||||
- 114.167.236.0/24
|
||||
- 115.230.127.0/24
|
||||
- 115.231.221.0/24
|
||||
- 115.231.223.0/24
|
||||
- 116.31.123.0/24
|
||||
- 116.49.214.0/24
|
||||
- 116.122.109.0/24
|
||||
- 116.251.223.0/24
|
||||
- 118.107.76.0/24
|
||||
- 119.28.222.0/24
|
||||
- 119.197.57.0/24
|
||||
- 119.236.132.0/24
|
||||
- 119.237.11.0/24
|
||||
- 120.72.85.0/24
|
||||
- 123.31.20.0/24
|
||||
- 123.194.52.0/24
|
||||
- 124.158.10.0/24
|
||||
- 124.228.91.0/24
|
||||
- 125.212.211.0/24
|
||||
- 125.212.226.0/24
|
||||
- 125.226.128.0/24
|
||||
- 125.253.124.0/24
|
||||
- 128.199.81.0/24
|
||||
- 132.232.7.0/24
|
||||
- 132.232.9.0/24
|
||||
- 132.232.12.0/24
|
||||
- 132.232.29.0/24
|
||||
- 132.232.51.0/24
|
||||
- 132.232.55.0/24
|
||||
- 132.232.57.0/24
|
||||
- 132.232.61.0/24
|
||||
- 132.232.62.0/24
|
||||
- 132.232.75.0/24
|
||||
- 132.232.91.0/24
|
||||
- 132.232.94.0/24
|
||||
- 132.232.99.0/24
|
||||
- 132.232.104.0/24
|
||||
- 133.130.123.0/24
|
||||
- 138.19.63.0/24
|
||||
- 139.99.9.0/24
|
||||
- 139.99.104.0/24
|
||||
- 139.99.119.0/24
|
||||
- 139.162.55.0/24
|
||||
- 146.66.152.0/24
|
||||
- 146.66.153.0/24
|
||||
- 146.66.154.0/24
|
||||
- 146.66.155.0/24
|
||||
- 146.66.156.0/24
|
||||
- 146.66.157.0/24
|
||||
- 146.66.158.0/24
|
||||
- 146.66.159.0/24
|
||||
- 150.109.40.0/24
|
||||
- 151.80.60.0/24
|
||||
- 151.80.145.0/24
|
||||
- 152.111.192.0/24
|
||||
- 153.160.25.0/24
|
||||
- 153.254.86.0/24
|
||||
- 155.133.227.0/24
|
||||
- 155.133.230.0/24
|
||||
- 155.133.232.0/24
|
||||
- 155.133.233.0/24
|
||||
- 155.133.235.0/24
|
||||
- 155.133.238.0/24
|
||||
- 155.133.239.0/24
|
||||
- 155.133.242.0/24
|
||||
- 155.133.244.0/24
|
||||
- 155.133.245.0/24
|
||||
- 155.133.246.0/24
|
||||
- 155.133.247.0/24
|
||||
- 155.133.248.0/24
|
||||
- 155.133.249.0/24
|
||||
- 155.133.252.0/24
|
||||
- 155.133.253.0/24
|
||||
- 155.133.254.0/24
|
||||
- 159.28.159.0/24
|
||||
- 161.202.44.0/24
|
||||
- 162.254.192.0/24
|
||||
- 162.254.193.0/24
|
||||
- 162.254.194.0/24
|
||||
- 162.254.195.0/24
|
||||
- 162.254.196.0/24
|
||||
- 162.254.197.0/24
|
||||
- 162.254.198.0/24
|
||||
- 162.254.199.0/24
|
||||
- 163.53.149.0/24
|
||||
- 169.254.0.0/16
|
||||
- 169.254.125.95/32
|
||||
- 169.254.10.218/32
|
||||
- 175.210.83.0/24
|
||||
- 176.215.255.0/24
|
||||
- 180.149.95.0/24
|
||||
- 180.177.178.0/24
|
||||
- 182.171.230.0/24
|
||||
- 182.176.65.0/24
|
||||
- 183.60.111.0/24
|
||||
- 183.179.66.0/24
|
||||
- 185.25.60.0/24
|
||||
- 185.25.180.0/24
|
||||
- 185.25.181.0/24
|
||||
- 185.25.182.0/24
|
||||
- 185.25.183.0/24
|
||||
- 185.37.216.0/24
|
||||
- 185.62.205.0/24
|
||||
- 185.113.141.0/24
|
||||
- 190.217.33.0/24
|
||||
- 192.69.96.0/24
|
||||
- 192.69.97.0/24
|
||||
- 193.33.176.0/24
|
||||
- 195.14.118.0/24
|
||||
- 195.201.246.0/24
|
||||
- 196.38.180.0/24
|
||||
- 197.80.200.0/24
|
||||
- 198.27.83.0/24
|
||||
- 202.21.115.0/24
|
||||
- 203.175.163.0/24
|
||||
- 203.175.164.0/24
|
||||
- 203.175.165.0/24
|
||||
- 203.175.166.0/24
|
||||
- 203.218.101.0/24
|
||||
- 205.185.194.0/24
|
||||
- 205.196.6.0/24
|
||||
- 208.64.200.0/24
|
||||
- 208.64.203.0/24
|
||||
- 208.78.164.0/24
|
||||
- 208.78.165.0/24
|
||||
- 208.78.166.0/24
|
||||
- 209.58.164.0/24
|
||||
- 209.58.168.0/24
|
||||
- 209.58.178.0/24
|
||||
- 209.58.188.0/24
|
||||
- 210.211.124.0/24
|
||||
- 211.21.37.0/24
|
||||
- 211.48.69.0/24
|
||||
- 211.75.181.0/24
|
||||
- 212.64.32.0/24
|
||||
- 216.52.148.0/24
|
||||
- 217.150.77.0/24
|
||||
- 218.250.12.0/24
|
||||
- 218.250.15.0/24
|
||||
- 218.250.113.0/24
|
||||
- 218.255.3.0/24
|
||||
- 220.80.129.0/24
|
||||
- 220.134.154.0/24
|
||||
- 220.135.180.0/24
|
||||
- 220.169.242.0/24
|
||||
- 220.170.89.0/24
|
||||
- 221.6.100.0/24
|
||||
- 222.102.95.0/24
|
||||
- 222.112.242.0/24
|
||||
- 222.186.50.0/24
|
||||
- 222.187.224.0/24
|
||||
- 224.0.0.0/4
|
||||
- 240.0.0.0/4
|
@ -0,0 +1,294 @@
|
||||
payload:
|
||||
- 2.16.0.0/16
|
||||
- 2.17.0.0/16
|
||||
- 2.18.0.0/16
|
||||
- 2.19.0.0/16
|
||||
- 2.20.0.0/16
|
||||
- 2.21.0.0/16
|
||||
- 2.22.0.0/16
|
||||
- 2.23.0.0/16
|
||||
- 8.7.0.0/16
|
||||
- 14.21.0.0/16
|
||||
- 23.0.0.0/4
|
||||
- 23.1.0.0/16
|
||||
- 23.2.0.0/16
|
||||
- 23.3.0.0/16
|
||||
- 23.4.0.0/16
|
||||
- 23.5.0.0/16
|
||||
- 23.7.0.0/16
|
||||
- 23.8.0.0/16
|
||||
- 23.9.0.0/16
|
||||
- 23.11.0.0/16
|
||||
- 23.12.0.0/16
|
||||
- 23.13.0.0/16
|
||||
- 23.14.0.0/16
|
||||
- 23.15.0.0/16
|
||||
- 23.32.0.0/16
|
||||
- 23.33.0.0/16
|
||||
- 23.34.0.0/16
|
||||
- 23.35.0.0/16
|
||||
- 23.36.0.0/16
|
||||
- 23.37.0.0/16
|
||||
- 23.38.0.0/16
|
||||
- 23.39.0.0/16
|
||||
- 23.40.0.0/16
|
||||
- 23.41.0.0/16
|
||||
- 23.42.0.0/16
|
||||
- 23.44.0.0/16
|
||||
- 23.45.0.0/16
|
||||
- 23.46.0.0/16
|
||||
- 23.48.0.0/16
|
||||
- 23.49.0.0/16
|
||||
- 23.50.0.0/16
|
||||
- 23.51.0.0/16
|
||||
- 23.52.0.0/16
|
||||
- 23.53.0.0/16
|
||||
- 23.54.0.0/16
|
||||
- 23.55.0.0/16
|
||||
- 23.56.0.0/16
|
||||
- 23.57.0.0/16
|
||||
- 23.58.0.0/16
|
||||
- 23.59.0.0/16
|
||||
- 23.60.0.0/16
|
||||
- 23.61.0.0/16
|
||||
- 23.62.0.0/16
|
||||
- 23.63.0.0/16
|
||||
- 23.64.0.0/16
|
||||
- 23.65.0.0/16
|
||||
- 23.67.0.0/16
|
||||
- 23.72.0.0/16
|
||||
- 23.73.0.0/16
|
||||
- 23.74.0.0/16
|
||||
- 23.75.0.0/16
|
||||
- 23.76.0.0/16
|
||||
- 23.77.0.0/16
|
||||
- 23.78.0.0/16
|
||||
- 23.79.0.0/16
|
||||
- 23.192.0.0/16
|
||||
- 23.193.0.0/16
|
||||
- 23.194.0.0/16
|
||||
- 23.196.0.0/16
|
||||
- 23.197.0.0/16
|
||||
- 23.198.0.0/16
|
||||
- 23.199.0.0/16
|
||||
- 23.200.0.0/16
|
||||
- 23.201.0.0/16
|
||||
- 23.202.0.0/16
|
||||
- 23.203.0.0/16
|
||||
- 23.204.0.0/16
|
||||
- 23.205.0.0/16
|
||||
- 23.206.0.0/16
|
||||
- 23.207.0.0/16
|
||||
- 23.208.0.0/16
|
||||
- 23.209.0.0/16
|
||||
- 23.210.0.0/16
|
||||
- 23.211.0.0/16
|
||||
- 23.212.0.0/16
|
||||
- 23.213.0.0/16
|
||||
- 23.214.0.0/16
|
||||
- 23.215.0.0/16
|
||||
- 23.216.0.0/16
|
||||
- 23.217.0.0/16
|
||||
- 23.218.0.0/16
|
||||
- 23.219.0.0/16
|
||||
- 23.220.0.0/16
|
||||
- 23.221.0.0/16
|
||||
- 23.222.0.0/16
|
||||
- 23.223.0.0/16
|
||||
- 31.0.0.0/4
|
||||
- 31.13.0.0/16
|
||||
- 37.10.0.0/16
|
||||
- 45.121.0.0/16
|
||||
- 45.121.184.0/24
|
||||
- 45.121.186.0/24
|
||||
- 46.0.0.0/4
|
||||
- 59.0.0.0/4
|
||||
- 60.254.0.0/16
|
||||
- 61.213.0.0/16
|
||||
- 63.146.0.0/16
|
||||
- 63.219.0.0/16
|
||||
- 63.243.0.0/16
|
||||
- 64.0.0.0/4
|
||||
- 64.124.0.0/16
|
||||
- 65.152.0.0/16
|
||||
- 65.158.0.0/16
|
||||
- 66.0.0.0/4
|
||||
- 67.0.0.0/4
|
||||
- 67.131.0.0/16
|
||||
- 69.0.0.0/4
|
||||
- 69.16.0.0/16
|
||||
- 69.63.0.0/16
|
||||
- 69.171.0.0/16
|
||||
- 69.192.0.0/16
|
||||
- 72.165.0.0/16
|
||||
- 72.246.0.0/16
|
||||
- 72.247.0.0/16
|
||||
- 74.0.0.0/4
|
||||
- 74.86.0.0/16
|
||||
- 74.201.0.0/16
|
||||
- 75.0.0.0/4
|
||||
- 75.126.0.0/16
|
||||
- 78.16.0.0/16
|
||||
- 84.53.0.0/16
|
||||
- 85.190.0.0/16
|
||||
- 88.0.0.0/4
|
||||
- 88.221.0.0/16
|
||||
- 92.122.0.0/16
|
||||
- 92.123.0.0/16
|
||||
- 95.100.0.0/16
|
||||
- 95.101.0.0/16
|
||||
- 96.0.0.0/4
|
||||
- 96.6.0.0/16
|
||||
- 96.16.0.0/16
|
||||
- 96.17.0.0/16
|
||||
- 103.10.124.0/24
|
||||
- 103.28.0.0/16
|
||||
- 103.28.54.0/24
|
||||
- 103.74.0.0/16
|
||||
- 104.0.0.0/4
|
||||
- 104.65.0.0/16
|
||||
- 104.66.0.0/16
|
||||
- 104.67.0.0/16
|
||||
- 104.68.0.0/16
|
||||
- 104.70.0.0/16
|
||||
- 104.71.0.0/16
|
||||
- 104.72.0.0/16
|
||||
- 104.73.0.0/16
|
||||
- 104.75.0.0/16
|
||||
- 104.76.0.0/16
|
||||
- 104.77.0.0/16
|
||||
- 104.79.0.0/16
|
||||
- 104.80.0.0/16
|
||||
- 104.81.0.0/16
|
||||
- 104.82.0.0/16
|
||||
- 104.83.0.0/16
|
||||
- 104.84.0.0/16
|
||||
- 104.85.0.0/16
|
||||
- 104.86.0.0/16
|
||||
- 104.87.0.0/16
|
||||
- 104.89.0.0/16
|
||||
- 104.90.0.0/16
|
||||
- 104.91.0.0/16
|
||||
- 104.92.0.0/16
|
||||
- 104.94.0.0/16
|
||||
- 104.95.0.0/16
|
||||
- 104.97.0.0/16
|
||||
- 104.98.0.0/16
|
||||
- 104.100.0.0/16
|
||||
- 104.101.0.0/16
|
||||
- 104.102.0.0/16
|
||||
- 104.103.0.0/16
|
||||
- 104.104.0.0/16
|
||||
- 104.105.0.0/16
|
||||
- 104.106.0.0/16
|
||||
- 104.107.0.0/16
|
||||
- 104.108.0.0/16
|
||||
- 104.109.0.0/16
|
||||
- 104.110.0.0/16
|
||||
- 104.111.0.0/16
|
||||
- 104.112.0.0/16
|
||||
- 104.113.0.0/16
|
||||
- 104.115.0.0/16
|
||||
- 104.116.0.0/16
|
||||
- 104.117.0.0/16
|
||||
- 104.118.0.0/16
|
||||
- 104.119.0.0/16
|
||||
- 104.120.0.0/16
|
||||
- 104.121.0.0/16
|
||||
- 104.122.0.0/16
|
||||
- 104.123.0.0/16
|
||||
- 104.124.0.0/16
|
||||
- 104.126.0.0/16
|
||||
- 104.127.0.0/16
|
||||
- 106.15.0.0/16
|
||||
- 110.45.0.0/16
|
||||
- 115.223.0.0/16
|
||||
- 117.103.0.0/16
|
||||
- 118.155.0.0/16
|
||||
- 118.214.0.0/16
|
||||
- 118.215.0.0/16
|
||||
- 120.24.184.25/32
|
||||
- 121.156.0.0/16
|
||||
- 122.252.0.0/16
|
||||
- 125.56.0.0/16
|
||||
- 125.252.0.0/16
|
||||
- 128.241.0.0/16
|
||||
- 139.175.0.0/16
|
||||
- 141.0.0.0/4
|
||||
- 146.66.0.0/16
|
||||
- 152.199.0.0/16
|
||||
- 153.254.0.0/16
|
||||
- 153.254.86.0/24
|
||||
- 155.133.0.0/16
|
||||
- 155.133.232.0/24
|
||||
- 155.133.233.0/24
|
||||
- 155.133.234.0/24
|
||||
- 155.133.235.0/24
|
||||
- 155.133.239.0/24
|
||||
- 155.133.244.0/24
|
||||
- 155.133.253.0/24
|
||||
- 155.133.254.0/24
|
||||
- 162.254.0.0/16
|
||||
- 162.254.192.0/24
|
||||
- 162.254.193.0/24
|
||||
- 162.254.194.0/24
|
||||
- 162.254.199.0/24
|
||||
- 165.254.0.0/16
|
||||
- 172.0.0.0/4
|
||||
- 172.224.0.0/16
|
||||
- 172.226.0.0/16
|
||||
- 172.227.0.0/16
|
||||
- 172.228.0.0/16
|
||||
- 172.229.0.0/16
|
||||
- 172.230.0.0/16
|
||||
- 172.231.0.0/16
|
||||
- 173.0.0.0/4
|
||||
- 173.197.0.0/16
|
||||
- 173.205.0.0/16
|
||||
- 173.222.0.0/16
|
||||
- 173.223.0.0/16
|
||||
- 173.252.0.0/16
|
||||
- 174.36.0.0/16
|
||||
- 175.99.0.0/16
|
||||
- 175.139.0.0/16
|
||||
- 180.101.192.0/24
|
||||
- 182.162.0.0/16
|
||||
- 184.0.0.0/4
|
||||
- 184.24.0.0/16
|
||||
- 184.25.0.0/16
|
||||
- 184.26.0.0/16
|
||||
- 184.29.0.0/16
|
||||
- 184.30.0.0/16
|
||||
- 184.31.0.0/16
|
||||
- 184.50.0.0/16
|
||||
- 184.51.0.0/16
|
||||
- 184.84.0.0/16
|
||||
- 184.85.0.0/16
|
||||
- 184.87.0.0/16
|
||||
- 185.25.0.0/16
|
||||
- 185.27.0.0/16
|
||||
- 185.88.0.0/16
|
||||
- 192.69.96.0/24
|
||||
- 192.81.0.0/16
|
||||
- 198.87.0.0/16
|
||||
- 198.172.0.0/16
|
||||
- 199.0.0.0/4
|
||||
- 199.239.0.0/16
|
||||
- 203.69.0.0/16
|
||||
- 203.80.149.0/24
|
||||
- 205.186.0.0/16
|
||||
- 205.196.6.0/24
|
||||
- 205.197.0.0/16
|
||||
- 208.0.0.0/4
|
||||
- 208.64.0.0/16
|
||||
- 208.64.200.0/24
|
||||
- 208.78.0.0/16
|
||||
- 208.78.164.0/24
|
||||
- 208.78.166.0/24
|
||||
- 208.78.167.0/24
|
||||
- 209.170.0.0/16
|
||||
- 210.61.0.0/16
|
||||
- 210.201.0.0/16
|
||||
- 216.3.0.0/16
|
||||
- 216.156.0.0/16
|
||||
- 223.119.0.0/16
|
133
luci-app-openclash/root/etc/openclash/game_rules/Steam.rules
Normal file
133
luci-app-openclash/root/etc/openclash/game_rules/Steam.rules
Normal file
@ -0,0 +1,133 @@
|
||||
payload:
|
||||
- 96.7.54.0/24
|
||||
- 96.17.68.0/24
|
||||
- 95.101.58.0/24
|
||||
- 92.123.234.0/24
|
||||
- 72.249.197.0/24
|
||||
- 72.247.118.0/24
|
||||
- 75.126.208.0/20
|
||||
- 69.192.4.0/24
|
||||
- 61.213.189.0/24
|
||||
- 61.213.168.0/24
|
||||
- 23.9.186.0/24
|
||||
- 23.9.179.0/24
|
||||
- 23.9.117.0/24
|
||||
- 23.77.27.0/24
|
||||
- 23.77.18.0/24
|
||||
- 23.76.210.0/24
|
||||
- 23.75.104.0/24
|
||||
- 23.67.53.0/24
|
||||
- 23.67.189.0/24
|
||||
- 23.66.135.0/24
|
||||
- 23.62.226.0/24
|
||||
- 23.61.244.0/24
|
||||
- 23.61.195.0/24
|
||||
- 23.57.66.0/24
|
||||
- 23.56.108.0/24
|
||||
- 23.55.56.0/24
|
||||
- 23.55.47.0/24
|
||||
- 23.55.37.0/24
|
||||
- 23.52.74.0/24
|
||||
- 23.52.171.0/24
|
||||
- 23.50.232.0/24
|
||||
- 23.5.229.0/24
|
||||
- 23.48.201.0/24
|
||||
- 23.47.143.0/24
|
||||
- 23.46.16.0/24
|
||||
- 23.46.147.0/24
|
||||
- 23.45.51.0/24
|
||||
- 23.45.127.0/24
|
||||
- 23.44.51.0/24
|
||||
- 23.44.172.0/24
|
||||
- 23.44.17.0/24
|
||||
- 23.43.49.0/24
|
||||
- 23.42.74.0/24
|
||||
- 23.37.126.0/24
|
||||
- 23.36.111.0/24
|
||||
- 23.34.96.0/24
|
||||
- 23.33.178.0/24
|
||||
- 23.33.151.0/24
|
||||
- 23.32.255.0/24
|
||||
- 23.32.248.0/24
|
||||
- 23.32.241.0/24
|
||||
- 23.219.172.0/24
|
||||
- 23.218.94.0/24
|
||||
- 23.218.5.0/24
|
||||
- 23.218.24.0/24
|
||||
- 23.215.188.0/24
|
||||
- 23.211.136.0/24
|
||||
- 23.211.117.0/24
|
||||
- 23.211.108.0/24
|
||||
- 23.210.215.0/24
|
||||
- 23.204.57.0/24
|
||||
- 23.204.147.0/24
|
||||
- 23.200.74.0/24
|
||||
- 23.2.16.0/24
|
||||
- 23.199.34.0/24
|
||||
- 23.198.137.0/24
|
||||
- 23.198.136.0/24
|
||||
- 23.198.103.0/24
|
||||
- 23.192.168.0/24
|
||||
- 23.192.119.0/24
|
||||
- 23.15.4.0/24
|
||||
- 23.12.40.0/24
|
||||
- 23.1.237.0/24
|
||||
- 23.1.236.0/24
|
||||
- 23.1.234.0/24
|
||||
- 23.7.208.0/20
|
||||
- 223.119.50.0/24
|
||||
- 223.119.248.0/24
|
||||
- 220.90.198.0/24
|
||||
- 219.76.10.0/24
|
||||
- 203.74.140.0/24
|
||||
- 203.69.141.0/24
|
||||
- 202.4.185.0/24
|
||||
- 2.21.98.0/24
|
||||
- 2.20.27.0/24
|
||||
- 189.6.45.0/24
|
||||
- 184.87.133.0/24
|
||||
- 184.86.250.0/24
|
||||
- 184.51.198.0/24
|
||||
- 184.51.183.0/24
|
||||
- 184.50.26.0/24
|
||||
- 184.31.165.0/24
|
||||
- 184.28.223.0/24
|
||||
- 184.28.218.0/24
|
||||
- 184.27.20.0/24
|
||||
- 184.26.194.0/24
|
||||
- 184.24.58.0/24
|
||||
- 184.150.58.0/24
|
||||
- 184.150.154.0/24
|
||||
- 175.207.14.0/24
|
||||
- 172.217.0.0/16
|
||||
- 172.232.19.0/24
|
||||
- 139.175.236.0/24
|
||||
- 125.56.201.0/24
|
||||
- 125.252.224.0/24
|
||||
- 119.56.4.0/24
|
||||
- 119.207.66.0/24
|
||||
- 119.207.64.0/24
|
||||
- 104.88.23.0/24
|
||||
- 104.84.150.0/24
|
||||
- 104.84.160.0/19
|
||||
- 104.81.21.0/24
|
||||
- 104.76.86.0/24
|
||||
- 104.76.172.0/24
|
||||
- 104.75.169.0/24
|
||||
- 104.74.47.0/24
|
||||
- 104.74.30.0/24
|
||||
- 104.74.214.0/24
|
||||
- 104.74.209.0/24
|
||||
- 104.71.139.0/24
|
||||
- 104.64.155.0/24
|
||||
- 104.250.32.0/23
|
||||
- 104.254.123.0/24
|
||||
- 104.127.4.0/24
|
||||
- 104.124.248.0/24
|
||||
- 104.124.233.0/24
|
||||
- 104.124.232.0/24
|
||||
- 104.122.6.0/24
|
||||
- 104.120.11.0/24
|
||||
- 104.116.243.0/24
|
||||
- 104.110.72.0/24
|
||||
- 153.254.86.0/24
|
4
luci-app-openclash/root/etc/openclash/rule_provider/ABC
Normal file
4
luci-app-openclash/root/etc/openclash/rule_provider/ABC
Normal file
@ -0,0 +1,4 @@
|
||||
payload:
|
||||
# > ABC
|
||||
- DOMAIN-SUFFIX,edgedatg.com
|
||||
- DOMAIN-SUFFIX,go.com
|
10
luci-app-openclash/root/etc/openclash/rule_provider/Abema_TV
Normal file
10
luci-app-openclash/root/etc/openclash/rule_provider/Abema_TV
Normal file
@ -0,0 +1,10 @@
|
||||
payload:
|
||||
# > AbemaTV
|
||||
# - USER-AGENT,AbemaTV*
|
||||
- PROCESS-NAME,tv.abema
|
||||
- DOMAIN-SUFFIX,abema.io
|
||||
- DOMAIN-SUFFIX,abema.tv
|
||||
- DOMAIN-SUFFIX,akamaized.net
|
||||
- DOMAIN-SUFFIX,ameba.jp
|
||||
- DOMAIN-SUFFIX,hayabusa.io
|
||||
- DOMAIN-KEYWORD,abematv.akamaized.net
|
45
luci-app-openclash/root/etc/openclash/rule_provider/Amazon
Normal file
45
luci-app-openclash/root/etc/openclash/rule_provider/Amazon
Normal file
@ -0,0 +1,45 @@
|
||||
payload:
|
||||
# > Amazon Prime Video
|
||||
# - USER-AGENT,InstantVideo.US*
|
||||
# - USER-AGENT,Prime%20Video*
|
||||
|
||||
- DOMAIN-KEYWORD,avoddashs
|
||||
|
||||
- DOMAIN-SUFFIX,aiv-cdn.net
|
||||
- DOMAIN-SUFFIX,aiv-delivery.net
|
||||
- DOMAIN-SUFFIX,amazonprimevideos.com
|
||||
- DOMAIN-SUFFIX,amazonvideo.cc
|
||||
- DOMAIN-SUFFIX,amazonvideo.com
|
||||
- DOMAIN-SUFFIX,amazonvideodirect.cc
|
||||
- DOMAIN-SUFFIX,atv-ext.amazon.com
|
||||
- DOMAIN-SUFFIX,atv-ext-eu.amazon.com
|
||||
- DOMAIN-SUFFIX,atv-ext-fe.amazon.com
|
||||
- DOMAIN-SUFFIX,atv-ps.amazon.com
|
||||
- DOMAIN-SUFFIX,atv-ps-eu.amazon.co.uk
|
||||
- DOMAIN-SUFFIX,atv-ps-eu.amazon.com
|
||||
- DOMAIN-SUFFIX,atv-ps-fe.amazon.co.jp
|
||||
- DOMAIN-SUFFIX,atv-ps-fe.amazon.com
|
||||
- DOMAIN-SUFFIX,fls-na.amazon.com
|
||||
- DOMAIN-SUFFIX,media-amazon.com
|
||||
- DOMAIN-SUFFIX,primevideo.cc
|
||||
- DOMAIN-SUFFIX,primevideo.com
|
||||
- DOMAIN-SUFFIX,prime-video.com
|
||||
- DOMAIN-SUFFIX,primevideo.info
|
||||
- DOMAIN-SUFFIX,primevideo.org
|
||||
- DOMAIN-SUFFIX,primevideo.tv
|
||||
- DOMAIN-SUFFIX,pv-cdn.net
|
||||
- DOMAIN-SUFFIX,video.a2z.com
|
||||
|
||||
- DOMAIN,avodmp4s3ww-a.akamaihd.net
|
||||
- DOMAIN,d1v5ir2lpwr8os.cloudfront.net
|
||||
- DOMAIN,d1y002tclu9djj.cloudfront.net
|
||||
- DOMAIN,d22qjgkvxw22r6.cloudfront.net
|
||||
- DOMAIN,d25xi40x97liuc.cloudfront.net
|
||||
- DOMAIN,dmqdd6hw24ucf.cloudfront.net
|
||||
- DOMAIN,d27xxe7juh1us6.cloudfront.net
|
||||
|
||||
- DOMAIN,dualstack.pefs-alb-266603904.eu-west-1.elb.amazonaws.com
|
||||
|
||||
# // 美区网页版需二选一走代理,如 URL-REGEX 则需 MITM www.amazon.com
|
||||
# // DOMAIN,www.amazon.com
|
||||
# URL-REGEX,^https?:\/\/www\.amazon\.com\/(Amazon-Video|gp\/video)\/
|
33
luci-app-openclash/root/etc/openclash/rule_provider/Apple
Normal file
33
luci-app-openclash/root/etc/openclash/rule_provider/Apple
Normal file
@ -0,0 +1,33 @@
|
||||
payload:
|
||||
# > Apple API
|
||||
- DOMAIN-KEYWORD,apple.com.akadns.net
|
||||
- DOMAIN-KEYWORD,icloud.com.akadns.net
|
||||
- DOMAIN-SUFFIX,aaplimg.com
|
||||
- DOMAIN-SUFFIX,apple.co
|
||||
- DOMAIN-SUFFIX,apple.com
|
||||
- DOMAIN-SUFFIX,apple-cloudkit.com
|
||||
- DOMAIN-SUFFIX,apple-mapkit.com
|
||||
- DOMAIN-SUFFIX,appsto.re
|
||||
- DOMAIN-SUFFIX,cdn-apple.com
|
||||
- DOMAIN-SUFFIX,icloud.com
|
||||
- DOMAIN-SUFFIX,icloud-content.com
|
||||
- DOMAIN-SUFFIX,itunes.com
|
||||
- DOMAIN-SUFFIX,me.com
|
||||
- DOMAIN-SUFFIX,mzstatic.com
|
||||
- IP-CIDR,17.0.0.0/8,no-resolve
|
||||
- IP-CIDR,63.92.224.0/19,no-resolve
|
||||
- IP-CIDR,65.199.22.0/23,no-resolve
|
||||
- IP-CIDR,139.178.128.0/18,no-resolve
|
||||
- IP-CIDR,144.178.0.0/19,no-resolve
|
||||
- IP-CIDR,144.178.36.0/22,no-resolve
|
||||
- IP-CIDR,144.178.48.0/20,no-resolve
|
||||
- IP-CIDR,192.35.50.0/24,no-resolve
|
||||
- IP-CIDR,198.183.17.0/24,no-resolve
|
||||
- IP-CIDR,205.180.175.0/24,no-resolve
|
||||
|
||||
# > Apple News
|
||||
- DOMAIN-SUFFIX,apple.comscoreresearch.com
|
||||
- DOMAIN-SUFFIX,apple.news
|
||||
|
||||
# > Apple Maps
|
||||
- PROCESS-NAME,com.apple.geod
|
@ -0,0 +1,16 @@
|
||||
payload:
|
||||
# > Apple Music
|
||||
# - USER-AGENT,Music*
|
||||
- PROCESS-NAME,music
|
||||
- DOMAIN-SUFFIX,applemusic.com
|
||||
- DOMAIN-SUFFIX,blobstore.apple.com
|
||||
- DOMAIN-SUFFIX,music.apple.com
|
||||
- DOMAIN,aod.itunes.apple.com
|
||||
- DOMAIN,aod-ssl.itunes.apple.com
|
||||
- DOMAIN,audio.itunes.apple.com
|
||||
- DOMAIN,audio-ssl.itunes.apple.com
|
||||
- DOMAIN,mvod.itunes.apple.com
|
||||
- DOMAIN,streamingaudio.itunes.apple.com
|
||||
|
||||
# iCloud Music Library
|
||||
- DOMAIN-SUFFIX,blobstore.apple.com
|
@ -0,0 +1,12 @@
|
||||
payload:
|
||||
# > Apple News and Apple Map TOMTOM Version
|
||||
# - USER-AGENT,AppleNews*
|
||||
# - USER-AGENT,com.apple.news*
|
||||
- DOMAIN,gspe1-ssl.ls.apple.com
|
||||
# - USER-AGENT,News*
|
||||
# - DOMAIN,apple.comscoreresearch.com
|
||||
# - DOMAIN,gateway.icloud.com
|
||||
# - DOMAIN,news-client.apple.com
|
||||
# - DOMAIN,news-edge.apple.com
|
||||
# - DOMAIN,news-events.apple.com
|
||||
# - DOMAIN-SUFFIX,apple.news
|
@ -0,0 +1,5 @@
|
||||
payload:
|
||||
# > Apple TV
|
||||
- DOMAIN,np-edge.itunes.apple.com
|
||||
- DOMAIN,play-edge.itunes.apple.com
|
||||
- DOMAIN-SUFFIX,tv.apple.com
|
@ -0,0 +1,15 @@
|
||||
payload:
|
||||
# > BBC iPlayer
|
||||
- PROCESS-NAME,bbc.iplayer.android
|
||||
- DOMAIN-KEYWORD,bbcfmt
|
||||
- DOMAIN,aod-dash-uk-live.akamaized.net
|
||||
- DOMAIN,aod-hls-uk-live.akamaized.net
|
||||
- DOMAIN,vod-dash-uk-live.akamaized.net
|
||||
- DOMAIN,vod-thumb-uk-live.akamaized.net
|
||||
- DOMAIN-SUFFIX,bbc.co
|
||||
- DOMAIN-SUFFIX,bbc.co.uk
|
||||
- DOMAIN-SUFFIX,bbc.com
|
||||
- DOMAIN-SUFFIX,bbcfmt.hs.llnwd.net
|
||||
- DOMAIN-SUFFIX,bbci.co
|
||||
- DOMAIN-SUFFIX,bbci.co.uk
|
||||
- DOMAIN-SUFFIX,bidi.net.uk
|
@ -0,0 +1,8 @@
|
||||
payload:
|
||||
# > Bahamut
|
||||
# - USER-AGENT,Anime*
|
||||
- PROCESS-NAME,tw.com.gamer.android.animad
|
||||
- DOMAIN-SUFFIX,bahamut.com.tw
|
||||
- DOMAIN-SUFFIX,gamer.com.tw
|
||||
- DOMAIN,gamer-cds.cdn.hinet.net
|
||||
- DOMAIN,gamer2-cds.cdn.hinet.net
|
16
luci-app-openclash/root/etc/openclash/rule_provider/Bilibili
Normal file
16
luci-app-openclash/root/etc/openclash/rule_provider/Bilibili
Normal file
@ -0,0 +1,16 @@
|
||||
payload:
|
||||
# > Bilibili
|
||||
# - USER-AGENT,bili*
|
||||
- DOMAIN-SUFFIX,acg.tv
|
||||
- DOMAIN-SUFFIX,acgvideo.com
|
||||
- DOMAIN-SUFFIX,b23.tv
|
||||
- DOMAIN-SUFFIX,bilibili.com
|
||||
- DOMAIN-SUFFIX,bilibili.tv
|
||||
- DOMAIN-SUFFIX,biliapi.net
|
||||
- DOMAIN-SUFFIX,biliapi.com
|
||||
- DOMAIN-SUFFIX,bilivideo.com
|
||||
- DOMAIN-SUFFIX,hdslb.com
|
||||
- DOMAIN,upos-hz-mirrorakam.akamaized.net
|
||||
# Hong Kong, Macau, Taiwan
|
||||
# - USER-AGENT,bili-inter*
|
||||
- DOMAIN,apiintl.biliapi.net
|
@ -0,0 +1,3 @@
|
||||
payload:
|
||||
# > ChatGPT
|
||||
- DOMAIN-SUFFIX,openai.com
|
366
luci-app-openclash/root/etc/openclash/rule_provider/China.yaml
Normal file
366
luci-app-openclash/root/etc/openclash/rule_provider/China.yaml
Normal file
@ -0,0 +1,366 @@
|
||||
payload:
|
||||
# China Area Network
|
||||
# > 360
|
||||
- DOMAIN-SUFFIX,qhres.com
|
||||
- DOMAIN-SUFFIX,qhimg.com
|
||||
# > Alibaba
|
||||
# USER-AGENT,%E4%BC%98%E9%85%B7*
|
||||
- DOMAIN-SUFFIX,alibaba.com
|
||||
- DOMAIN-SUFFIX,alibabausercontent.com
|
||||
- DOMAIN-SUFFIX,alicdn.com
|
||||
- DOMAIN-SUFFIX,alikunlun.com
|
||||
- DOMAIN-SUFFIX,alipay.com
|
||||
- DOMAIN-SUFFIX,amap.com
|
||||
- DOMAIN-SUFFIX,autonavi.com
|
||||
- DOMAIN-SUFFIX,dingtalk.com
|
||||
- DOMAIN-SUFFIX,mxhichina.com
|
||||
- DOMAIN-SUFFIX,soku.com
|
||||
- DOMAIN-SUFFIX,taobao.com
|
||||
- DOMAIN-SUFFIX,tmall.com
|
||||
- DOMAIN-SUFFIX,tmall.hk
|
||||
- DOMAIN-SUFFIX,ykimg.com
|
||||
- DOMAIN-SUFFIX,youku.com
|
||||
- DOMAIN-SUFFIX,xiami.com
|
||||
- DOMAIN-SUFFIX,xiami.net
|
||||
# > Apple
|
||||
- DOMAIN-SUFFIX,aaplimg.com
|
||||
- DOMAIN-SUFFIX,apple.co
|
||||
- DOMAIN-SUFFIX,apple.com
|
||||
- DOMAIN-SUFFIX,apple-cloudkit.com
|
||||
- DOMAIN-SUFFIX,appstore.com
|
||||
- DOMAIN-SUFFIX,cdn-apple.com
|
||||
- DOMAIN-SUFFIX,icloud.com
|
||||
- DOMAIN-SUFFIX,icloud-content.com
|
||||
- DOMAIN-SUFFIX,me.com
|
||||
- DOMAIN-SUFFIX,mzstatic.com
|
||||
# - DOMAIN-KEYWORD,apple.com.akadns.net
|
||||
# - DOMAIN-KEYWORD,icloud.com.akadns.net
|
||||
# > Baidu
|
||||
- DOMAIN-SUFFIX,baidu.com
|
||||
- DOMAIN-SUFFIX,baidubcr.com
|
||||
- DOMAIN-SUFFIX,baidupan.com
|
||||
- DOMAIN-SUFFIX,baidupcs.com
|
||||
- DOMAIN-SUFFIX,bdimg.com
|
||||
- DOMAIN-SUFFIX,bdstatic.com
|
||||
- DOMAIN-SUFFIX,yunjiasu-cdn.net
|
||||
# > Battle
|
||||
- DOMAIN-SUFFIX,battle.net
|
||||
- DOMAIN-SUFFIX,blizzard.com
|
||||
# > bilibili
|
||||
- DOMAIN-SUFFIX,acgvideo.com
|
||||
- DOMAIN-SUFFIX,biliapi.com
|
||||
- DOMAIN-SUFFIX,biliapi.net
|
||||
- DOMAIN-SUFFIX,bilibili.com
|
||||
- DOMAIN-SUFFIX,bilibili.tv
|
||||
- DOMAIN-SUFFIX,hdslb.com
|
||||
# > ByteDance
|
||||
- DOMAIN-SUFFIX,feiliao.com
|
||||
- DOMAIN-SUFFIX,pstatp.com
|
||||
- DOMAIN-SUFFIX,snssdk.com
|
||||
- DOMAIN-SUFFIX,iesdouyin.com
|
||||
- DOMAIN-SUFFIX,toutiao.com
|
||||
# > CCTV
|
||||
- DOMAIN-SUFFIX,cctv.com
|
||||
- DOMAIN-SUFFIX,cctvpic.com
|
||||
- DOMAIN-SUFFIX,livechina.com
|
||||
# > ChinaTelecom
|
||||
- DOMAIN-SUFFIX,21cn.com
|
||||
# > DiDi
|
||||
- DOMAIN-SUFFIX,didialift.com
|
||||
- DOMAIN-SUFFIX,didiglobal.com
|
||||
- DOMAIN-SUFFIX,udache.com
|
||||
# > HunanTV
|
||||
- DOMAIN-SUFFIX,hitv.com
|
||||
- DOMAIN-SUFFIX,mgtv.com
|
||||
# > iQiyi
|
||||
- DOMAIN-SUFFIX,iqiyi.com
|
||||
- DOMAIN-SUFFIX,iqiyipic.com
|
||||
- DOMAIN-SUFFIX,71.am
|
||||
# > JD
|
||||
- DOMAIN-SUFFIX,jd.com
|
||||
- DOMAIN-SUFFIX,jd.hk
|
||||
- DOMAIN-SUFFIX,jdpay.com
|
||||
- DOMAIN-SUFFIX,360buyimg.com
|
||||
# > Kingsoft
|
||||
- DOMAIN-SUFFIX,iciba.com
|
||||
- DOMAIN-SUFFIX,ksosoft.com
|
||||
# > Meitu
|
||||
- DOMAIN-SUFFIX,meitu.com
|
||||
- DOMAIN-SUFFIX,meitudata.com
|
||||
- DOMAIN-SUFFIX,meitustat.com
|
||||
- DOMAIN-SUFFIX,meipai.com
|
||||
# > Meituan
|
||||
- DOMAIN-SUFFIX,dianping.com
|
||||
- DOMAIN-SUFFIX,dpfile.com
|
||||
- DOMAIN-SUFFIX,meituan.com
|
||||
- DOMAIN-SUFFIX,meituan.net
|
||||
# > MI
|
||||
- DOMAIN-SUFFIX,duokan.com
|
||||
- DOMAIN-SUFFIX,mi.com
|
||||
- DOMAIN-SUFFIX,mi-img.com
|
||||
- DOMAIN-SUFFIX,miui.com
|
||||
- DOMAIN-SUFFIX,miwifi.com
|
||||
- DOMAIN-SUFFIX,xiaomi.com
|
||||
- DOMAIN-SUFFIX,xiaomi.net
|
||||
# > Microsoft
|
||||
# - DOMAIN-SUFFIX,microsoft.com
|
||||
# - DOMAIN-SUFFIX,msecnd.net
|
||||
# - DOMAIN-SUFFIX,office.com
|
||||
# - DOMAIN-SUFFIX,office365.com
|
||||
# - DOMAIN-SUFFIX,s-microsoft.com
|
||||
# - DOMAIN-SUFFIX,windows.com
|
||||
- DOMAIN-SUFFIX,visualstudio.com
|
||||
# >> Microsoft Software Download
|
||||
# - DOMAIN,software-download.microsoft.com
|
||||
# - DOMAIN-KEYWORD,-microsoft-com.akamaized.net
|
||||
# >> OneDrive
|
||||
# - DOMAIN-SUFFIX,1drv.com
|
||||
# - DOMAIN-SUFFIX,storage.live.com
|
||||
# >> Outlook
|
||||
- DOMAIN-SUFFIX,hotmail.com
|
||||
- DOMAIN-SUFFIX,outlook.com
|
||||
- DOMAIN,outlook.office365.com
|
||||
- DOMAIN,smtp.office365.com
|
||||
# >> Windows Server Update Services
|
||||
- DOMAIN-SUFFIX,dl.delivery.mp.microsoft.com
|
||||
- DOMAIN-SUFFIX,update.microsoft.com
|
||||
- DOMAIN-SUFFIX,windowsupdate.com
|
||||
- DOMAIN-SUFFIX,windowsupdate.microsoft.com
|
||||
- DOMAIN,download.microsoft.com
|
||||
- DOMAIN,wustat.windows.com
|
||||
- DOMAIN,ntservicepack.microsoft.com
|
||||
# > NetEase
|
||||
# USER-AGENT,NeteaseMusic*
|
||||
# USER-AGENT,%E7%BD%91%E6%98%93%E4%BA%91%E9%9F%B3%E4%B9%90*
|
||||
- DOMAIN-SUFFIX,163.com
|
||||
- DOMAIN-SUFFIX,126.com
|
||||
- DOMAIN-SUFFIX,126.net
|
||||
- DOMAIN-SUFFIX,127.net
|
||||
- DOMAIN-SUFFIX,163yun.com
|
||||
- DOMAIN-SUFFIX,lofter.com
|
||||
- DOMAIN-SUFFIX,netease.com
|
||||
- DOMAIN-SUFFIX,ydstatic.com
|
||||
- DOMAIN-SUFFIX,youdao.com
|
||||
# > PayPal
|
||||
# USER-AGENT,PayPal*
|
||||
- DOMAIN-SUFFIX,paypal.com
|
||||
- DOMAIN-SUFFIX,paypal.me
|
||||
- DOMAIN-SUFFIX,paypalobjects.com
|
||||
# > Sina
|
||||
- DOMAIN-SUFFIX,sina.com
|
||||
- DOMAIN-SUFFIX,weibo.com
|
||||
- DOMAIN-SUFFIX,weibocdn.com
|
||||
# > Sohu
|
||||
- DOMAIN-SUFFIX,sohu.com
|
||||
- DOMAIN-SUFFIX,sohucs.com
|
||||
- DOMAIN-SUFFIX,sohu-inc.com
|
||||
- DOMAIN-SUFFIX,v-56.com
|
||||
# > Sogo
|
||||
- DOMAIN-SUFFIX,sogo.com
|
||||
- DOMAIN-SUFFIX,sogou.com
|
||||
- DOMAIN-SUFFIX,sogoucdn.com
|
||||
# > Steam
|
||||
- DOMAIN-SUFFIX,steamcontent.com
|
||||
- DOMAIN-SUFFIX,steampowered.com
|
||||
- DOMAIN-SUFFIX,steamstatic.com
|
||||
# > Tencent
|
||||
# USER-AGENT,MicroMessenger*
|
||||
# USER-AGENT,WeChat*
|
||||
# USER-AGENT,%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1*
|
||||
- DOMAIN-SUFFIX,gtimg.com
|
||||
- DOMAIN-SUFFIX,idqqimg.com
|
||||
- DOMAIN-SUFFIX,igamecj.com
|
||||
- DOMAIN-SUFFIX,myapp.com
|
||||
- DOMAIN-SUFFIX,myqcloud.com
|
||||
- DOMAIN-SUFFIX,qq.com
|
||||
- DOMAIN-SUFFIX,qqmail.com
|
||||
- DOMAIN-SUFFIX,servicewechat.com
|
||||
- DOMAIN-SUFFIX,tencent.com
|
||||
- DOMAIN-SUFFIX,tencent-cloud.com
|
||||
- DOMAIN-SUFFIX,tencent-cloud.net
|
||||
- DOMAIN-SUFFIX,tenpay.com
|
||||
- DOMAIN-SUFFIX,wechat.com
|
||||
- DOMAIN,file-igamecj.akamaized.net
|
||||
- IP-CIDR,182.254.116.0/24,no-resolve
|
||||
- IP-CIDR,203.205.254.0/23,no-resolve
|
||||
# > Content Delivery Network
|
||||
- DOMAIN-SUFFIX,ccgslb.com
|
||||
- DOMAIN-SUFFIX,ccgslb.net
|
||||
- DOMAIN-SUFFIX,chinanetcenter.com
|
||||
- DOMAIN-SUFFIX,meixincdn.com
|
||||
- DOMAIN-SUFFIX,ourdvs.com
|
||||
- DOMAIN-SUFFIX,staticdn.net
|
||||
- DOMAIN-SUFFIX,wangsu.com
|
||||
# > IP Query
|
||||
- DOMAIN-SUFFIX,ipip.net
|
||||
- DOMAIN-SUFFIX,ip.la
|
||||
- DOMAIN-SUFFIX,ip.sb
|
||||
- DOMAIN-SUFFIX,ip-cdn.com
|
||||
- DOMAIN-SUFFIX,ipv6-test.com
|
||||
- DOMAIN-SUFFIX,myip.la
|
||||
- DOMAIN-SUFFIX,test-ipv6.com
|
||||
- DOMAIN-SUFFIX,whatismyip.com
|
||||
- DOMAIN,ip.istatmenus.app
|
||||
- DOMAIN,sms.imagetasks.com
|
||||
# > Speed Test
|
||||
# - DOMAIN-SUFFIX,speedtest.net
|
||||
- DOMAIN-SUFFIX,netspeedtestmaster.com
|
||||
- DOMAIN,speedtest.macpaw.com
|
||||
# > Private Tracker
|
||||
- DOMAIN-SUFFIX,acg.rip
|
||||
- DOMAIN-SUFFIX,animebytes.tv
|
||||
- DOMAIN-SUFFIX,awesome-hd.me
|
||||
- DOMAIN-SUFFIX,broadcasthe.net
|
||||
- DOMAIN-SUFFIX,chdbits.co
|
||||
- DOMAIN-SUFFIX,classix-unlimited.co.uk
|
||||
- DOMAIN-SUFFIX,comicat.org
|
||||
- DOMAIN-SUFFIX,empornium.me
|
||||
- DOMAIN-SUFFIX,gazellegames.net
|
||||
- DOMAIN-SUFFIX,hdbits.org
|
||||
- DOMAIN-SUFFIX,hdchina.org
|
||||
- DOMAIN-SUFFIX,hddolby.com
|
||||
- DOMAIN-SUFFIX,hdhome.org
|
||||
- DOMAIN-SUFFIX,hdsky.me
|
||||
- DOMAIN-SUFFIX,icetorrent.org
|
||||
- DOMAIN-SUFFIX,jpopsuki.eu
|
||||
- DOMAIN-SUFFIX,keepfrds.com
|
||||
- DOMAIN-SUFFIX,madsrevolution.net
|
||||
- DOMAIN-SUFFIX,morethan.tv
|
||||
- DOMAIN-SUFFIX,m-team.cc
|
||||
- DOMAIN-SUFFIX,myanonamouse.net
|
||||
- DOMAIN-SUFFIX,nanyangpt.com
|
||||
- DOMAIN-SUFFIX,ncore.cc
|
||||
- DOMAIN-SUFFIX,open.cd
|
||||
- DOMAIN-SUFFIX,ourbits.club
|
||||
- DOMAIN-SUFFIX,passthepopcorn.me
|
||||
- DOMAIN-SUFFIX,privatehd.to
|
||||
- DOMAIN-SUFFIX,pterclub.com
|
||||
- DOMAIN-SUFFIX,redacted.ch
|
||||
- DOMAIN-SUFFIX,springsunday.net
|
||||
- DOMAIN-SUFFIX,tjupt.org
|
||||
- DOMAIN-SUFFIX,totheglory.im
|
||||
# > Other
|
||||
- DOMAIN-SUFFIX,cn
|
||||
- DOMAIN-SUFFIX,115.com
|
||||
- DOMAIN-SUFFIX,360in.com
|
||||
- DOMAIN-SUFFIX,51ym.me
|
||||
- DOMAIN-SUFFIX,8686c.com
|
||||
- DOMAIN-SUFFIX,99.com
|
||||
- DOMAIN-SUFFIX,abchina.com
|
||||
- DOMAIN-SUFFIX,accuweather.com
|
||||
- DOMAIN-SUFFIX,agora.io
|
||||
- DOMAIN-SUFFIX,aicoinstorge.com
|
||||
- DOMAIN-SUFFIX,air-matters.com
|
||||
- DOMAIN-SUFFIX,air-matters.io
|
||||
- DOMAIN-SUFFIX,aixifan.com
|
||||
- DOMAIN-SUFFIX,amd.com
|
||||
- DOMAIN-SUFFIX,b612.net
|
||||
- DOMAIN-SUFFIX,bdatu.com
|
||||
- DOMAIN-SUFFIX,beitaichufang.com
|
||||
- DOMAIN-SUFFIX,booking.com
|
||||
- DOMAIN-SUFFIX,bstatic.com
|
||||
- DOMAIN-SUFFIX,cailianpress.com
|
||||
- DOMAIN-SUFFIX,camera360.com
|
||||
- DOMAIN-SUFFIX,chaoxing.com
|
||||
- DOMAIN-SUFFIX,chaoxing.com
|
||||
- DOMAIN-SUFFIX,chinaso.com
|
||||
- DOMAIN-SUFFIX,chuimg.com
|
||||
- DOMAIN-SUFFIX,chunyu.mobi
|
||||
- DOMAIN-SUFFIX,cibntv.net
|
||||
- DOMAIN-SUFFIX,cmbchina.com
|
||||
- DOMAIN-SUFFIX,cmbimg.com
|
||||
- DOMAIN-SUFFIX,coolapk.com
|
||||
- DOMAIN-SUFFIX,ctrip.com
|
||||
- DOMAIN-SUFFIX,dfcfw.com
|
||||
- DOMAIN-SUFFIX,dji.net
|
||||
- DOMAIN-SUFFIX,docschina.org
|
||||
- DOMAIN-SUFFIX,douban.com
|
||||
- DOMAIN-SUFFIX,doubanio.com
|
||||
- DOMAIN-SUFFIX,douyu.com
|
||||
- DOMAIN-SUFFIX,dxycdn.com
|
||||
- DOMAIN-SUFFIX,dytt8.net
|
||||
- DOMAIN-SUFFIX,eastmoney.com
|
||||
- DOMAIN-SUFFIX,eudic.net
|
||||
- DOMAIN-SUFFIX,feng.com
|
||||
- DOMAIN-SUFFIX,fengkongcloud.com
|
||||
- DOMAIN-SUFFIX,frdic.com
|
||||
- DOMAIN-SUFFIX,futu5.com
|
||||
- DOMAIN-SUFFIX,futunn.com
|
||||
- DOMAIN-SUFFIX,gandi.net
|
||||
- DOMAIN-SUFFIX,gcores.com
|
||||
- DOMAIN-SUFFIX,geilicdn.com
|
||||
- DOMAIN-SUFFIX,getpricetag.com
|
||||
- DOMAIN-SUFFIX,gifshow.com
|
||||
- DOMAIN-SUFFIX,godic.net
|
||||
- DOMAIN-SUFFIX,heweather.net
|
||||
- DOMAIN-SUFFIX,hicloud.com
|
||||
- DOMAIN-SUFFIX,hongxiu.com
|
||||
- DOMAIN-SUFFIX,hostbuf.com
|
||||
- DOMAIN-SUFFIX,huxiucdn.com
|
||||
- DOMAIN-SUFFIX,huya.com
|
||||
- DOMAIN-SUFFIX,ibm.com
|
||||
- DOMAIN-SUFFIX,infinitynewtab.com
|
||||
- DOMAIN-SUFFIX,ithome.com
|
||||
- DOMAIN-SUFFIX,java.com
|
||||
- DOMAIN-SUFFIX,jianguoyun.com
|
||||
- DOMAIN-SUFFIX,jianshu.com
|
||||
- DOMAIN-SUFFIX,jianshu.io
|
||||
- DOMAIN-SUFFIX,jidian.im
|
||||
- DOMAIN-SUFFIX,kaiyanapp.com
|
||||
- DOMAIN-SUFFIX,kaspersky-labs.com
|
||||
- DOMAIN-SUFFIX,keepcdn.com
|
||||
- DOMAIN-SUFFIX,kkmh.com
|
||||
- DOMAIN-SUFFIX,lanzous.com
|
||||
- DOMAIN-SUFFIX,luojilab.com
|
||||
- DOMAIN-SUFFIX,maoyan.com
|
||||
- DOMAIN-SUFFIX,maoyun.tv
|
||||
- DOMAIN-SUFFIX,mls-cdn.com
|
||||
- DOMAIN-SUFFIX,mobike.com
|
||||
- DOMAIN-SUFFIX,moke.com
|
||||
- DOMAIN-SUFFIX,mubu.com
|
||||
- DOMAIN-SUFFIX,myzaker.com
|
||||
- DOMAIN-SUFFIX,nim-lang-cn.org
|
||||
- DOMAIN-SUFFIX,ntp.org
|
||||
- DOMAIN-SUFFIX,nvidia.com
|
||||
- DOMAIN-SUFFIX,oracle.com
|
||||
- DOMAIN-SUFFIX,plex.tv
|
||||
- DOMAIN-SUFFIX,qidian.com
|
||||
- DOMAIN-SUFFIX,qweather.com
|
||||
- DOMAIN-SUFFIX,qyer.com
|
||||
- DOMAIN-SUFFIX,qyerstatic.com
|
||||
- DOMAIN-SUFFIX,raychase.net
|
||||
- DOMAIN-SUFFIX,ronghub.com
|
||||
- DOMAIN-SUFFIX,ruguoapp.com
|
||||
- DOMAIN-SUFFIX,sankuai.com
|
||||
- DOMAIN-SUFFIX,scomper.me
|
||||
- DOMAIN-SUFFIX,shouqianba.com
|
||||
- DOMAIN-SUFFIX,sm.ms
|
||||
- DOMAIN-SUFFIX,smzdm.com
|
||||
- DOMAIN-SUFFIX,snapdrop.net
|
||||
- DOMAIN-SUFFIX,snwx.com
|
||||
- DOMAIN-SUFFIX,s-reader.com
|
||||
- DOMAIN-SUFFIX,sspai.com
|
||||
- DOMAIN-SUFFIX,subhd.tv
|
||||
- DOMAIN-SUFFIX,takungpao.com
|
||||
- DOMAIN-SUFFIX,teamviewer.com
|
||||
- DOMAIN-SUFFIX,tianyancha.com
|
||||
- DOMAIN-SUFFIX,tophub.today
|
||||
- DOMAIN-SUFFIX,uning.com
|
||||
- DOMAIN-SUFFIX,weather.com
|
||||
- DOMAIN-SUFFIX,weico.cc
|
||||
- DOMAIN-SUFFIX,weidian.com
|
||||
- DOMAIN-SUFFIX,xiachufang.com
|
||||
- DOMAIN-SUFFIX,xiaoka.tv
|
||||
- DOMAIN-SUFFIX,ximalaya.com
|
||||
- DOMAIN-SUFFIX,xinhuanet.com
|
||||
- DOMAIN-SUFFIX,xmcdn.com
|
||||
- DOMAIN-SUFFIX,yangkeduo.com
|
||||
- DOMAIN-SUFFIX,yizhibo.com
|
||||
- DOMAIN-SUFFIX,zhangzishi.cc
|
||||
- DOMAIN-SUFFIX,zhihu.com
|
||||
- DOMAIN-SUFFIX,zhihuishu.com
|
||||
- DOMAIN-SUFFIX,zhimg.com
|
||||
- DOMAIN-SUFFIX,zhuihd.com
|
||||
|
||||
- DOMAIN,download.jetbrains.com
|
||||
- DOMAIN,images-cn.ssl-images-amazon.com
|
6126
luci-app-openclash/root/etc/openclash/rule_provider/ChinaIP.yaml
Normal file
6126
luci-app-openclash/root/etc/openclash/rule_provider/ChinaIP.yaml
Normal file
File diff suppressed because it is too large
Load Diff
300
luci-app-openclash/root/etc/openclash/rule_provider/Crypto
Normal file
300
luci-app-openclash/root/etc/openclash/rule_provider/Crypto
Normal file
@ -0,0 +1,300 @@
|
||||
payload:
|
||||
# > Forum
|
||||
- DOMAIN-SUFFIX,bitcointalk.org
|
||||
|
||||
# > Exchange
|
||||
- DOMAIN-SUFFIX,aex.com
|
||||
- DOMAIN-SUFFIX,bibox.com
|
||||
- DOMAIN-SUFFIX,bitfinex.com
|
||||
- DOMAIN-SUFFIX,bithumb.com
|
||||
- DOMAIN-SUFFIX,bitmex.com
|
||||
- DOMAIN-SUFFIX,bitstamp.net
|
||||
- DOMAIN-SUFFIX,bittrex.com
|
||||
- DOMAIN-SUFFIX,bybit.com
|
||||
- DOMAIN-SUFFIX,coinbase.com
|
||||
- DOMAIN-SUFFIX,coincheck.com
|
||||
- DOMAIN-SUFFIX,coinone.co.kr
|
||||
- DOMAIN-SUFFIX,gemini.com
|
||||
- DOMAIN-SUFFIX,korbit.co.kr
|
||||
- DOMAIN-SUFFIX,kraken.com
|
||||
- DOMAIN-SUFFIX,kucoin.com
|
||||
- DOMAIN-SUFFIX,liquid.com
|
||||
- DOMAIN-SUFFIX,poloniex.com
|
||||
- DOMAIN-SUFFIX,bitbank.cc
|
||||
- DOMAIN-SUFFIX,bitcoin.org
|
||||
- DOMAIN-SUFFIX,bitquick.co
|
||||
- DOMAIN-SUFFIX,btcbox.co.jp
|
||||
- DOMAIN-SUFFIX,cex.io
|
||||
- DOMAIN-SUFFIX,dogecoin.com
|
||||
- DOMAIN-SUFFIX,paxful.com
|
||||
- DOMAIN-SUFFIX,tether.to
|
||||
- DOMAIN-SUFFIX,dydx.exchange
|
||||
- DOMAIN-SUFFIX,solana.com
|
||||
- DOMAIN-SUFFIX,avax.network
|
||||
- DOMAIN-SUFFIX,optimism.io
|
||||
- DOMAIN-SUFFIX,arbitrum.io
|
||||
- DOMAIN-SUFFIX,poly.network
|
||||
- DOMAIN-SUFFIX,zkscan.io
|
||||
- DOMAIN-SUFFIX,zksync.io
|
||||
- DOMAIN-SUFFIX,boba.network
|
||||
|
||||
# > Binance
|
||||
- DOMAIN-SUFFIX,binance.cc
|
||||
- DOMAIN-SUFFIX,binance.cloud
|
||||
- DOMAIN-SUFFIX,binance.com
|
||||
- DOMAIN-SUFFIX,binance.im
|
||||
- DOMAIN-SUFFIX,binance.me
|
||||
- DOMAIN-SUFFIX,binance.us
|
||||
- DOMAIN-SUFFIX,bnappzh.co
|
||||
- DOMAIN-SUFFIX,bnappzh.com
|
||||
- DOMAIN-SUFFIX,bnbstatic.com
|
||||
- DOMAIN-SUFFIX,bntrace.com
|
||||
- DOMAIN-SUFFIX,binance.charity
|
||||
- DOMAIN-SUFFIX,binance.co
|
||||
- DOMAIN-SUFFIX,binance.info
|
||||
- DOMAIN-SUFFIX,binance.net
|
||||
- DOMAIN-SUFFIX,binance.org
|
||||
- DOMAIN-SUFFIX,binance.vision
|
||||
- DOMAIN-SUFFIX,binanceapi.com
|
||||
- DOMAIN-SUFFIX,binancezh.be
|
||||
- DOMAIN-SUFFIX,binancezh.biz
|
||||
- DOMAIN-SUFFIX,binancezh.cc
|
||||
- DOMAIN-SUFFIX,binancezh.co
|
||||
- DOMAIN-SUFFIX,binancezh.com
|
||||
- DOMAIN-SUFFIX,binancezh.info
|
||||
- DOMAIN-SUFFIX,binancezh.ink
|
||||
- DOMAIN-SUFFIX,binancezh.kim
|
||||
- DOMAIN-SUFFIX,binancezh.link
|
||||
- DOMAIN-SUFFIX,binancezh.live
|
||||
- DOMAIN-SUFFIX,binancezh.mobi
|
||||
- DOMAIN-SUFFIX,binancezh.net
|
||||
- DOMAIN-SUFFIX,binancezh.pro
|
||||
- DOMAIN-SUFFIX,binancezh.sh
|
||||
- DOMAIN-SUFFIX,binancezh.top
|
||||
- DOMAIN-SUFFIX,bnappzh.mobi
|
||||
- DOMAIN-SUFFIX,bsc.getblock.io
|
||||
- DOMAIN-SUFFIX,bscscan.com
|
||||
- PROCESS-NAME,Binance.exe
|
||||
- DOMAIN-KEYWORD,binance
|
||||
|
||||
# > Huobi
|
||||
- DOMAIN-SUFFIX,hbabit.com
|
||||
- DOMAIN-SUFFIX,hbfile.net
|
||||
- DOMAIN-SUFFIX,huobi.com
|
||||
- DOMAIN-SUFFIX,huobi.me
|
||||
- DOMAIN-SUFFIX,huobi.pro
|
||||
- DOMAIN-SUFFIX,huobi.sc
|
||||
- DOMAIN-SUFFIX,huobiasia.vip
|
||||
- DOMAIN-SUFFIX,huobigroup.com
|
||||
- DOMAIN-SUFFIX,huobitoken.com
|
||||
- DOMAIN-SUFFIX,heco-scan.com
|
||||
- DOMAIN-SUFFIX,hecoview.com
|
||||
- DOMAIN-SUFFIX,hbfile.net
|
||||
- DOMAIN-SUFFIX,huobi.br.com
|
||||
- DOMAIN-SUFFIX,bitderiv.com
|
||||
- DOMAIN-SUFFIX,hecochain.com
|
||||
- DOMAIN-SUFFIX,huobi.ws
|
||||
- DOMAIN-SUFFIX,huobi.ug
|
||||
- DOMAIN-SUFFIX,huobi.co.ma
|
||||
- DOMAIN-SUFFIX,huobi.br.com
|
||||
- PROCESS-NAME,Huobi.exe
|
||||
- DOMAIN-KEYWORD,huobi
|
||||
|
||||
# > OKX
|
||||
- DOMAIN-SUFFIX,okex.com
|
||||
- DOMAIN-SUFFIX,okx.com
|
||||
- PROCESS-NAME,OKX.exe
|
||||
- DOMAIN-KEYWORD,okx
|
||||
|
||||
# > asproex
|
||||
- DOMAIN-SUFFIX,asproex.com
|
||||
- DOMAIN-SUFFIX,asproexapi.com
|
||||
|
||||
# > bitflyer
|
||||
- DOMAIN-SUFFIX,bitflyer.com
|
||||
- DOMAIN-SUFFIX,bitflyer.jp
|
||||
|
||||
# > bitsquare
|
||||
- DOMAIN-SUFFIX,bisq.io
|
||||
- DOMAIN-SUFFIX,bisq.network
|
||||
- DOMAIN-SUFFIX,bitsquare.io
|
||||
|
||||
# > coinone
|
||||
- DOMAIN-SUFFIX,coinone.co.kr
|
||||
- DOMAIN-SUFFIX,coinonecore.com
|
||||
- DOMAIN-SUFFIX,coinonecorp.com
|
||||
|
||||
# > ethereum
|
||||
- DOMAIN-SUFFIX,devcon.org
|
||||
- DOMAIN-SUFFIX,ethereum.foundation
|
||||
- DOMAIN-SUFFIX,ethereum.org
|
||||
- DOMAIN-SUFFIX,etherscan.io
|
||||
- DOMAIN-SUFFIX,nansen.ai
|
||||
- DOMAIN-SUFFIX,ethgasstation.info
|
||||
- DOMAIN-SUFFIX,watchtheburn.com
|
||||
- DOMAIN-SUFFIX,flashbots.net
|
||||
- DOMAIN-SUFFIX,cryptofees.info
|
||||
- DOMAIN-SUFFIX,etherscan.io
|
||||
- DOMAIN-SUFFIX,ethereum-magicians.org
|
||||
- DOMAIN-SUFFIX,vitalik.ca
|
||||
- DOMAIN-SUFFIX,ethfans.org
|
||||
- DOMAIN-SUFFIX,ethereum.cn
|
||||
- DOMAIN-SUFFIX,ethereum.stackexchange.com
|
||||
- DOMAIN-SUFFIX,etherscan.com
|
||||
- DOMAIN-SUFFIX,parity.io
|
||||
- DOMAIN-SUFFIX,ethernodes.org
|
||||
|
||||
# > localbitcoins
|
||||
- DOMAIN-SUFFIX,localbitcoins.com
|
||||
- DOMAIN-SUFFIX,localbitcoinschain.com
|
||||
|
||||
# > zb
|
||||
- DOMAIN-SUFFIX,zb.app
|
||||
- DOMAIN-SUFFIX,zb.com
|
||||
- DOMAIN-SUFFIX,zb.io
|
||||
- DOMAIN-SUFFIX,zb.live
|
||||
|
||||
# > Analysis
|
||||
- DOMAIN-SUFFIX,aicoin.com
|
||||
- DOMAIN-SUFFIX,aimoon.com
|
||||
- DOMAIN-SUFFIX,coingecko.com
|
||||
- DOMAIN-SUFFIX,coinmarketcap.com
|
||||
- DOMAIN-SUFFIX,glassnode.com
|
||||
- DOMAIN-SUFFIX,coinmetrics.io
|
||||
- DOMAIN-SUFFIX,tokenview.com
|
||||
- DOMAIN-SUFFIX,oklink.com
|
||||
- DOMAIN-SUFFIX,blockchair.com
|
||||
- DOMAIN-SUFFIX,intotheblock.com
|
||||
- DOMAIN-SUFFIX,bytetree.com
|
||||
- DOMAIN-SUFFIX,coin.dance
|
||||
- DOMAIN-SUFFIX,defieye.io
|
||||
- DOMAIN-SUFFIX,duneanalytics.com
|
||||
- DOMAIN-SUFFIX,tokenterminal.com
|
||||
- DOMAIN-SUFFIX,dapp.review
|
||||
- DOMAIN-SUFFIX,dappradar.com
|
||||
- DOMAIN-SUFFIX,stateofthedapps.com
|
||||
- DOMAIN-SUFFIX,thegraph.com
|
||||
- DOMAIN-SUFFIX,debank.com
|
||||
- DOMAIN-SUFFIX,vfat.tools
|
||||
- DOMAIN-SUFFIX,loanscan.io
|
||||
- DOMAIN-SUFFIX,defirate.com
|
||||
- DOMAIN-SUFFIX,defipulse.com
|
||||
- DOMAIN-SUFFIX,apy999.com
|
||||
- DOMAIN-SUFFIX,defieye.io
|
||||
- DOMAIN-SUFFIX,dextools.io
|
||||
- DOMAIN-SUFFIX,tradingview.com
|
||||
- DOMAIN-SUFFIX,dcabtc.com
|
||||
- DOMAIN-SUFFIX,chainalysis.com
|
||||
- DOMAIN-SUFFIX,cryptoquant.com
|
||||
- DOMAIN-SUFFIX,viewbase.com
|
||||
- DOMAIN-SUFFIX,bitcoinity.org
|
||||
- DOMAIN-SUFFIX,cryptocompare.com
|
||||
- DOMAIN-SUFFIX,coincodex.com
|
||||
- DOMAIN-SUFFIX,cointrendz.com
|
||||
- DOMAIN-SUFFIX,coincheckup.com
|
||||
- DOMAIN-SUFFIX,thetie.io
|
||||
- DOMAIN-SUFFIX,cryptorank.io
|
||||
- DOMAIN-SUFFIX,tradeblock.com
|
||||
- DOMAIN-SUFFIX,nyctale.io
|
||||
- DOMAIN-SUFFIX,dovemetrics.com
|
||||
- DOMAIN-SUFFIX,cryptorank.io
|
||||
- DOMAIN-SUFFIX,icodrops.com
|
||||
- DOMAIN-SUFFIX,chainbroker.io
|
||||
- DOMAIN-SUFFIX,crunchbase.com
|
||||
- DOMAIN-SUFFIX,defillama.com
|
||||
- DOMAIN-SUFFIX,coinowo.com
|
||||
- DOMAIN-SUFFIX,earni.fi
|
||||
- DOMAIN-SUFFIX,dropsearn.com
|
||||
- DOMAIN-SUFFIX,bitcoin.it
|
||||
- DOMAIN-SUFFIX,bitcoinmagazine.com
|
||||
- DOMAIN-SUFFIX,blockchain.com
|
||||
- DOMAIN-SUFFIX,tronscan.org
|
||||
|
||||
# > POOL
|
||||
- DOMAIN-SUFFIX,btc.com
|
||||
- DOMAIN-SUFFIX,f2pool.com
|
||||
- DOMAIN-SUFFIX,cbeci.org
|
||||
- DOMAIN-SUFFIX,digiconomist.net
|
||||
- DOMAIN-SUFFIX,1ml.com
|
||||
- DOMAIN-SUFFIX,bitcoinvisuals.com
|
||||
- DOMAIN-SUFFIX,crypto51.app
|
||||
- DOMAIN-SUFFIX,masternodes.online
|
||||
- DOMAIN-SUFFIX,bitnodes.earn.com
|
||||
- DOMAIN-SUFFIX,poolin.com
|
||||
- DOMAIN-SUFFIX,ethermine.org
|
||||
- DOMAIN-SUFFIX,ewapool.net
|
||||
|
||||
# > FTX
|
||||
- DOMAIN-SUFFIX,ftx.com
|
||||
|
||||
# > Metamask
|
||||
- DOMAIN-KEYWORD,metamask
|
||||
- DOMAIN,token-api.metaswap.codefi.network
|
||||
- DOMAIN,min-api.cryptocompare.com
|
||||
|
||||
# > NFT
|
||||
- DOMAIN-SUFFIX,opensea.io
|
||||
- DOMAIN-SUFFIX,nftscan.com
|
||||
- DOMAIN-SUFFIX,makersplace.com
|
||||
- DOMAIN-SUFFIX,nonfungible.com
|
||||
- DOMAIN-SUFFIX,cryptoslam.io
|
||||
- DOMAIN-SUFFIX,cryptoart.io
|
||||
- DOMAIN-SUFFIX,nftcalendar.io
|
||||
- DOMAIN-SUFFIX,nftgo.io
|
||||
|
||||
# > IPFS
|
||||
- DOMAIN-SUFFIX,filecoin.io
|
||||
- DOMAIN-SUFFIX,docs.lotu.sh
|
||||
- DOMAIN-SUFFIX,ipfs.io
|
||||
- DOMAIN-SUFFIX,docs.ipfs.io
|
||||
- DOMAIN-SUFFIX,discuss.ipfs.io
|
||||
|
||||
# > EOS
|
||||
- DOMAIN-SUFFIX,eos.io
|
||||
- DOMAIN-SUFFIX,developers.eos.io
|
||||
- DOMAIN-SUFFIX,block.one
|
||||
- DOMAIN-SUFFIX,eostracker.io
|
||||
- DOMAIN-SUFFIX,eosflare.io
|
||||
- DOMAIN-SUFFIX,eospark.com
|
||||
- DOMAIN-SUFFIX,bloks.io
|
||||
|
||||
# > Lightning
|
||||
- DOMAIN-SUFFIX,lightning.engineering
|
||||
- DOMAIN-SUFFIX,lightning.community
|
||||
- DOMAIN-SUFFIX,acinq.co
|
||||
- DOMAIN-SUFFIX,1ml.com
|
||||
|
||||
# > Token
|
||||
- DOMAIN-SUFFIX,tokenpocket.pro
|
||||
- DOMAIN-SUFFIX,token.im
|
||||
- DOMAIN-SUFFIX,phantom.app
|
||||
- DOMAIN-SUFFIX,tronlink.org
|
||||
- DOMAIN-SUFFIX,myetherwallet.com
|
||||
- DOMAIN-SUFFIX,jaxx.io
|
||||
- DOMAIN-SUFFIX,trustwalletapp.com
|
||||
|
||||
# > Gate
|
||||
- DOMAIN-SUFFIX,gate.ac
|
||||
- DOMAIN-SUFFIX,gate.io
|
||||
|
||||
# > Mexc
|
||||
- DOMAIN-SUFFIX,mexc.com
|
||||
|
||||
# > Dapp
|
||||
- DOMAIN-SUFFIX,sushi.com
|
||||
- DOMAIN-SUFFIX,uniswap.org
|
||||
- DOMAIN-SUFFIX,sunswap.com
|
||||
- DOMAIN-SUFFIX,traderjoexyz.com
|
||||
- DOMAIN-SUFFIX,raydium.io
|
||||
- DOMAIN-SUFFIX,synthetix.io
|
||||
- DOMAIN-SUFFIX,aave.com
|
||||
- DOMAIN-SUFFIX,compound.finance
|
||||
- DOMAIN-SUFFIX,makerdao.com
|
||||
- DOMAIN-SUFFIX,wbtc.network
|
||||
- DOMAIN-SUFFIX,pancakeswap.finance
|
||||
- DOMAIN-SUFFIX,pancakeswap.com
|
||||
- DOMAIN-SUFFIX,mdex.co
|
||||
- DOMAIN-SUFFIX,mdex.one
|
||||
- DOMAIN-SUFFIX,mdex.com
|
||||
- DOMAIN-SUFFIX,mdex.me
|
||||
- DOMAIN-SUFFIX,1inch.io
|
25
luci-app-openclash/root/etc/openclash/rule_provider/DAZN
Normal file
25
luci-app-openclash/root/etc/openclash/rule_provider/DAZN
Normal file
@ -0,0 +1,25 @@
|
||||
payload:
|
||||
# > DAZN
|
||||
# - USER-AGENT,DAZN*
|
||||
|
||||
- PROCESS-NAME,com.dazn
|
||||
|
||||
- DOMAIN-KEYWORD,voddazn
|
||||
|
||||
- DOMAIN-SUFFIX,dazn.com
|
||||
- DOMAIN-SUFFIX,dazn-api.com
|
||||
- DOMAIN-SUFFIX,dazndn.com
|
||||
- DOMAIN-SUFFIX,daznedge.net
|
||||
- DOMAIN-SUFFIX,daznfeeds.com
|
||||
- DOMAIN-SUFFIX,daznservices.com
|
||||
- DOMAIN-SUFFIX,indazn.com
|
||||
- DOMAIN-SUFFIX,indaznlab.com
|
||||
|
||||
- DOMAIN,daznfeeds.com.edgekey.net
|
||||
- DOMAIN,dca-lm-livedazn.secure.footprint.net
|
||||
- DOMAIN,h-dazn.online-metrix.net
|
||||
- DOMAIN,images-daznservices-com.cdn.ampproject.org
|
||||
- DOMAIN,d151l6v8er5bdm.cloudfront.net
|
||||
|
||||
- IP-CIDR,185.42.236.0/24,no-resolve
|
||||
- IP-CIDR,185.42.238.0/24,no-resolve
|
@ -0,0 +1,8 @@
|
||||
payload:
|
||||
# > Discord
|
||||
- DOMAIN-SUFFIX,discord.com
|
||||
- DOMAIN-SUFFIX,discord.gg
|
||||
- DOMAIN-SUFFIX,discord.media
|
||||
- DOMAIN-SUFFIX,discordapp.com
|
||||
- DOMAIN-SUFFIX,discordapp.net
|
||||
- DOMAIN-SUFFIX,discordstatus.com
|
@ -0,0 +1,11 @@
|
||||
payload:
|
||||
# > Discovery Plus
|
||||
- PROCESS-NAME,com.discovery.discoveryplus.mobile
|
||||
- DOMAIN-SUFFIX,content-ause1-ur-discovery1.uplynk.com
|
||||
- DOMAIN-SUFFIX,disco-api.com
|
||||
- DOMAIN-SUFFIX,discoveryplus.com
|
||||
- DOMAIN-SUFFIX,fwmrm.net
|
||||
- DOMAIN-SUFFIX,getblueshift.com
|
||||
- DOMAIN-SUFFIX,litix.io
|
||||
- DOMAIN-SUFFIX,mobile-collector.newrelic.com
|
||||
- DOMAIN-SUFFIX,uplynk.com
|
@ -0,0 +1,21 @@
|
||||
payload:
|
||||
# > Disney Plus
|
||||
# - USER-AGENT,Disney*
|
||||
|
||||
- PROCESS-NAME,com.disney.disneyplus
|
||||
|
||||
- DOMAIN-SUFFIX,adobedtm.com
|
||||
- DOMAIN-SUFFIX,bam.nr-date.net
|
||||
- DOMAIN-SUFFIX,bamgrid.com
|
||||
- DOMAIN-SUFFIX,braze.com
|
||||
- DOMAIN-SUFFIX,cdn.optimizely.com
|
||||
- DOMAIN-SUFFIX,d9.flashtalking.com
|
||||
- DOMAIN-SUFFIX,disney.demdex.net
|
||||
- DOMAIN-SUFFIX,disney.my.sentry.io
|
||||
- DOMAIN-SUFFIX,disneyplus.bn5x.net
|
||||
- DOMAIN-SUFFIX,disneyplus.com
|
||||
- DOMAIN-SUFFIX,disneyplus.com.ssl.sc.omtrdc.net
|
||||
- DOMAIN-SUFFIX,disney-plus.net
|
||||
- DOMAIN-SUFFIX,disney-portal.my.onetrust.com
|
||||
- DOMAIN-SUFFIX,dssott.com
|
||||
- DOMAIN-SUFFIX,registerdisney.go.com
|
335
luci-app-openclash/root/etc/openclash/rule_provider/Domestic
Normal file
335
luci-app-openclash/root/etc/openclash/rule_provider/Domestic
Normal file
@ -0,0 +1,335 @@
|
||||
payload:
|
||||
# China Banks
|
||||
# > Agricultural Bank of China
|
||||
- DOMAIN-SUFFIX,abchina.com
|
||||
- DOMAIN-SUFFIX,abchina.com.cn
|
||||
|
||||
# > Bank of China
|
||||
- DOMAIN-SUFFIX,boc.cn
|
||||
|
||||
# > China Citic Bank
|
||||
- DOMAIN-SUFFIX,citicbank.com
|
||||
- DOMAIN-SUFFIX,ecitic.com
|
||||
- DOMAIN-SUFFIX,ecitic.net
|
||||
|
||||
# > China Construction Bank
|
||||
- DOMAIN-SUFFIX,ccb.com
|
||||
- DOMAIN-SUFFIX,ccb.com.cn
|
||||
|
||||
# > China Everbright Bank
|
||||
- DOMAIN-SUFFIX,cebbank.com
|
||||
|
||||
# > China Merchants Bank
|
||||
# - USER-AGENT,cmb*
|
||||
- DOMAIN-SUFFIX,cmbchina.com
|
||||
- DOMAIN-SUFFIX,cmbimg.com
|
||||
- DOMAIN-SUFFIX,cmbt.cn
|
||||
- DOMAIN-SUFFIX,mbcloud.com
|
||||
|
||||
# > Industrial and Commercial Bank of China
|
||||
# - USER-AGENT,%E4%B8%AD%E5%9B%BD%E5%B7%A5%E5%95%86%E9%93%B6%E8%A1%8C*
|
||||
- DOMAIN-SUFFIX,icbc.com.cn
|
||||
|
||||
# > Ping An Bank
|
||||
- DOMAIN-SUFFIX,pingan.com
|
||||
- DOMAIN-SUFFIX,pingan.com.cn
|
||||
|
||||
# Type
|
||||
# > Beplay
|
||||
- DOMAIN-KEYWORD,beplay
|
||||
|
||||
# > Blizzard
|
||||
# - USER-AGENT,hearthstone*
|
||||
- DOMAIN,cdp.cloud.unity3d.com
|
||||
- DOMAIN-SUFFIX,battle.net
|
||||
- DOMAIN-SUFFIX,battlenet.com
|
||||
- DOMAIN-SUFFIX,blizzard.com
|
||||
|
||||
# > Prior
|
||||
- DOMAIN,client.amplifi.com
|
||||
- DOMAIN,ip.bjango.com
|
||||
- DOMAIN-SUFFIX,alphassl.com
|
||||
- DOMAIN-SUFFIX,edu.cn
|
||||
|
||||
# > RRYS
|
||||
- DOMAIN-SUFFIX,p4pfile.com
|
||||
- DOMAIN-SUFFIX,zmzfile.com
|
||||
|
||||
# > Sony
|
||||
# - USER-AGENT,RemotePlay*
|
||||
- DOMAIN-SUFFIX,playstation.com
|
||||
- DOMAIN-SUFFIX,playstation.net
|
||||
- DOMAIN-SUFFIX,playstationnetwork.com
|
||||
- DOMAIN-SUFFIX,sony.com
|
||||
- DOMAIN-SUFFIX,sonyentertainmentnetwork.com
|
||||
|
||||
# > TeamViewer
|
||||
- IP-CIDR,185.188.32.0/24,no-resolve
|
||||
- IP-CIDR,185.188.33.0/24,no-resolve
|
||||
- IP-CIDR,185.188.34.0/24,no-resolve
|
||||
- IP-CIDR,185.188.35.0/24,no-resolve
|
||||
- IP-CIDR6,2a0b:b580::/48,no-resolve
|
||||
- IP-CIDR6,2a0b:b581::/48,no-resolve
|
||||
- IP-CIDR6,2a0b:b582::/48,no-resolve
|
||||
- IP-CIDR6,2a0b:b583::/48,no-resolve
|
||||
|
||||
# > Tencent
|
||||
- IP-CIDR,182.254.116.0/24,no-resolve
|
||||
|
||||
# > Tencent WeChat (International)
|
||||
- IP-CIDR,101.32.104.0/21,DIRECT,no-resolve
|
||||
- IP-CIDR,101.32.118.0/23,DIRECT,no-resolve
|
||||
- IP-CIDR,101.32.96.0/20,DIRECT,no-resolve
|
||||
- IP-CIDR,129.226.0.0/16,DIRECT,no-resolve
|
||||
- IP-CIDR,183.128.0.0/11,DIRECT,no-resolve
|
||||
- IP-CIDR,183.131.48.0/20,DIRECT,no-resolve
|
||||
|
||||
- DOMAIN-SUFFIX,10010.com
|
||||
- DOMAIN-SUFFIX,10086.cn
|
||||
- DOMAIN-SUFFIX,12306.cn
|
||||
- DOMAIN-SUFFIX,12306.com
|
||||
- DOMAIN-SUFFIX,126.net
|
||||
- DOMAIN-SUFFIX,163.com
|
||||
- DOMAIN-SUFFIX,189.cn
|
||||
- DOMAIN-SUFFIX,360.cn
|
||||
- DOMAIN-SUFFIX,360.com
|
||||
- DOMAIN-SUFFIX,360buy.com
|
||||
- DOMAIN-SUFFIX,360buyimg.com
|
||||
- DOMAIN-SUFFIX,36kr.com
|
||||
- DOMAIN-SUFFIX,51ym.me
|
||||
- DOMAIN-SUFFIX,58.com
|
||||
- DOMAIN-SUFFIX,8686c.com
|
||||
- DOMAIN-SUFFIX,95516.com
|
||||
- DOMAIN-SUFFIX,abercrombie.com
|
||||
- DOMAIN-SUFFIX,acfun.tv
|
||||
- DOMAIN-SUFFIX,adobesc.com
|
||||
- DOMAIN-SUFFIX,air-matters.com
|
||||
- DOMAIN-SUFFIX,air-matters.io
|
||||
- DOMAIN-SUFFIX,aixifan.com
|
||||
- DOMAIN-SUFFIX,akadns.net
|
||||
- DOMAIN-SUFFIX,alibaba.com
|
||||
- DOMAIN-SUFFIX,alibabacloud.com
|
||||
- DOMAIN-SUFFIX,alicdn.com
|
||||
- DOMAIN-SUFFIX,alipay.com
|
||||
- DOMAIN-SUFFIX,alipayobjects.com
|
||||
- DOMAIN-SUFFIX,aliyun.com
|
||||
- DOMAIN-SUFFIX,aliyuncs.com
|
||||
- DOMAIN-SUFFIX,amap.com
|
||||
- DOMAIN-SUFFIX,appshike.com
|
||||
- DOMAIN-SUFFIX,appstore.com
|
||||
- DOMAIN-SUFFIX,autonavi.com
|
||||
- DOMAIN-SUFFIX,bababian.com
|
||||
- DOMAIN-SUFFIX,baidu.com
|
||||
- DOMAIN-SUFFIX,baidupcs.com
|
||||
- DOMAIN-SUFFIX,bdimg.com
|
||||
- DOMAIN-SUFFIX,bdstatic.com
|
||||
- DOMAIN-SUFFIX,beatsbydre.com
|
||||
- DOMAIN-SUFFIX,broadcasthe.net
|
||||
- DOMAIN-SUFFIX,caiyunapp.com
|
||||
- DOMAIN-SUFFIX,ccgslb.com
|
||||
- DOMAIN-SUFFIX,ccgslb.net
|
||||
- DOMAIN-SUFFIX,chinacache.net
|
||||
- DOMAIN-SUFFIX,chunbo.com
|
||||
- DOMAIN-SUFFIX,chunboimg.com
|
||||
- DOMAIN-SUFFIX,clashroyaleapp.com
|
||||
- DOMAIN-SUFFIX,clouddn.com
|
||||
- DOMAIN-SUFFIX,cloudsigma.com
|
||||
- DOMAIN-SUFFIX,cloudxns.net
|
||||
- DOMAIN-SUFFIX,cmct.tv
|
||||
- DOMAIN-SUFFIX,cmfu.com
|
||||
- DOMAIN-SUFFIX,cnbeta.com
|
||||
- DOMAIN-SUFFIX,cnbetacdn.com
|
||||
- DOMAIN-SUFFIX,chdbits.co
|
||||
- DOMAIN-SUFFIX,cnlang.org
|
||||
- DOMAIN-SUFFIX,coolapk.com
|
||||
- DOMAIN-SUFFIX,cn88.net
|
||||
- DOMAIN-SUFFIX,dct-cloud.com
|
||||
- DOMAIN-SUFFIX,didialift.com
|
||||
- DOMAIN-SUFFIX,digicert.com
|
||||
- DOMAIN-SUFFIX,douban.com
|
||||
- DOMAIN-SUFFIX,doubanio.com
|
||||
- DOMAIN-SUFFIX,douyin.com
|
||||
- DOMAIN-SUFFIX,douyu.com
|
||||
- DOMAIN-SUFFIX,douyu.tv
|
||||
- DOMAIN-SUFFIX,douyutv.com
|
||||
- DOMAIN-SUFFIX,duokan.com
|
||||
- DOMAIN-SUFFIX,duoshuo.com
|
||||
- DOMAIN-SUFFIX,dytt8.net
|
||||
- DOMAIN-SUFFIX,easou.com
|
||||
- DOMAIN-SUFFIX,eudic.net
|
||||
- DOMAIN-SUFFIX,ewqcxz.com
|
||||
- DOMAIN-SUFFIX,feng.com
|
||||
- DOMAIN-SUFFIX,fir.im
|
||||
- DOMAIN-SUFFIX,firefox.com
|
||||
- DOMAIN-SUFFIX,frdic.com
|
||||
- DOMAIN-SUFFIX,fresh-ideas.cc
|
||||
- DOMAIN-SUFFIX,gameloft.com
|
||||
- DOMAIN-SUFFIX,garmin.com
|
||||
- DOMAIN-SUFFIX,geetest.com
|
||||
- DOMAIN-SUFFIX,godic.net
|
||||
- DOMAIN-SUFFIX,goodread.com
|
||||
- DOMAIN-SUFFIX,goofish.com
|
||||
- DOMAIN-SUFFIX,gtimg.com
|
||||
- DOMAIN-SUFFIX,haibian.com
|
||||
- DOMAIN-SUFFIX,hao123.com
|
||||
- DOMAIN-SUFFIX,haosou.com
|
||||
- DOMAIN-SUFFIX,hdchina.org
|
||||
- DOMAIN-SUFFIX,hdcmct.org
|
||||
- DOMAIN-SUFFIX,hjfile.cn
|
||||
- DOMAIN-SUFFIX,hkserversolution.com
|
||||
- DOMAIN-SUFFIX,hollisterco.com
|
||||
- DOMAIN-SUFFIX,hongxiu.com
|
||||
- DOMAIN-SUFFIX,hujiang.com
|
||||
- DOMAIN-SUFFIX,hxcdn.net
|
||||
- DOMAIN-SUFFIX,icedropper.com
|
||||
- DOMAIN-SUFFIX,iciba.com
|
||||
- DOMAIN-SUFFIX,ifeng.com
|
||||
- DOMAIN-SUFFIX,ifengimg.com
|
||||
- DOMAIN-SUFFIX,images-amazon.com
|
||||
- DOMAIN-SUFFIX,img4me.com
|
||||
- DOMAIN-SUFFIX,ithome.com
|
||||
- DOMAIN-SUFFIX,ixdzs.com
|
||||
- DOMAIN-SUFFIX,jd.com
|
||||
- DOMAIN-SUFFIX,jd.hk
|
||||
- DOMAIN-SUFFIX,jianshu.com
|
||||
- DOMAIN-SUFFIX,jianshu.io
|
||||
- DOMAIN-SUFFIX,jianshuapi.com
|
||||
- DOMAIN-SUFFIX,jiathis.com
|
||||
- DOMAIN-SUFFIX,jomodns.com
|
||||
- DOMAIN-SUFFIX,jsboxbbs.com
|
||||
- DOMAIN-SUFFIX,knewone.com
|
||||
- DOMAIN-SUFFIX,kuaidi100.com
|
||||
- DOMAIN-SUFFIX,kugou.com
|
||||
- DOMAIN-SUFFIX,lecloud.com
|
||||
- DOMAIN-SUFFIX,lemicp.com
|
||||
- DOMAIN-SUFFIX,letv.com
|
||||
- DOMAIN-SUFFIX,letvcloud.com
|
||||
- DOMAIN-SUFFIX,liyuans.com
|
||||
- DOMAIN-SUFFIX,lizhi.io
|
||||
- DOMAIN-SUFFIX,localizecdn.com
|
||||
- DOMAIN-SUFFIX,lucifr.com
|
||||
- DOMAIN-SUFFIX,luoo.net
|
||||
- DOMAIN-SUFFIX,lxdns.com
|
||||
- DOMAIN-SUFFIX,mai.tn
|
||||
- DOMAIN-SUFFIX,meizu.com
|
||||
- DOMAIN-SUFFIX,metatrader4.com
|
||||
- DOMAIN-SUFFIX,metatrader5.com
|
||||
- DOMAIN-SUFFIX,mi.com
|
||||
- DOMAIN-SUFFIX,miaopai.com
|
||||
- DOMAIN-SUFFIX,miui.com
|
||||
- DOMAIN-SUFFIX,miwifi.com
|
||||
- DOMAIN-SUFFIX,mob.com
|
||||
- DOMAIN-SUFFIX,moji.com
|
||||
- DOMAIN-SUFFIX,moke.com
|
||||
- DOMAIN-SUFFIX,mxhichina.com
|
||||
- DOMAIN-SUFFIX,myqcloud.com
|
||||
- DOMAIN-SUFFIX,myunlu.com
|
||||
- DOMAIN-SUFFIX,ngabbs.com
|
||||
- DOMAIN-SUFFIX,netease.com
|
||||
- DOMAIN-SUFFIX,nfoservers.com
|
||||
- DOMAIN-SUFFIX,nssurge.com
|
||||
- DOMAIN-SUFFIX,nuomi.com
|
||||
- DOMAIN-SUFFIX,ourbits.club
|
||||
- DOMAIN-SUFFIX,ourdvs.com
|
||||
- DOMAIN-SUFFIX,passthepopcorn.me
|
||||
- DOMAIN-SUFFIX,pgyer.com
|
||||
- DOMAIN-SUFFIX,pniao.com
|
||||
- DOMAIN-SUFFIX,privatehd.to
|
||||
- DOMAIN-SUFFIX,qbox.me
|
||||
- DOMAIN-SUFFIX,qcloud.com
|
||||
- DOMAIN-SUFFIX,qdaily.com
|
||||
- DOMAIN-SUFFIX,qdmm.com
|
||||
- DOMAIN-SUFFIX,qhimg.com
|
||||
- DOMAIN-SUFFIX,qidian.com
|
||||
- DOMAIN-SUFFIX,qihucdn.com
|
||||
- DOMAIN-SUFFIX,qin.io
|
||||
- DOMAIN-SUFFIX,qingmang.me
|
||||
- DOMAIN-SUFFIX,qingmang.mobi
|
||||
- DOMAIN-SUFFIX,qiniucdn.com
|
||||
- DOMAIN-SUFFIX,qiniudn.com
|
||||
- DOMAIN-SUFFIX,qq.com
|
||||
- DOMAIN-SUFFIX,qqurl.com
|
||||
- DOMAIN-SUFFIX,rarbg.to
|
||||
- DOMAIN-SUFFIX,redacted.ch
|
||||
- DOMAIN-SUFFIX,rrmj.tv
|
||||
- DOMAIN-SUFFIX,ruguoapp.com
|
||||
- DOMAIN-SUFFIX,sandai.net
|
||||
- DOMAIN-SUFFIX,sf-express.com
|
||||
- DOMAIN-SUFFIX,sinaapp.com
|
||||
- DOMAIN-SUFFIX,sinaimg.cn
|
||||
- DOMAIN-SUFFIX,sinaimg.com
|
||||
- DOMAIN-SUFFIX,sm.ms
|
||||
- DOMAIN-SUFFIX,smzdm.com
|
||||
- DOMAIN-SUFFIX,snwx.com
|
||||
- DOMAIN-SUFFIX,so.com
|
||||
- DOMAIN-SUFFIX,sogou.com
|
||||
- DOMAIN-SUFFIX,sogoucdn.com
|
||||
- DOMAIN-SUFFIX,sohu.com
|
||||
- DOMAIN-SUFFIX,soku.com
|
||||
- DOMAIN-SUFFIX,soso.com
|
||||
- DOMAIN-SUFFIX,sspai.com
|
||||
- DOMAIN-SUFFIX,startssl.com
|
||||
- DOMAIN-SUFFIX,suning.com
|
||||
- DOMAIN-SUFFIX,symcd.com
|
||||
- DOMAIN-SUFFIX,taobao.com
|
||||
- DOMAIN-SUFFIX,tawk.link
|
||||
- DOMAIN-SUFFIX,tawk.to
|
||||
- DOMAIN-SUFFIX,tenpay.com
|
||||
- DOMAIN-SUFFIX,tietuku.com
|
||||
- DOMAIN-SUFFIX,tmall.com
|
||||
- DOMAIN-SUFFIX,tmzvps.com
|
||||
- DOMAIN-SUFFIX,trello.com
|
||||
- DOMAIN-SUFFIX,trellocdn.com
|
||||
- DOMAIN-SUFFIX,totheglory.im
|
||||
- DOMAIN-SUFFIX,ttmeiju.com
|
||||
- DOMAIN-SUFFIX,tudou.com
|
||||
- DOMAIN-SUFFIX,udache.com
|
||||
- DOMAIN-SUFFIX,umengcloud.com
|
||||
- DOMAIN-SUFFIX,upaiyun.com
|
||||
- DOMAIN-SUFFIX,upyun.com
|
||||
- DOMAIN-SUFFIX,uxengine.net
|
||||
- DOMAIN-SUFFIX,wandoujia.com
|
||||
- DOMAIN-SUFFIX,weather.bjango.com
|
||||
- DOMAIN-SUFFIX,weather.com
|
||||
- DOMAIN-SUFFIX,webqxs.com
|
||||
- DOMAIN-SUFFIX,weibo.cn
|
||||
- DOMAIN-SUFFIX,weibo.com
|
||||
- DOMAIN-SUFFIX,weico.cc
|
||||
- DOMAIN-SUFFIX,weiphone.com
|
||||
- DOMAIN-SUFFIX,weiphone.net
|
||||
- DOMAIN-SUFFIX,wenku8.net
|
||||
- DOMAIN-SUFFIX,werewolf.53site.com
|
||||
- DOMAIN-SUFFIX,wkcdn.com
|
||||
- DOMAIN-SUFFIX,xdrig.com
|
||||
- DOMAIN-SUFFIX,xhostfire.com
|
||||
- DOMAIN-SUFFIX,xhscdn.com
|
||||
- DOMAIN-SUFFIX,xiaohongshu.com
|
||||
- DOMAIN-SUFFIX,xiaojukeji.com
|
||||
- DOMAIN-SUFFIX,xiaomi.com
|
||||
- DOMAIN-SUFFIX,xiaomi.net
|
||||
- DOMAIN-SUFFIX,xiaomicp.com
|
||||
- DOMAIN-SUFFIX,ximalaya.com
|
||||
- DOMAIN-SUFFIX,xitek.com
|
||||
- DOMAIN-SUFFIX,xmcdn.com
|
||||
- DOMAIN-SUFFIX,xslb.net
|
||||
- DOMAIN-SUFFIX,yach.me
|
||||
- DOMAIN-SUFFIX,yeepay.com
|
||||
- DOMAIN-SUFFIX,yhd.com
|
||||
- DOMAIN-SUFFIX,yinxiang.com
|
||||
- DOMAIN-SUFFIX,yixia.com
|
||||
- DOMAIN-SUFFIX,ykimg.com
|
||||
- DOMAIN-SUFFIX,youdao.com
|
||||
- DOMAIN-SUFFIX,youku.com
|
||||
- DOMAIN-SUFFIX,yunjiasu-cdn.net
|
||||
- DOMAIN-SUFFIX,zealer.com
|
||||
- DOMAIN-SUFFIX,zgslb.net
|
||||
- DOMAIN-SUFFIX,zhihu.com
|
||||
- DOMAIN-SUFFIX,zhimg.com
|
||||
- DOMAIN-SUFFIX,zimuzu.tv
|
||||
- DOMAIN-SUFFIX,zmz002.com
|
||||
|
||||
- IP-CIDR,1.255.62.0/24,no-resolve
|
||||
|
||||
# > CN
|
||||
- DOMAIN-SUFFIX,gov.cn
|
||||
- DOMAIN-SUFFIX,cn
|
6608
luci-app-openclash/root/etc/openclash/rule_provider/Domestic_IPs
Normal file
6608
luci-app-openclash/root/etc/openclash/rule_provider/Domestic_IPs
Normal file
File diff suppressed because it is too large
Load Diff
10
luci-app-openclash/root/etc/openclash/rule_provider/F1_TV
Normal file
10
luci-app-openclash/root/etc/openclash/rule_provider/F1_TV
Normal file
@ -0,0 +1,10 @@
|
||||
payload:
|
||||
# > F1 TV
|
||||
- DOMAIN,d2n9h2wits23hf.cloudfront.net
|
||||
- DOMAIN,f1prodlive.akamaized.net
|
||||
- DOMAIN,mobile-collector.newrelic.com
|
||||
- DOMAIN-SUFFIX,bitmovin.com
|
||||
- DOMAIN-SUFFIX,f1esports.com
|
||||
- DOMAIN-SUFFIX,f1manager.com
|
||||
- DOMAIN-SUFFIX,f1play.com
|
||||
- DOMAIN-SUFFIX,formula1.com
|
37
luci-app-openclash/root/etc/openclash/rule_provider/FCM
Normal file
37
luci-app-openclash/root/etc/openclash/rule_provider/FCM
Normal file
@ -0,0 +1,37 @@
|
||||
payload:
|
||||
# > Google FCM
|
||||
- DOMAIN,alt1-mtalk.google.com
|
||||
- DOMAIN,alt2-mtalk.google.com
|
||||
- DOMAIN,alt3-mtalk.google.com
|
||||
- DOMAIN,alt4-mtalk.google.com
|
||||
- DOMAIN,alt5-mtalk.google.com
|
||||
- DOMAIN,alt6-mtalk.google.com
|
||||
- DOMAIN,alt7-mtalk.google.com
|
||||
- DOMAIN,alt8-mtalk.google.com
|
||||
- DOMAIN,mtalk.google.com
|
||||
- IP-CIDR,64.233.177.188/32,no-resolve
|
||||
- IP-CIDR,64.233.186.188/32,no-resolve
|
||||
- IP-CIDR,64.233.187.188/32,no-resolve
|
||||
- IP-CIDR,64.233.188.188/32,no-resolve
|
||||
- IP-CIDR,64.233.189.188/32,no-resolve
|
||||
- IP-CIDR,74.125.23.188/32,no-resolve
|
||||
- IP-CIDR,74.125.24.188/32,no-resolve
|
||||
- IP-CIDR,74.125.28.188/32,no-resolve
|
||||
- IP-CIDR,74.125.127.188/32,no-resolve
|
||||
- IP-CIDR,74.125.137.188/32,no-resolve
|
||||
- IP-CIDR,74.125.203.188/32,no-resolve
|
||||
- IP-CIDR,74.125.204.188/32,no-resolve
|
||||
- IP-CIDR,74.125.206.188/32,no-resolve
|
||||
- IP-CIDR,108.177.125.188/32,no-resolve
|
||||
- IP-CIDR,142.250.4.188/32,no-resolve
|
||||
- IP-CIDR,142.250.10.188/32,no-resolve
|
||||
- IP-CIDR,142.250.31.188/32,no-resolve
|
||||
- IP-CIDR,142.250.96.188/32,no-resolve
|
||||
- IP-CIDR,172.217.194.188/32,no-resolve
|
||||
- IP-CIDR,172.217.218.188/32,no-resolve
|
||||
- IP-CIDR,172.217.219.188/32,no-resolve
|
||||
- IP-CIDR,172.253.63.188/32,no-resolve
|
||||
- IP-CIDR,172.253.122.188/32,no-resolve
|
||||
- IP-CIDR,173.194.175.188/32,no-resolve
|
||||
- IP-CIDR,173.194.218.188/32,no-resolve
|
||||
- IP-CIDR,209.85.233.188/32,no-resolve
|
6
luci-app-openclash/root/etc/openclash/rule_provider/Fox+
Normal file
6
luci-app-openclash/root/etc/openclash/rule_provider/Fox+
Normal file
@ -0,0 +1,6 @@
|
||||
payload:
|
||||
# > Fox+ (HK|TW|SG)
|
||||
# - USER-AGENT,FOXPlus*
|
||||
- DOMAIN-SUFFIX,akamaized.net
|
||||
- DOMAIN-SUFFIX,foxplus.com
|
||||
- DOMAIN-SUFFIX,theplatform.com
|
@ -0,0 +1,6 @@
|
||||
payload:
|
||||
# > Fox Now
|
||||
# - USER-AGENT,FOX%20NOW*
|
||||
- DOMAIN-SUFFIX,fox.com
|
||||
- DOMAIN-SUFFIX,foxdcg.com
|
||||
- DOMAIN-SUFFIX,uplynk.com
|
622
luci-app-openclash/root/etc/openclash/rule_provider/Global.yaml
Normal file
622
luci-app-openclash/root/etc/openclash/rule_provider/Global.yaml
Normal file
@ -0,0 +1,622 @@
|
||||
payload:
|
||||
# (DNS Cache Pollution)
|
||||
# > Amazon
|
||||
- DOMAIN-SUFFIX,amazon.co.jp
|
||||
- DOMAIN,d3c33hcgiwev3.cloudfront.net
|
||||
- DOMAIN,payments-jp.amazon.com
|
||||
- DOMAIN,s3-ap-northeast-1.amazonaws.com
|
||||
- DOMAIN,s3-ap-southeast-2.amazonaws.com
|
||||
# > Akamai
|
||||
- DOMAIN,a248.e.akamai.net
|
||||
- DOMAIN,a771.dscq.akamai.net
|
||||
# > Apple
|
||||
- DOMAIN,testflight.apple.com
|
||||
# > Crypto
|
||||
- DOMAIN-SUFFIX,aex.com
|
||||
- DOMAIN-SUFFIX,bibox.com
|
||||
- DOMAIN-SUFFIX,binance.cc
|
||||
- DOMAIN-SUFFIX,binance.com
|
||||
- DOMAIN-SUFFIX,binance.us
|
||||
- DOMAIN-SUFFIX,bitcointalk.org
|
||||
- DOMAIN-SUFFIX,bitfinex.com
|
||||
- DOMAIN-SUFFIX,bithumb.com
|
||||
- DOMAIN-SUFFIX,bitmex.com
|
||||
- DOMAIN-SUFFIX,bitstamp.net
|
||||
- DOMAIN-SUFFIX,bittrex.com
|
||||
- DOMAIN-SUFFIX,bybit.com
|
||||
- DOMAIN-SUFFIX,coinbase.com
|
||||
- DOMAIN-SUFFIX,coincheck.com
|
||||
- DOMAIN-SUFFIX,coingecko.com
|
||||
- DOMAIN-SUFFIX,coinmarketcap.com
|
||||
- DOMAIN-SUFFIX,coinone.co.kr
|
||||
- DOMAIN-SUFFIX,ftx.com
|
||||
- DOMAIN-SUFFIX,gate.io
|
||||
- DOMAIN-SUFFIX,gemini.com
|
||||
- DOMAIN-SUFFIX,huobi.com
|
||||
- DOMAIN-SUFFIX,korbit.co.kr
|
||||
- DOMAIN-SUFFIX,kraken.com
|
||||
- DOMAIN-SUFFIX,kucoin.com
|
||||
- DOMAIN-SUFFIX,liquid.com
|
||||
- DOMAIN-SUFFIX,okex.com
|
||||
- DOMAIN-SUFFIX,poloniex.com
|
||||
- DOMAIN-SUFFIX,uniswap.org
|
||||
- DOMAIN-SUFFIX,zb.com
|
||||
# > Discord
|
||||
- DOMAIN-SUFFIX,discord.com
|
||||
- DOMAIN-SUFFIX,discordapp.com
|
||||
- DOMAIN-SUFFIX,discordapp.net
|
||||
# > Dropbox
|
||||
- DOMAIN-SUFFIX,dropbox.com
|
||||
- DOMAIN-SUFFIX,dropboxapi.com
|
||||
- DOMAIN-SUFFIX,dropboxusercontent.com
|
||||
# > Facebook
|
||||
- DOMAIN-SUFFIX,cdninstagram.com
|
||||
- DOMAIN-SUFFIX,facebook.com
|
||||
- DOMAIN-SUFFIX,facebook.net
|
||||
- DOMAIN-SUFFIX,fb.com
|
||||
- DOMAIN-SUFFIX,fb.me
|
||||
- DOMAIN-SUFFIX,fbaddins.com
|
||||
- DOMAIN-SUFFIX,fbcdn.net
|
||||
- DOMAIN-SUFFIX,fbsbx.com
|
||||
- DOMAIN-SUFFIX,fbworkmail.com
|
||||
- DOMAIN-SUFFIX,instagram.com
|
||||
- DOMAIN-SUFFIX,m.me
|
||||
- DOMAIN-SUFFIX,messenger.com
|
||||
- DOMAIN-SUFFIX,oculus.com
|
||||
- DOMAIN-SUFFIX,oculuscdn.com
|
||||
- DOMAIN-SUFFIX,rocksdb.org
|
||||
- DOMAIN-SUFFIX,whatsapp.com
|
||||
- DOMAIN-SUFFIX,whatsapp.net
|
||||
# > Github
|
||||
- DOMAIN-SUFFIX,github.com
|
||||
- DOMAIN-SUFFIX,github.io
|
||||
- DOMAIN-SUFFIX,githubusercontent.com
|
||||
# > Google
|
||||
- DOMAIN-SUFFIX,appspot.com
|
||||
- DOMAIN-SUFFIX,blogger.com
|
||||
- DOMAIN-SUFFIX,getoutline.org
|
||||
- DOMAIN-SUFFIX,gvt0.com
|
||||
- DOMAIN-SUFFIX,gvt1.com
|
||||
- DOMAIN-SUFFIX,gvt3.com
|
||||
- DOMAIN-SUFFIX,xn--ngstr-lra8j.com
|
||||
- DOMAIN-SUFFIX,ytimg.com
|
||||
- DOMAIN-KEYWORD,google
|
||||
- DOMAIN-KEYWORD,.blogspot.
|
||||
# > Line
|
||||
- DOMAIN-SUFFIX,line.me
|
||||
- DOMAIN-SUFFIX,line-apps.com
|
||||
- DOMAIN-SUFFIX,line-scdn.net
|
||||
- DOMAIN-SUFFIX,naver.jp
|
||||
- IP-CIDR,103.2.30.0/23,no-resolve
|
||||
- IP-CIDR,125.209.208.0/20,no-resolve
|
||||
- IP-CIDR,147.92.128.0/17,no-resolve
|
||||
- IP-CIDR,203.104.144.0/21,no-resolve
|
||||
# > Microsoft
|
||||
- DOMAIN-SUFFIX,aka.ms
|
||||
- DOMAIN-SUFFIX,onedrive.live.com
|
||||
- DOMAIN-SUFFIX,streaming.mediaservices.windows.net
|
||||
- DOMAIN,assets1.xboxlive.com
|
||||
- DOMAIN,assets2.xboxlive.com
|
||||
- DOMAIN,az416426.vo.msecnd.net
|
||||
- DOMAIN,az668014.vo.msecnd.net
|
||||
# > The New York Times
|
||||
- DOMAIN-SUFFIX,nyt.com
|
||||
- DOMAIN-SUFFIX,nytchina.com
|
||||
- DOMAIN-SUFFIX,nytcn.me
|
||||
- DOMAIN-SUFFIX,nytco.com
|
||||
- DOMAIN-SUFFIX,nytimes.com
|
||||
- DOMAIN-SUFFIX,nytimg.com
|
||||
- DOMAIN-SUFFIX,nytlog.com
|
||||
- DOMAIN-SUFFIX,nytstyle.com
|
||||
# > Pinterest
|
||||
- DOMAIN-SUFFIX,pinterest.at
|
||||
- DOMAIN-SUFFIX,pinterest.ca
|
||||
- DOMAIN-SUFFIX,pinterest.co.uk
|
||||
- DOMAIN-SUFFIX,pinterest.com
|
||||
- DOMAIN-SUFFIX,pinterest.de
|
||||
- DOMAIN-SUFFIX,pinterest.fr
|
||||
- DOMAIN-SUFFIX,pinterest.jp
|
||||
- DOMAIN-SUFFIX,pinterest.se
|
||||
# > pixiv
|
||||
- DOMAIN-SUFFIX,pixiv.net
|
||||
- DOMAIN-SUFFIX,pixiv.org
|
||||
- DOMAIN-SUFFIX,pximg.net
|
||||
# > Reddit
|
||||
- DOMAIN-SUFFIX,redd.it
|
||||
- DOMAIN-SUFFIX,reddit.com
|
||||
- DOMAIN-SUFFIX,redditmedia.com
|
||||
# > Telegram
|
||||
- DOMAIN-SUFFIX,telegra.ph
|
||||
- DOMAIN-SUFFIX,telegram.org
|
||||
- IP-CIDR,91.108.4.0/22,no-resolve
|
||||
- IP-CIDR,91.108.8.0/22,no-resolve
|
||||
- IP-CIDR,91.108.12.0/22,no-resolve
|
||||
- IP-CIDR,91.108.16.0/22,no-resolve
|
||||
- IP-CIDR,91.108.20.0/22,no-resolve
|
||||
- IP-CIDR,91.108.56.0/22,no-resolve
|
||||
- IP-CIDR,91.105.192.0/23,no-resolve
|
||||
- IP-CIDR,149.154.160.0/20,no-resolve
|
||||
- IP-CIDR,185.76.151.0/24,no-resolve
|
||||
- IP-CIDR,2001:b28:f23d::/48,no-resolve
|
||||
- IP-CIDR,2001:b28:f23f::/48,no-resolve
|
||||
- IP-CIDR,2001:67c:4e8::/48,no-resolve
|
||||
- IP-CIDR,2001:b28:f23c::/48,no-resolve
|
||||
- IP-CIDR,2a0a:f280::/32,no-resolve
|
||||
# > Twitter
|
||||
- DOMAIN-SUFFIX,pscp.tv
|
||||
- DOMAIN-SUFFIX,periscope.tv
|
||||
- DOMAIN-SUFFIX,t.co
|
||||
- DOMAIN-SUFFIX,twimg.co
|
||||
- DOMAIN-SUFFIX,twimg.com
|
||||
- DOMAIN-SUFFIX,twitpic.com
|
||||
- DOMAIN-SUFFIX,twitter.com
|
||||
- DOMAIN-SUFFIX,vine.co
|
||||
# > Wikimedia Foundation
|
||||
- DOMAIN-SUFFIX,wikileaks.org
|
||||
- DOMAIN-SUFFIX,wikimapia.org
|
||||
- DOMAIN-SUFFIX,wikimedia.org
|
||||
- DOMAIN-SUFFIX,wikinews.org
|
||||
- DOMAIN-SUFFIX,wikipedia.org
|
||||
- DOMAIN-SUFFIX,wikiquote.org
|
||||
# > Others
|
||||
- DOMAIN-SUFFIX,4shared.com
|
||||
- DOMAIN-SUFFIX,9cache.com
|
||||
- DOMAIN-SUFFIX,9gag.com
|
||||
- DOMAIN-SUFFIX,abc.com
|
||||
- DOMAIN-SUFFIX,abc.net.au
|
||||
- DOMAIN-SUFFIX,abebooks.com
|
||||
- DOMAIN-SUFFIX,ao3.org
|
||||
- DOMAIN-SUFFIX,apigee.com
|
||||
- DOMAIN-SUFFIX,apkcombo.com
|
||||
- DOMAIN-SUFFIX,apk-dl.com
|
||||
- DOMAIN-SUFFIX,apkfind.com
|
||||
- DOMAIN-SUFFIX,apkmirror.com
|
||||
- DOMAIN-SUFFIX,apkmonk.com
|
||||
- DOMAIN-SUFFIX,apkpure.com
|
||||
- DOMAIN-SUFFIX,aptoide.com
|
||||
- DOMAIN-SUFFIX,archive.is
|
||||
- DOMAIN-SUFFIX,archive.org
|
||||
- DOMAIN-SUFFIX,archiveofourown.com
|
||||
- DOMAIN-SUFFIX,archiveofourown.org
|
||||
- DOMAIN-SUFFIX,arte.tv
|
||||
- DOMAIN-SUFFIX,artstation.com
|
||||
- DOMAIN-SUFFIX,arukas.io
|
||||
- DOMAIN-SUFFIX,ask.com
|
||||
- DOMAIN-SUFFIX,avg.com
|
||||
- DOMAIN-SUFFIX,avgle.com
|
||||
- DOMAIN-SUFFIX,badoo.com
|
||||
- DOMAIN-SUFFIX,bandcamp.com
|
||||
- DOMAIN-SUFFIX,bandwagonhost.com
|
||||
- DOMAIN-SUFFIX,bangkokpost.com
|
||||
- DOMAIN-SUFFIX,bbc.com
|
||||
- DOMAIN-SUFFIX,behance.net
|
||||
- DOMAIN-SUFFIX,biggo.com.tw
|
||||
- DOMAIN-SUFFIX,bit.ly
|
||||
- DOMAIN-SUFFIX,bloglovin.com
|
||||
- DOMAIN-SUFFIX,bloomberg.cn
|
||||
- DOMAIN-SUFFIX,bloomberg.com
|
||||
- DOMAIN-SUFFIX,blubrry.com
|
||||
- DOMAIN-SUFFIX,book.com.tw
|
||||
- DOMAIN-SUFFIX,booklive.jp
|
||||
- DOMAIN-SUFFIX,books.com.tw
|
||||
- DOMAIN-SUFFIX,boslife.net
|
||||
- DOMAIN-SUFFIX,box.com
|
||||
- DOMAIN-SUFFIX,brave.com
|
||||
- DOMAIN-SUFFIX,businessinsider.com
|
||||
- DOMAIN-SUFFIX,buzzfeed.com
|
||||
- DOMAIN-SUFFIX,bwh1.net
|
||||
- DOMAIN-SUFFIX,castbox.fm
|
||||
- DOMAIN-SUFFIX,cbc.ca
|
||||
- DOMAIN-SUFFIX,cdw.com
|
||||
- DOMAIN-SUFFIX,change.org
|
||||
- DOMAIN-SUFFIX,channelnewsasia.com
|
||||
- DOMAIN-SUFFIX,ck101.com
|
||||
- DOMAIN-SUFFIX,clarionproject.org
|
||||
- DOMAIN-SUFFIX,cloudcone.com
|
||||
- DOMAIN-SUFFIX,clubhouseapi.com
|
||||
- DOMAIN-SUFFIX,clyp.it
|
||||
- DOMAIN-SUFFIX,cna.com.tw
|
||||
- DOMAIN-SUFFIX,comparitech.com
|
||||
- DOMAIN-SUFFIX,conoha.jp
|
||||
- DOMAIN-SUFFIX,crucial.com
|
||||
- DOMAIN-SUFFIX,cts.com.tw
|
||||
- DOMAIN-SUFFIX,cw.com.tw
|
||||
- DOMAIN-SUFFIX,cyberctm.com
|
||||
- DOMAIN-SUFFIX,cyclingnews.com
|
||||
- DOMAIN-SUFFIX,dailymotion.com
|
||||
- DOMAIN-SUFFIX,dailyview.tw
|
||||
- DOMAIN-SUFFIX,dandanzan.com
|
||||
- DOMAIN-SUFFIX,daum.net
|
||||
- DOMAIN-SUFFIX,daumcdn.net
|
||||
- DOMAIN-SUFFIX,dcard.tw
|
||||
- DOMAIN-SUFFIX,deadline.com
|
||||
- DOMAIN-SUFFIX,deepdiscount.com
|
||||
- DOMAIN-SUFFIX,depositphotos.com
|
||||
- DOMAIN-SUFFIX,deviantart.com
|
||||
- DOMAIN-SUFFIX,disconnect.me
|
||||
- DOMAIN-SUFFIX,disqus.com
|
||||
- DOMAIN-SUFFIX,dlercloud.com
|
||||
- DOMAIN-SUFFIX,dmhy.org
|
||||
- DOMAIN-SUFFIX,dns2go.com
|
||||
- DOMAIN-SUFFIX,dowjones.com
|
||||
- DOMAIN-SUFFIX,duckduckgo.com
|
||||
- DOMAIN-SUFFIX,duyaoss.com
|
||||
- DOMAIN-SUFFIX,dw.com
|
||||
- DOMAIN-SUFFIX,dynu.com
|
||||
- DOMAIN-SUFFIX,earthcam.com
|
||||
- DOMAIN-SUFFIX,ebookservice.tw
|
||||
- DOMAIN-SUFFIX,economist.com
|
||||
- DOMAIN-SUFFIX,edgecastcdn.net
|
||||
- DOMAIN-SUFFIX,edx-cdn.org
|
||||
- DOMAIN-SUFFIX,elpais.com
|
||||
- DOMAIN-SUFFIX,enanyang.my
|
||||
- DOMAIN-SUFFIX,encyclopedia.com
|
||||
- DOMAIN-SUFFIX,esoir.be
|
||||
- DOMAIN-SUFFIX,etherscan.io
|
||||
- DOMAIN-SUFFIX,euronews.com
|
||||
- DOMAIN-SUFFIX,evozi.com
|
||||
- DOMAIN-SUFFIX,exblog.jp
|
||||
- DOMAIN-SUFFIX,feeder.co
|
||||
- DOMAIN-SUFFIX,feedly.com
|
||||
- DOMAIN-SUFFIX,feedx.net
|
||||
- DOMAIN-SUFFIX,firech.at
|
||||
- DOMAIN-SUFFIX,flickr.com
|
||||
- DOMAIN-SUFFIX,flipboard.com
|
||||
- DOMAIN-SUFFIX,flitto.com
|
||||
- DOMAIN-SUFFIX,foreignpolicy.com
|
||||
- DOMAIN-SUFFIX,fortawesome.com
|
||||
- DOMAIN-SUFFIX,freetls.fastly.net
|
||||
- DOMAIN-SUFFIX,friday.tw
|
||||
- DOMAIN-SUFFIX,ft.com
|
||||
- DOMAIN-SUFFIX,ftchinese.com
|
||||
- DOMAIN-SUFFIX,ftimg.net
|
||||
- DOMAIN-SUFFIX,genius.com
|
||||
- DOMAIN-SUFFIX,getlantern.org
|
||||
- DOMAIN-SUFFIX,getsync.com
|
||||
- DOMAIN-SUFFIX,globalvoices.org
|
||||
- DOMAIN-SUFFIX,goo.ne.jp
|
||||
- DOMAIN-SUFFIX,goodreads.com
|
||||
- DOMAIN-SUFFIX,gov.tw
|
||||
- DOMAIN-SUFFIX,gravatar.com
|
||||
- DOMAIN-SUFFIX,greatfire.org
|
||||
- DOMAIN-SUFFIX,gumroad.com
|
||||
- DOMAIN-SUFFIX,heroku.com
|
||||
- DOMAIN-SUFFIX,hightail.com
|
||||
- DOMAIN-SUFFIX,hk01.com
|
||||
- DOMAIN-SUFFIX,hkbf.org
|
||||
- DOMAIN-SUFFIX,hkbookcity.com
|
||||
- DOMAIN-SUFFIX,hkej.com
|
||||
- DOMAIN-SUFFIX,hket.com
|
||||
- DOMAIN-SUFFIX,hootsuite.com
|
||||
- DOMAIN-SUFFIX,hudson.org
|
||||
- DOMAIN-SUFFIX,huffpost.com
|
||||
- DOMAIN-SUFFIX,hyread.com.tw
|
||||
- DOMAIN-SUFFIX,ibtimes.com
|
||||
- DOMAIN-SUFFIX,i-cable.com
|
||||
- DOMAIN-SUFFIX,icij.org
|
||||
- DOMAIN-SUFFIX,icoco.com
|
||||
- DOMAIN-SUFFIX,imgur.com
|
||||
- DOMAIN-SUFFIX,independent.co.uk
|
||||
- DOMAIN-SUFFIX,initiummall.com
|
||||
- DOMAIN-SUFFIX,inoreader.com
|
||||
- DOMAIN-SUFFIX,insecam.org
|
||||
- DOMAIN-SUFFIX,ipfs.io
|
||||
- DOMAIN-SUFFIX,issuu.com
|
||||
- DOMAIN-SUFFIX,istockphoto.com
|
||||
- DOMAIN-SUFFIX,japantimes.co.jp
|
||||
- DOMAIN-SUFFIX,jiji.com
|
||||
- DOMAIN-SUFFIX,jinx.com
|
||||
- DOMAIN-SUFFIX,jkforum.net
|
||||
- DOMAIN-SUFFIX,joinclubhouse.com
|
||||
- DOMAIN-SUFFIX,joinmastodon.org
|
||||
- DOMAIN-SUFFIX,justmysocks.net
|
||||
- DOMAIN-SUFFIX,justpaste.it
|
||||
- DOMAIN-SUFFIX,kadokawa.co.jp
|
||||
- DOMAIN-SUFFIX,kakao.com
|
||||
- DOMAIN-SUFFIX,kakaocorp.com
|
||||
- DOMAIN-SUFFIX,kik.com
|
||||
- DOMAIN-SUFFIX,kingkong.com.tw
|
||||
- DOMAIN-SUFFIX,knowyourmeme.com
|
||||
- DOMAIN-SUFFIX,kobo.com
|
||||
- DOMAIN-SUFFIX,kobobooks.com
|
||||
- DOMAIN-SUFFIX,kodingen.com
|
||||
- DOMAIN-SUFFIX,lemonde.fr
|
||||
- DOMAIN-SUFFIX,lepoint.fr
|
||||
- DOMAIN-SUFFIX,lihkg.com
|
||||
- DOMAIN-SUFFIX,limbopro.xyz
|
||||
- DOMAIN-SUFFIX,listennotes.com
|
||||
- DOMAIN-SUFFIX,livestream.com
|
||||
- DOMAIN-SUFFIX,logimg.jp
|
||||
- DOMAIN-SUFFIX,logmein.com
|
||||
- DOMAIN-SUFFIX,mail.ru
|
||||
- DOMAIN-SUFFIX,mailchimp.com
|
||||
- DOMAIN-SUFFIX,marc.info
|
||||
- DOMAIN-SUFFIX,matters.news
|
||||
- DOMAIN-SUFFIX,maying.co
|
||||
- DOMAIN-SUFFIX,medium.com
|
||||
- DOMAIN-SUFFIX,mega.nz
|
||||
- DOMAIN-SUFFIX,mergersandinquisitions.com
|
||||
- DOMAIN-SUFFIX,mingpao.com
|
||||
- DOMAIN-SUFFIX,mixi.jp
|
||||
- DOMAIN-SUFFIX,mixlr.com
|
||||
- DOMAIN-SUFFIX,mobile01.com
|
||||
- DOMAIN-SUFFIX,mubi.com
|
||||
- DOMAIN-SUFFIX,myspace.com
|
||||
- DOMAIN-SUFFIX,myspacecdn.com
|
||||
- DOMAIN-SUFFIX,nanyang.com
|
||||
- DOMAIN-SUFFIX,nationalinterest.org
|
||||
- DOMAIN-SUFFIX,naver.com
|
||||
- DOMAIN-SUFFIX,nbcnews.com
|
||||
- DOMAIN-SUFFIX,ndr.de
|
||||
- DOMAIN-SUFFIX,neowin.net
|
||||
- DOMAIN-SUFFIX,newstapa.org
|
||||
- DOMAIN-SUFFIX,nexitally.com
|
||||
- DOMAIN-SUFFIX,nhk.or.jp
|
||||
- DOMAIN-SUFFIX,nii.ac.jp
|
||||
- DOMAIN-SUFFIX,nikkei.com
|
||||
- DOMAIN-SUFFIX,nitter.net
|
||||
- DOMAIN-SUFFIX,nofile.io
|
||||
- DOMAIN-SUFFIX,notion.so
|
||||
- DOMAIN-SUFFIX,now.com
|
||||
- DOMAIN-SUFFIX,nrk.no
|
||||
- DOMAIN-SUFFIX,nuget.org
|
||||
- DOMAIN-SUFFIX,nyaa.si
|
||||
- DOMAIN-SUFFIX,ok.ru
|
||||
- DOMAIN-SUFFIX,on.cc
|
||||
- DOMAIN-SUFFIX,orientaldaily.com.my
|
||||
- DOMAIN-SUFFIX,overcast.fm
|
||||
- DOMAIN-SUFFIX,paltalk.com
|
||||
- DOMAIN-SUFFIX,parsevideo.com
|
||||
- DOMAIN-SUFFIX,pawoo.net
|
||||
- DOMAIN-SUFFIX,pbxes.com
|
||||
- DOMAIN-SUFFIX,pcdvd.com.tw
|
||||
- DOMAIN-SUFFIX,pchome.com.tw
|
||||
- DOMAIN-SUFFIX,pcloud.com
|
||||
- DOMAIN-SUFFIX,peing.net
|
||||
- DOMAIN-SUFFIX,picacomic.com
|
||||
- DOMAIN-SUFFIX,pinimg.com
|
||||
- DOMAIN-SUFFIX,player.fm
|
||||
- DOMAIN-SUFFIX,plurk.com
|
||||
- DOMAIN-SUFFIX,po18.tw
|
||||
- DOMAIN-SUFFIX,potato.im
|
||||
- DOMAIN-SUFFIX,potatso.com
|
||||
- DOMAIN-SUFFIX,prism-break.org
|
||||
- DOMAIN-SUFFIX,proxifier.com
|
||||
- DOMAIN-SUFFIX,pt.im
|
||||
- DOMAIN-SUFFIX,pts.org.tw
|
||||
- DOMAIN-SUFFIX,pubu.com.tw
|
||||
- DOMAIN-SUFFIX,pubu.tw
|
||||
- DOMAIN-SUFFIX,pureapk.com
|
||||
- DOMAIN-SUFFIX,quora.com
|
||||
- DOMAIN-SUFFIX,quoracdn.net
|
||||
- DOMAIN-SUFFIX,qz.com
|
||||
- DOMAIN-SUFFIX,radio.garden
|
||||
- DOMAIN-SUFFIX,rakuten.co.jp
|
||||
- DOMAIN-SUFFIX,rarbgprx.org
|
||||
- DOMAIN-SUFFIX,reabble.com
|
||||
- DOMAIN-SUFFIX,readingtimes.com.tw
|
||||
- DOMAIN-SUFFIX,readmoo.com
|
||||
- DOMAIN-SUFFIX,redbubble.com
|
||||
- DOMAIN-SUFFIX,resilio.com
|
||||
- DOMAIN-SUFFIX,reuters.com
|
||||
- DOMAIN-SUFFIX,reutersmedia.net
|
||||
- DOMAIN-SUFFIX,rfi.fr
|
||||
- DOMAIN-SUFFIX,roadshow.hk
|
||||
- DOMAIN-SUFFIX,rsshub.app
|
||||
- DOMAIN-SUFFIX,scmp.com
|
||||
- DOMAIN-SUFFIX,scribd.com
|
||||
- DOMAIN-SUFFIX,seatguru.com
|
||||
- DOMAIN-SUFFIX,shadowsocks.org
|
||||
- DOMAIN-SUFFIX,shindanmaker.com
|
||||
- DOMAIN-SUFFIX,shopee.tw
|
||||
- DOMAIN-SUFFIX,signal.org
|
||||
- DOMAIN-SUFFIX,sina.com.hk
|
||||
- DOMAIN-SUFFIX,slideshare.net
|
||||
- DOMAIN-SUFFIX,softfamous.com
|
||||
- DOMAIN-SUFFIX,spiegel.de
|
||||
- DOMAIN-SUFFIX,startpage.com
|
||||
- DOMAIN-SUFFIX,steamcommunity.com
|
||||
- DOMAIN-SUFFIX,steemit.com
|
||||
- DOMAIN-SUFFIX,steemitwallet.com
|
||||
- DOMAIN-SUFFIX,straitstimes.com
|
||||
- DOMAIN-SUFFIX,streamable.com
|
||||
- DOMAIN-SUFFIX,streema.com
|
||||
- DOMAIN-SUFFIX,substack.com
|
||||
- DOMAIN-SUFFIX,t66y.com
|
||||
- DOMAIN-SUFFIX,tapatalk.com
|
||||
- DOMAIN-SUFFIX,teco-hk.org
|
||||
- DOMAIN-SUFFIX,teco-mo.org
|
||||
- DOMAIN-SUFFIX,teddysun.com
|
||||
- DOMAIN-SUFFIX,textnow.me
|
||||
- DOMAIN-SUFFIX,theguardian.com
|
||||
- DOMAIN-SUFFIX,theinitium.com
|
||||
- DOMAIN-SUFFIX,themoviedb.org
|
||||
- DOMAIN-SUFFIX,thetvdb.com
|
||||
- DOMAIN-SUFFIX,time.com
|
||||
- DOMAIN-SUFFIX,tineye.com
|
||||
- DOMAIN-SUFFIX,tiny.cc
|
||||
- DOMAIN-SUFFIX,tinyurl.com
|
||||
- DOMAIN-SUFFIX,torproject.org
|
||||
- DOMAIN-SUFFIX,tradingview.com
|
||||
- DOMAIN-SUFFIX,tumblr.com
|
||||
- DOMAIN-SUFFIX,turbobit.net
|
||||
- DOMAIN-SUFFIX,tutanota.com
|
||||
- DOMAIN-SUFFIX,tvboxnow.com
|
||||
- DOMAIN-SUFFIX,udn.com
|
||||
- DOMAIN-SUFFIX,unseen.is
|
||||
- DOMAIN-SUFFIX,upmedia.mg
|
||||
- DOMAIN-SUFFIX,uptodown.com
|
||||
- DOMAIN-SUFFIX,urbandictionary.com
|
||||
- DOMAIN-SUFFIX,ustream.tv
|
||||
- DOMAIN-SUFFIX,uwants.com
|
||||
- DOMAIN-SUFFIX,v2ex.com
|
||||
- DOMAIN-SUFFIX,v2fly.org
|
||||
- DOMAIN-SUFFIX,v2ray.com
|
||||
- DOMAIN-SUFFIX,viber.com
|
||||
- DOMAIN-SUFFIX,videopress.com
|
||||
- DOMAIN-SUFFIX,vimeo.com
|
||||
- DOMAIN-SUFFIX,voachinese.com
|
||||
- DOMAIN-SUFFIX,voanews.com
|
||||
- DOMAIN-SUFFIX,voxer.com
|
||||
- DOMAIN-SUFFIX,vzw.com
|
||||
- DOMAIN-SUFFIX,w3schools.com
|
||||
- DOMAIN-SUFFIX,washingtonpost.com
|
||||
- DOMAIN-SUFFIX,wattpad.com
|
||||
- DOMAIN-SUFFIX,whoer.net
|
||||
- DOMAIN-SUFFIX,wikiwand.com
|
||||
- DOMAIN-SUFFIX,winudf.com
|
||||
- DOMAIN-SUFFIX,wire.com
|
||||
- DOMAIN-SUFFIX,wn.com
|
||||
- DOMAIN-SUFFIX,wordpress.com
|
||||
- DOMAIN-SUFFIX,worldcat.org
|
||||
- DOMAIN-SUFFIX,wsj.com
|
||||
- DOMAIN-SUFFIX,wsj.net
|
||||
- DOMAIN-SUFFIX,xhamster.com
|
||||
- DOMAIN-SUFFIX,xn--90wwvt03e.com
|
||||
- DOMAIN-SUFFIX,xn--i2ru8q2qg.com
|
||||
- DOMAIN-SUFFIX,xnxx.com
|
||||
- DOMAIN-SUFFIX,xvideos.com
|
||||
- DOMAIN-SUFFIX,yadi.sk
|
||||
- DOMAIN-SUFFIX,yahoo.com
|
||||
- DOMAIN-SUFFIX,yandex.ru
|
||||
- DOMAIN-SUFFIX,ycombinator.com
|
||||
- DOMAIN-SUFFIX,yesasia.com
|
||||
- DOMAIN-SUFFIX,yes-news.com
|
||||
- DOMAIN-SUFFIX,yomiuri.co.jp
|
||||
- DOMAIN-SUFFIX,you-get.org
|
||||
- DOMAIN-SUFFIX,zaobao.com
|
||||
- DOMAIN-SUFFIX,zello.com
|
||||
- DOMAIN-SUFFIX,zeronet.io
|
||||
- DOMAIN-SUFFIX,z-lib.org
|
||||
- DOMAIN-SUFFIX,zoom.us
|
||||
|
||||
- DOMAIN,cc.tvbs.com.tw
|
||||
- DOMAIN,clubhouse.pubnubapi.com
|
||||
- DOMAIN,ocsp.int-x3.letsencrypt.org
|
||||
- DOMAIN,us.weibo.com
|
||||
|
||||
- DOMAIN-SUFFIX,edu
|
||||
- DOMAIN-SUFFIX,gov
|
||||
- DOMAIN-SUFFIX,mil
|
||||
|
||||
# (IP Blackhole)
|
||||
# > Google
|
||||
- DOMAIN-SUFFIX,abc.xyz
|
||||
- DOMAIN-SUFFIX,advertisercommunity.com
|
||||
- DOMAIN-SUFFIX,ampproject.org
|
||||
- DOMAIN-SUFFIX,android.com
|
||||
- DOMAIN-SUFFIX,androidify.com
|
||||
- DOMAIN-SUFFIX,autodraw.com
|
||||
- DOMAIN-SUFFIX,capitalg.com
|
||||
- DOMAIN-SUFFIX,certificate-transparency.org
|
||||
- DOMAIN-SUFFIX,chrome.com
|
||||
- DOMAIN-SUFFIX,chromeexperiments.com
|
||||
- DOMAIN-SUFFIX,chromestatus.com
|
||||
- DOMAIN-SUFFIX,chromium.org
|
||||
- DOMAIN-SUFFIX,creativelab5.com
|
||||
- DOMAIN-SUFFIX,debug.com
|
||||
- DOMAIN-SUFFIX,deepmind.com
|
||||
- DOMAIN-SUFFIX,dialogflow.com
|
||||
- DOMAIN-SUFFIX,firebaseio.com
|
||||
- DOMAIN-SUFFIX,getmdl.io
|
||||
- DOMAIN-SUFFIX,ggpht.com
|
||||
- DOMAIN-SUFFIX,gmail.com
|
||||
- DOMAIN-SUFFIX,gmodules.com
|
||||
- DOMAIN-SUFFIX,godoc.org
|
||||
- DOMAIN-SUFFIX,gstatic.com
|
||||
- DOMAIN-SUFFIX,gv.com
|
||||
- DOMAIN-SUFFIX,gwtproject.org
|
||||
- DOMAIN-SUFFIX,itasoftware.com
|
||||
- DOMAIN-SUFFIX,madewithcode.com
|
||||
- DOMAIN-SUFFIX,material.io
|
||||
- DOMAIN-SUFFIX,page.link
|
||||
- DOMAIN-SUFFIX,polymer-project.org
|
||||
- DOMAIN-SUFFIX,recaptcha.net
|
||||
- DOMAIN-SUFFIX,shattered.io
|
||||
- DOMAIN-SUFFIX,synergyse.com
|
||||
- DOMAIN-SUFFIX,telephony.goog
|
||||
- DOMAIN-SUFFIX,tensorflow.org
|
||||
- DOMAIN-SUFFIX,tfhub.dev
|
||||
- DOMAIN-SUFFIX,tiltbrush.com
|
||||
- DOMAIN-SUFFIX,waveprotocol.org
|
||||
- DOMAIN-SUFFIX,waymo.com
|
||||
- DOMAIN-SUFFIX,webmproject.org
|
||||
- DOMAIN-SUFFIX,webrtc.org
|
||||
- DOMAIN-SUFFIX,whatbrowser.org
|
||||
- DOMAIN-SUFFIX,widevine.com
|
||||
- DOMAIN-SUFFIX,x.company
|
||||
- DOMAIN-SUFFIX,youtu.be
|
||||
- DOMAIN-SUFFIX,yt.be
|
||||
- DOMAIN-SUFFIX,ytimg.com
|
||||
# > Telegram
|
||||
- DOMAIN-SUFFIX,t.me
|
||||
- DOMAIN-SUFFIX,tdesktop.com
|
||||
- DOMAIN-SUFFIX,telegram.me
|
||||
- DOMAIN-SUFFIX,telesco.pe
|
||||
# > Facebook
|
||||
- DOMAIN-KEYWORD,.facebook.
|
||||
- DOMAIN-SUFFIX,facebookmail.com
|
||||
# > Others
|
||||
- DOMAIN-SUFFIX,noxinfluencer.com
|
||||
- DOMAIN-SUFFIX,smartmailcloud.com
|
||||
- DOMAIN-SUFFIX,weebly.com
|
||||
- DOMAIN-SUFFIX,twitter.jp
|
||||
|
||||
# (Region-Restricted Access Denied)
|
||||
# ---(Apple)---
|
||||
- DOMAIN-SUFFIX,appsto.re
|
||||
- DOMAIN,books.itunes.apple.com
|
||||
- DOMAIN-SUFFIX,smoot.apple.com
|
||||
- DOMAIN,beta.music.apple.com
|
||||
- DOMAIN,lookup-api.apple.com
|
||||
# > Web Preview
|
||||
- DOMAIN,apps.apple.com
|
||||
- DOMAIN,books.apple.com
|
||||
- DOMAIN,itunes.apple.com
|
||||
- DOMAIN,tv.apple.com
|
||||
# > Podcasts
|
||||
- DOMAIN,amp-api.podcasts.apple.com
|
||||
- DOMAIN,bookkeeper.itunes.apple.com
|
||||
# > News
|
||||
- DOMAIN,gateway.icloud.com
|
||||
- DOMAIN-SUFFIX,apple.news
|
||||
- DOMAIN,news-assets.apple.com
|
||||
- DOMAIN,news-client.apple.com
|
||||
- DOMAIN,news-client-search.apple.com
|
||||
- DOMAIN,news-edge.apple.com
|
||||
- DOMAIN,news-events.apple.com
|
||||
- DOMAIN,apple.comscoreresearch.com
|
||||
# ------
|
||||
# Google
|
||||
- DOMAIN-SUFFIX,go.dev
|
||||
- DOMAIN-SUFFIX,golang.org
|
||||
# > Others
|
||||
- DOMAIN-SUFFIX,aicoin.com
|
||||
- DOMAIN-SUFFIX,aimoon.com
|
||||
- DOMAIN-SUFFIX,bing.com
|
||||
- DOMAIN-SUFFIX,cccat.io
|
||||
- DOMAIN-SUFFIX,dubox.com
|
||||
- DOMAIN-SUFFIX,duboxcdn.com
|
||||
- DOMAIN-SUFFIX,ifixit.com
|
||||
- DOMAIN-SUFFIX,mangakakalot.com
|
||||
- DOMAIN-SUFFIX,shopeemobile.com
|
||||
- DOMAIN-SUFFIX,sushi.com
|
||||
|
||||
# (Network Jitter)
|
||||
# > Apple
|
||||
- DOMAIN,appleid.apple.com
|
||||
- DOMAIN,developer.apple.com
|
||||
- DOMAIN,www.icloud.com
|
||||
- DOMAIN,ocsp.apple.com
|
||||
# > DigiCert
|
||||
- DOMAIN,cacerts.digicert.com
|
||||
- DOMAIN,crl3.digicert.com
|
||||
- DOMAIN,crl4.digicert.com
|
||||
- DOMAIN,ocsp.digicert.com
|
||||
# > Others
|
||||
- DOMAIN-SUFFIX,cloudcone.com.cn
|
||||
- DOMAIN-SUFFIX,inkbunny.net
|
||||
- DOMAIN-SUFFIX,metapix.net
|
||||
- DOMAIN-SUFFIX,s3.amazonaws.com
|
||||
- DOMAIN-SUFFIX,zaobao.com.sg
|
||||
- DOMAIN,international-gfe.download.nvidia.com
|
@ -0,0 +1,37 @@
|
||||
payload:
|
||||
# > Google FCM
|
||||
- DOMAIN,alt1-mtalk.google.com
|
||||
- DOMAIN,alt2-mtalk.google.com
|
||||
- DOMAIN,alt3-mtalk.google.com
|
||||
- DOMAIN,alt4-mtalk.google.com
|
||||
- DOMAIN,alt5-mtalk.google.com
|
||||
- DOMAIN,alt6-mtalk.google.com
|
||||
- DOMAIN,alt7-mtalk.google.com
|
||||
- DOMAIN,alt8-mtalk.google.com
|
||||
- DOMAIN,mtalk.google.com
|
||||
- IP-CIDR,64.233.177.188/32,no-resolve
|
||||
- IP-CIDR,64.233.186.188/32,no-resolve
|
||||
- IP-CIDR,64.233.187.188/32,no-resolve
|
||||
- IP-CIDR,64.233.188.188/32,no-resolve
|
||||
- IP-CIDR,64.233.189.188/32,no-resolve
|
||||
- IP-CIDR,74.125.23.188/32,no-resolve
|
||||
- IP-CIDR,74.125.24.188/32,no-resolve
|
||||
- IP-CIDR,74.125.28.188/32,no-resolve
|
||||
- IP-CIDR,74.125.127.188/32,no-resolve
|
||||
- IP-CIDR,74.125.137.188/32,no-resolve
|
||||
- IP-CIDR,74.125.203.188/32,no-resolve
|
||||
- IP-CIDR,74.125.204.188/32,no-resolve
|
||||
- IP-CIDR,74.125.206.188/32,no-resolve
|
||||
- IP-CIDR,108.177.125.188/32,no-resolve
|
||||
- IP-CIDR,142.250.4.188/32,no-resolve
|
||||
- IP-CIDR,142.250.10.188/32,no-resolve
|
||||
- IP-CIDR,142.250.31.188/32,no-resolve
|
||||
- IP-CIDR,142.250.96.188/32,no-resolve
|
||||
- IP-CIDR,172.217.194.188/32,no-resolve
|
||||
- IP-CIDR,172.217.218.188/32,no-resolve
|
||||
- IP-CIDR,172.217.219.188/32,no-resolve
|
||||
- IP-CIDR,172.253.63.188/32,no-resolve
|
||||
- IP-CIDR,172.253.122.188/32,no-resolve
|
||||
- IP-CIDR,173.194.175.188/32,no-resolve
|
||||
- IP-CIDR,173.194.218.188/32,no-resolve
|
||||
- IP-CIDR,209.85.233.188/32,no-resolve
|
23
luci-app-openclash/root/etc/openclash/rule_provider/HBO
Normal file
23
luci-app-openclash/root/etc/openclash/rule_provider/HBO
Normal file
@ -0,0 +1,23 @@
|
||||
payload:
|
||||
# > HBO Max
|
||||
- PROCESS-NAME,com.hbo.hbonow
|
||||
- DOMAIN-SUFFIX,hbo.com
|
||||
- DOMAIN-SUFFIX,hbogo.com
|
||||
- DOMAIN-SUFFIX,hbonow.com
|
||||
- DOMAIN-SUFFIX,hbomax.com
|
||||
- DOMAIN-SUFFIX,hbomaxcdn.com
|
||||
|
||||
# > HBO GO
|
||||
- DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com
|
||||
- DOMAIN,bcbolthboa-a.akamaihd.net
|
||||
- DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net
|
||||
- DOMAIN,dai3fd1oh325y.cloudfront.net
|
||||
- DOMAIN,hboasia1-i.akamaihd.net
|
||||
- DOMAIN,hboasia2-i.akamaihd.net
|
||||
- DOMAIN,hboasia3-i.akamaihd.net
|
||||
- DOMAIN,hboasia4-i.akamaihd.net
|
||||
- DOMAIN,hboasia5-i.akamaihd.net
|
||||
- DOMAIN,players.brightcove.net
|
||||
- DOMAIN,s3-ap-southeast-1.amazonaws.com
|
||||
- DOMAIN-SUFFIX,hbogoasia.com
|
||||
- DOMAIN-SUFFIX,hbogoasia.hk
|
21
luci-app-openclash/root/etc/openclash/rule_provider/HBO_Go
Normal file
21
luci-app-openclash/root/etc/openclash/rule_provider/HBO_Go
Normal file
@ -0,0 +1,21 @@
|
||||
payload:
|
||||
# > HBO Max
|
||||
# - USER-AGENT,HBO%20GO%20PROD*
|
||||
|
||||
# - DOMAIN-KEYWORD,hboasia
|
||||
- DOMAIN-KEYWORD,hbogoasia
|
||||
|
||||
- DOMAIN-SUFFIX,hboasia.com
|
||||
- DOMAIN-SUFFIX,hbogo.co.th
|
||||
- DOMAIN-SUFFIX,hbogo.com
|
||||
- DOMAIN-SUFFIX,hbogo.eu
|
||||
- DOMAIN-SUFFIX,hbogoasia.com
|
||||
- DOMAIN-SUFFIX,hbogoasia.id
|
||||
- DOMAIN-SUFFIX,hbogoasia.ph
|
||||
|
||||
- DOMAIN,hbolb.onwardsmg.com
|
||||
- DOMAIN,hbounify-prod.evergent.com
|
||||
# - DOMAIN,bcbolthboa-a.akamaihd.net
|
||||
- DOMAIN,dai3fd1oh325y.cloudfront.net
|
||||
# - DOMAIN,hboasialive.akamaized.net
|
||||
# - DOMAIN,hbogoprod-vod.akamaized.net
|
11
luci-app-openclash/root/etc/openclash/rule_provider/HBO_Max
Normal file
11
luci-app-openclash/root/etc/openclash/rule_provider/HBO_Max
Normal file
@ -0,0 +1,11 @@
|
||||
payload:
|
||||
# > HBO Max
|
||||
# - USER-AGENT,HBOMAX*
|
||||
|
||||
- DOMAIN-SUFFIX,hbo.com
|
||||
- DOMAIN-SUFFIX,hbomax.com
|
||||
- DOMAIN-SUFFIX,hbomaxcdn.com
|
||||
- DOMAIN-SUFFIX,hbonow.com
|
||||
- DOMAIN-SUFFIX,hbomax.com
|
||||
|
||||
- DOMAIN,execute-api.ap-southeast-1.amazonaws.com
|
23
luci-app-openclash/root/etc/openclash/rule_provider/Hulu
Normal file
23
luci-app-openclash/root/etc/openclash/rule_provider/Hulu
Normal file
@ -0,0 +1,23 @@
|
||||
payload:
|
||||
# > Hulu
|
||||
- PROCESS-NAME,com.hulu.plus
|
||||
|
||||
- DOMAIN-SUFFIX,hulu.com
|
||||
- DOMAIN-SUFFIX,hulu.hb.omtrdc.net
|
||||
- DOMAIN-SUFFIX,hulu.sc.omtrdc.net
|
||||
- DOMAIN-SUFFIX,huluad.com
|
||||
- DOMAIN-SUFFIX,huluim.com
|
||||
- DOMAIN-SUFFIX,hulumail.com
|
||||
- DOMAIN-SUFFIX,huluqa.com
|
||||
- DOMAIN-SUFFIX,hulustream.com
|
||||
|
||||
- DOMAIN,cs428.wpc.edgecastcdn.net
|
||||
- DOMAIN,cws-hulu.conviva.com
|
||||
- DOMAIN,hulu.com.c.footprint.net
|
||||
- DOMAIN,hulu.map.fastly.net
|
||||
|
||||
- IP-CIDR,8.28.124.0/23
|
||||
- IP-CIDR,199.60.116.0/24
|
||||
- IP-CIDR,199.200.48.0/22
|
||||
- IP-CIDR,208.91.156.0/22
|
||||
- IP-CIDR6,2620:100:3000::/40
|
@ -0,0 +1,8 @@
|
||||
payload:
|
||||
# > Hulu(フールー)
|
||||
- PROCESS-NAME,jp.happyon.android
|
||||
- DOMAIN-SUFFIX,happyon.jp
|
||||
- DOMAIN-SUFFIX,hulu.jp
|
||||
- DOMAIN-SUFFIX,prod.hjholdings.tv
|
||||
- DOMAIN-SUFFIX,streaks.jp
|
||||
- DOMAIN-SUFFIX,yb.uncn.jp
|
31
luci-app-openclash/root/etc/openclash/rule_provider/IQI
Normal file
31
luci-app-openclash/root/etc/openclash/rule_provider/IQI
Normal file
@ -0,0 +1,31 @@
|
||||
payload:
|
||||
# > iQIYI Intl
|
||||
# - USER-AGENT,iQIYI*
|
||||
# - USER-AGENT,QIYIVideo*
|
||||
# - USER-AGENT,QYPlayer*
|
||||
# - USER-AGENT,QTP*
|
||||
# - PROCESS-NAME,com.iqiyi.i18n
|
||||
# - PROCESS-NAME,com.iqiyi.i18n.tv
|
||||
- DOMAIN-SUFFIX,inter.iqiyi.com
|
||||
- DOMAIN-SUFFIX,iq.com
|
||||
# 首页
|
||||
- DOMAIN-SUFFIX,intl.iqiyi.com
|
||||
# 历史
|
||||
- DOMAIN,intl-rcd.iqiyi.com
|
||||
# 收藏
|
||||
- DOMAIN,intl-subscription.iqiyi.com
|
||||
# 播放
|
||||
- IP-CIDR,104.85.165.17/32,no-resolve
|
||||
- IP-CIDR,110.238.107.47/32,no-resolve
|
||||
- IP-CIDR,118.26.32.162/32,no-resolve
|
||||
- IP-CIDR,159.138.102.146/32,no-resolve
|
||||
- IP-CIDR,184.51.102.0/24,no-resolve
|
||||
- IP-CIDR,203.74.95.130/28,no-resolve
|
||||
- IP-CIDR,203.80.97.203/32,no-resolve
|
||||
- IP-CIDR,210.71.227.202/32,no-resolve
|
||||
- IP-CIDR,23.200.145.146/32,no-resolve
|
||||
- IP-CIDR,23.210.215.186/32,no-resolve
|
||||
- IP-CIDR,23.211.15.0/24,no-resolve
|
||||
- IP-CIDR,23.219.172.0/24,no-resolve
|
||||
- IP-CIDR,23.40.242.10/32,no-resolve
|
||||
- IP-CIDR,23.59.252.0/24,no-resolve
|
12
luci-app-openclash/root/etc/openclash/rule_provider/IQYI
Normal file
12
luci-app-openclash/root/etc/openclash/rule_provider/IQYI
Normal file
@ -0,0 +1,12 @@
|
||||
payload:
|
||||
# > IQIYI
|
||||
# - USER-AGENT,*QIYI*
|
||||
# - USER-AGENT,iQiYi*
|
||||
- DOMAIN-SUFFIX,iqiyi.com
|
||||
- DOMAIN-SUFFIX,iqiyipic.com
|
||||
- DOMAIN-SUFFIX,iq.com
|
||||
- DOMAIN-SUFFIX,qy.net
|
||||
- DOMAIN-SUFFIX,gitv.tv
|
||||
- DOMAIN-SUFFIX,71.am
|
||||
- DOMAIN-KEYWORD,qiyi
|
||||
- DOMAIN,cache.video.iqiyi.com
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user