howto use antizapret

This commit is contained in:
ElonJunior 2025-01-17 10:26:24 +08:00
parent eaf962f4aa
commit 67274b6f2c
3 changed files with 25 additions and 17 deletions

View File

@ -67,12 +67,12 @@ jobs:
cp -r ../meta-rules-dat/geo ./ cp -r ../meta-rules-dat/geo ./
bash ../workflow/resouces/merge_geo_ir.sh ./geo ../Iran-sing-box-rules/ bash ../workflow/resouces/merge_geo_ir.sh ./geo ../Iran-sing-box-rules/
- name: RU copy geo rules # - name: RU copy geo rules
env: # env:
NO_SKIP: true # NO_SKIP: true
run: | # run: |
cd sing-rule || exit 1 # cd sing-rule || exit 1
curl -o geo/geosite/antizapret.srs -sSL https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.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 - name: maker karing built-in rule-set group
env: env:

View File

@ -25,12 +25,19 @@
- [Improve domain suffix match behavior](https://github.com/SagerNet/sing/commit/4d96f15eca075f4b5535053304d54812fdfa96e0) - [Improve domain suffix match behavior](https://github.com/SagerNet/sing/commit/4d96f15eca075f4b5535053304d54812fdfa96e0)
# GeoIP/GeoSite # GeoIP/GeoSite
- The srs files of Russia come from **savely-krasovsky** ## russia
``` - howto use `antizapret.srs` in karing
geosite - Add New Diversion Group
antizapret.srs - -> fill in srs url
``` - `https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.srs`
- -> save rule-set
- 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.
## iran
- The source files of Iran come from **Chocolate4U** - The source files of Iran come from **Chocolate4U**
``` ```
geoip/ geoip/
@ -80,6 +87,7 @@
``` ```
## description
- geosite的一些说明: - geosite的一些说明:
``` ```
geosite:category-ads 包含了常见的广告域名。 geosite:category-ads 包含了常见的广告域名。

View File

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