mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2026-01-25 22:17:05 +03:00
Compare commits
3 Commits
2025-01-28
...
2025-01-28
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d44dabac5 | ||
|
|
89dcc32a69 | ||
|
|
e243c5e671 |
2
.github/workflows/create-lists.yml
vendored
2
.github/workflows/create-lists.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
-v ${{ github.workspace }}/Categories:/app/Categories \
|
||||
-v ${{ github.workspace }}/Services:/app/Services \
|
||||
-v ${{ github.workspace }}/SRS:/app/SRS \
|
||||
itdoginfo/compilesrs:0.1.2
|
||||
itdoginfo/compilesrs:0.1.3
|
||||
|
||||
- name: Check Russia/inside-dnsmasq-ipset
|
||||
uses: itdoginfo/dnsmasq-action@0.1
|
||||
|
||||
@@ -24,6 +24,7 @@ kinozal.guru
|
||||
cnd2exp.online
|
||||
torrentgalaxy.to
|
||||
rutor.org
|
||||
rutor.info
|
||||
cdnbunny.org
|
||||
rutracker.org
|
||||
rutracker.net
|
||||
@@ -34,6 +35,21 @@ riperam.org
|
||||
megapeer.vip
|
||||
piratbit.top
|
||||
|
||||
vpnlove.me
|
||||
redshieldvpn.com
|
||||
psiphon.ca
|
||||
vpngate.net
|
||||
mullvad.net
|
||||
censortracker.org
|
||||
prostovpn.org
|
||||
vpngen.org
|
||||
amnezia.org
|
||||
cyberghostvpn.com
|
||||
getoutline.org
|
||||
vpnpay.io
|
||||
protonvpn.com
|
||||
surfshark.com
|
||||
|
||||
pages.dev
|
||||
remove.bg
|
||||
unscreen.com
|
||||
@@ -181,6 +197,7 @@ lucid.app
|
||||
hdkinoteatr.com
|
||||
steamstat.info
|
||||
statology.org
|
||||
lostfilm.tv
|
||||
lostfilmtv2.site
|
||||
static.lostfilm.top
|
||||
filmix.fm
|
||||
@@ -196,18 +213,4 @@ bluehost.com
|
||||
ionos.com
|
||||
digitalocean.com
|
||||
godaddy.com
|
||||
hetzner.com
|
||||
vpnlove.me
|
||||
redshieldvpn.com
|
||||
psiphon.ca
|
||||
vpngate.net
|
||||
mullvad.net
|
||||
censortracker.org
|
||||
prostovpn.org
|
||||
vpngen.org
|
||||
amnezia.org
|
||||
cyberghostvpn.com
|
||||
getoutline.org
|
||||
vpnpay.io
|
||||
protonvpn.com
|
||||
surfshark.com
|
||||
hetzner.com
|
||||
@@ -246,4 +246,5 @@ www3.corsair.com
|
||||
groupon.com
|
||||
qt.io
|
||||
strava.com
|
||||
watermarkremover.io
|
||||
watermarkremover.io
|
||||
cdromance.org
|
||||
@@ -87,6 +87,7 @@ DOMAIN-SUFFIX,cbilling.vip
|
||||
DOMAIN-SUFFIX,cdn.web-platform.io
|
||||
DOMAIN-SUFFIX,cdnbunny.org
|
||||
DOMAIN-SUFFIX,cdninstagram.com
|
||||
DOMAIN-SUFFIX,cdromance.org
|
||||
DOMAIN-SUFFIX,cdw.com
|
||||
DOMAIN-SUFFIX,censortracker.org
|
||||
DOMAIN-SUFFIX,chaos.com
|
||||
@@ -342,6 +343,7 @@ DOMAIN-SUFFIX,liveuamap.com
|
||||
DOMAIN-SUFFIX,locals.md
|
||||
DOMAIN-SUFFIX,lolz.guru
|
||||
DOMAIN-SUFFIX,lookerstudio.google.com
|
||||
DOMAIN-SUFFIX,lostfilm.tv
|
||||
DOMAIN-SUFFIX,lostfilmtv2.site
|
||||
DOMAIN-SUFFIX,lucid.app
|
||||
DOMAIN-SUFFIX,mail-api.proton.me
|
||||
@@ -513,6 +515,7 @@ DOMAIN-SUFFIX,rublacklist.net
|
||||
DOMAIN-SUFFIX,rule34.art
|
||||
DOMAIN-SUFFIX,rus.delfi.ee
|
||||
DOMAIN-SUFFIX,rus.jauns.lv
|
||||
DOMAIN-SUFFIX,rutor.info
|
||||
DOMAIN-SUFFIX,rutor.org
|
||||
DOMAIN-SUFFIX,rutracker.net
|
||||
DOMAIN-SUFFIX,rutracker.org
|
||||
|
||||
@@ -87,6 +87,7 @@ ipset=/cbilling.vip/vpn_domains
|
||||
ipset=/cdn.web-platform.io/vpn_domains
|
||||
ipset=/cdnbunny.org/vpn_domains
|
||||
ipset=/cdninstagram.com/vpn_domains
|
||||
ipset=/cdromance.org/vpn_domains
|
||||
ipset=/cdw.com/vpn_domains
|
||||
ipset=/censortracker.org/vpn_domains
|
||||
ipset=/chaos.com/vpn_domains
|
||||
@@ -342,6 +343,7 @@ ipset=/liveuamap.com/vpn_domains
|
||||
ipset=/locals.md/vpn_domains
|
||||
ipset=/lolz.guru/vpn_domains
|
||||
ipset=/lookerstudio.google.com/vpn_domains
|
||||
ipset=/lostfilm.tv/vpn_domains
|
||||
ipset=/lostfilmtv2.site/vpn_domains
|
||||
ipset=/lucid.app/vpn_domains
|
||||
ipset=/mail-api.proton.me/vpn_domains
|
||||
@@ -513,6 +515,7 @@ ipset=/rublacklist.net/vpn_domains
|
||||
ipset=/rule34.art/vpn_domains
|
||||
ipset=/rus.delfi.ee/vpn_domains
|
||||
ipset=/rus.jauns.lv/vpn_domains
|
||||
ipset=/rutor.info/vpn_domains
|
||||
ipset=/rutor.org/vpn_domains
|
||||
ipset=/rutracker.net/vpn_domains
|
||||
ipset=/rutracker.org/vpn_domains
|
||||
|
||||
@@ -87,6 +87,7 @@ nftset=/cbilling.vip/4#inet#fw4#vpn_domains
|
||||
nftset=/cdn.web-platform.io/4#inet#fw4#vpn_domains
|
||||
nftset=/cdnbunny.org/4#inet#fw4#vpn_domains
|
||||
nftset=/cdninstagram.com/4#inet#fw4#vpn_domains
|
||||
nftset=/cdromance.org/4#inet#fw4#vpn_domains
|
||||
nftset=/cdw.com/4#inet#fw4#vpn_domains
|
||||
nftset=/censortracker.org/4#inet#fw4#vpn_domains
|
||||
nftset=/chaos.com/4#inet#fw4#vpn_domains
|
||||
@@ -342,6 +343,7 @@ nftset=/liveuamap.com/4#inet#fw4#vpn_domains
|
||||
nftset=/locals.md/4#inet#fw4#vpn_domains
|
||||
nftset=/lolz.guru/4#inet#fw4#vpn_domains
|
||||
nftset=/lookerstudio.google.com/4#inet#fw4#vpn_domains
|
||||
nftset=/lostfilm.tv/4#inet#fw4#vpn_domains
|
||||
nftset=/lostfilmtv2.site/4#inet#fw4#vpn_domains
|
||||
nftset=/lucid.app/4#inet#fw4#vpn_domains
|
||||
nftset=/mail-api.proton.me/4#inet#fw4#vpn_domains
|
||||
@@ -513,6 +515,7 @@ nftset=/rublacklist.net/4#inet#fw4#vpn_domains
|
||||
nftset=/rule34.art/4#inet#fw4#vpn_domains
|
||||
nftset=/rus.delfi.ee/4#inet#fw4#vpn_domains
|
||||
nftset=/rus.jauns.lv/4#inet#fw4#vpn_domains
|
||||
nftset=/rutor.info/4#inet#fw4#vpn_domains
|
||||
nftset=/rutor.org/4#inet#fw4#vpn_domains
|
||||
nftset=/rutracker.net/4#inet#fw4#vpn_domains
|
||||
nftset=/rutracker.org/4#inet#fw4#vpn_domains
|
||||
|
||||
@@ -86,6 +86,7 @@ cbilling.vip
|
||||
cdn.web-platform.io
|
||||
cdnbunny.org
|
||||
cdninstagram.com
|
||||
cdromance.org
|
||||
cdw.com
|
||||
censortracker.org
|
||||
chaos.com
|
||||
@@ -341,6 +342,7 @@ liveuamap.com
|
||||
locals.md
|
||||
lolz.guru
|
||||
lookerstudio.google.com
|
||||
lostfilm.tv
|
||||
lostfilmtv2.site
|
||||
lucid.app
|
||||
mail-api.proton.me
|
||||
@@ -512,6 +514,7 @@ rublacklist.net
|
||||
rule34.art
|
||||
rus.delfi.ee
|
||||
rus.jauns.lv
|
||||
rutor.info
|
||||
rutor.org
|
||||
rutracker.net
|
||||
rutracker.org
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
/ip dns static add name=cdn.web-platform.io type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=cdnbunny.org type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=cdninstagram.com type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=cdromance.org type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=cdw.com type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=censortracker.org type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=chaos.com type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
@@ -342,6 +343,7 @@
|
||||
/ip dns static add name=locals.md type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=lolz.guru type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=lookerstudio.google.com type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=lostfilm.tv type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=lostfilmtv2.site type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=lucid.app type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=mail-api.proton.me type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
@@ -513,6 +515,7 @@
|
||||
/ip dns static add name=rule34.art type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=rus.delfi.ee type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=rus.jauns.lv type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=rutor.info type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=rutor.org type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=rutracker.net type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
/ip dns static add name=rutracker.org type=FWD address-list=allow-domains match-subdomain=yes forward-to=localhost
|
||||
|
||||
@@ -87,6 +87,7 @@ cbilling.vip
|
||||
cdn.web-platform.io
|
||||
cdnbunny.org
|
||||
cdninstagram.com
|
||||
cdromance.org
|
||||
cdw.com
|
||||
censortracker.org
|
||||
chaos.com
|
||||
@@ -342,6 +343,7 @@ liveuamap.com
|
||||
locals.md
|
||||
lolz.guru
|
||||
lookerstudio.google.com
|
||||
lostfilm.tv
|
||||
lostfilmtv2.site
|
||||
lucid.app
|
||||
mail-api.proton.me
|
||||
@@ -513,6 +515,7 @@ rublacklist.net
|
||||
rule34.art
|
||||
rus.delfi.ee
|
||||
rus.jauns.lv
|
||||
rutor.info
|
||||
rutor.org
|
||||
rutracker.net
|
||||
rutracker.org
|
||||
|
||||
37
convert.py
37
convert.py
@@ -17,6 +17,8 @@ rusDomainsOutsideOut='Russia/outside'
|
||||
uaDomainsSrc='src/Ukraine-domains-inside.lst'
|
||||
uaDomainsOut='Ukraine/inside'
|
||||
DiscordSubnets = 'Subnets/IPv4/Discord.lst'
|
||||
MetaSubnets = 'Subnets/IPv4/Meta.lst'
|
||||
TwitterSubnets = 'Subnets/IPv4/Twitter.lst'
|
||||
|
||||
def raw(src, out):
|
||||
domains = set()
|
||||
@@ -265,16 +267,27 @@ def generate_srs_subnets(input_file, output_json_directory='JSON', compiled_outp
|
||||
if subnet:
|
||||
subnets.append(subnet)
|
||||
|
||||
data = {
|
||||
"version": 2,
|
||||
"rules": [
|
||||
{
|
||||
"network": ["udp"],
|
||||
"ip_cidr": subnets,
|
||||
"port_range": ["50000:65535"]
|
||||
}
|
||||
]
|
||||
}
|
||||
if input_file == "Subnets/IPv4/Discord.lst":
|
||||
data = {
|
||||
"version": 2,
|
||||
"rules": [
|
||||
{
|
||||
"network": ["udp"],
|
||||
"ip_cidr": subnets,
|
||||
"port_range": ["50000:65535"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
else:
|
||||
data = {
|
||||
"version": 2,
|
||||
"rules": [
|
||||
{
|
||||
"ip_cidr": subnets
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
filename = os.path.splitext(os.path.basename(input_file))[0]
|
||||
output_file_path = os.path.join(output_json_directory, f"{filename}-subnets.json")
|
||||
@@ -347,4 +360,6 @@ if __name__ == '__main__':
|
||||
generate_srs_for_categories(directories)
|
||||
|
||||
# Sing-box subnets
|
||||
generate_srs_subnets(DiscordSubnets)
|
||||
generate_srs_subnets(DiscordSubnets)
|
||||
generate_srs_subnets(TwitterSubnets)
|
||||
generate_srs_subnets(MetaSubnets)
|
||||
Reference in New Issue
Block a user