заблокированных доменах

This commit is contained in:
ElonJunior 2025-01-17 15:28:03 +08:00
parent 67274b6f2c
commit e4f3e1b690
3 changed files with 39 additions and 13 deletions

View File

@ -67,13 +67,19 @@ jobs:
cp -r ../meta-rules-dat/geo ./
bash ../workflow/resouces/merge_geo_ir.sh ./geo ../Iran-sing-box-rules/
# - name: RU copy geo rules
# env:
# NO_SKIP: true
# run: |
# cd sing-rule || exit 1
- name: RU copy geo rules
env:
NO_SKIP: true
run: |
cd sing-rule || exit 1
curl -o geo/geoip/blocked@ru.srs -sSL https://github.com/runetfreedom/russia-v2ray-rules-dat/raw/refs/heads/release/sing-box/rule-set-geoip/geoip-ru-blocked.srs
curl -o geo/geoip/blocked-community@ru.srs -sSL https://github.com/runetfreedom/russia-v2ray-rules-dat/raw/refs/heads/release/sing-box/rule-set-geoip/geoip-ru-blocked-community.srs
curl -o geo/geoip/re-filter@ru.srs -sSL https://github.com/runetfreedom/russia-v2ray-rules-dat/raw/refs/heads/release/sing-box/rule-set-geoip/geoip-re-filter.srs
curl -o geo/geosite/blocked@ru.srs -sSL https://github.com/runetfreedom/russia-v2ray-rules-dat/raw/refs/heads/release/sing-box/rule-set-geosite/geosite-ru-blocked.srs
curl -o geo/geosite/available-only-inside@ru.srs -sSL https://github.com/runetfreedom/russia-v2ray-rules-dat/raw/refs/heads/release/sing-box/rule-set-geosite/geosite-ru-available-only-inside.srs
# curl -o geo/geosite/antizapret@ru.srs -sSL https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.srs
- name: maker karing built-in rule-set group
env:
NO_SKIP: true

View File

@ -14,6 +14,8 @@
- @VPNBrooklynSup (🧑🏻‍💻 پشتیبانی بروکلین «دریچه»)
- [savely-krasovsky/antizapret-sing-box](https://github.com/savely-krasovsky/antizapret-sing-box/)
- Lists of domain and IPs blocked in Russia in Rule Set form
- [runetfreedom/russia-v2ray-rules-dat](https://github.com/runetfreedom/russia-v2ray-rules-dat)
- Этот репозиторий содержит автоматически обновляемые правила маршрутизации V2Ray, основанные на данных о заблокированных доменах и адресах в России.
## Welcome to submit your preferred rule-set
- [submit your preferred rule-set](https://github.com/KaringX/karing-ruleset/issues/2)
@ -26,7 +28,8 @@
# GeoIP/GeoSite
## russia
- howto use `antizapret.srs` in karing
- howto use [runetfreedom/russia-v2ray-rules-dat](https://github.com/runetfreedom/russia-v2ray-rules-dat) or [savely-krasovsky/antizapret-sing-box](https://github.com/savely-krasovsky/antizapret-sing-box/) in karing
- be like: `antizapret.srs`
- Add New Diversion Group
- -> fill in srs url
- `https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.srs`
@ -34,7 +37,21 @@
- return to Diversion Rules Page, Custom Diversion Group
- -> select the newly created Diversion Group
- -> Action selection is `Current Select`
- **Note** due to the current large size of the SRS file (about 5MB), it should only be used on **Windows**, there is a possibility of exceeding the memory limit on Android and iOS.
- **Note** Please pay attention to the size of the SRS file, such as being greater than **3M**, it should only be used on **Windows**, there is a possibility of exceeding the memory limit on Android and iOS.
- The source files of Iran come from **russia-v2ray-rules-dat**
```
geoip/
blocked@ru.srs
blocked-community@ru.srs
re-filter@ru.srs
geosite
blocked@ru.srs
available-only-inside@ru.srs
```
## iran

View File

@ -235,12 +235,15 @@ OPT_RULESET_GROUPS['cn'] = {
##end china
##start ru
# OPT_RULESET_GROUPS['ru'] = OPT_RULESET_GROUPS['default'].copy()
# OPT_RULESET_GROUPS['ru']['𐰁 antizapret'] = {
# 'default': 'on',
# 'outbound': 'selector_out',
# 'rules': ['geosite:antizapret@ru'],
# }
OPT_RULESET_GROUPS['ru'] = OPT_RULESET_GROUPS['default'].copy()
OPT_RULESET_GROUPS['ru']['🇷🇺 blocked'] = {
'default': 'on',
'outbound': 'selector_out',
'rules': [
'geoip/blocked@ru',
'geosite/blocked@ru',
],
}
##end ru
##start iran