Skip to content

Improving and Optimizing Routing for Iranian Users #18

@AmirhosseinBrooklyn

Description

@AmirhosseinBrooklyn

Greetings to the respected Karing Team,

You might recall me from a previous issue regarding routing improvements for Iranian users. I greatly appreciate your previous implementation and acknowledgment. With recent Karing updates, I suggest the following enhancements:


1. Integrating Updated GeoIP and GeoSite from Chocolate4U

Please utilize the following reputable sources for GeoIP and GeoSite, removing any previously used sources:

Type Link
GeoIP https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/latest-release/geoip.dat
GeoSite https://raw.githubusercontent.com/Chocolate4U/Iran-v2ray-rules/latest-release/geosite.dat

This frequently updated project is widely supported by modern clients.


2. Auto-Attach Routing Rules from Iran-hosted-domains

Even with complete GeoIP and GeoSite data, robust routing rules are crucial. Please integrate the following project's predefined rules automatically:

Additionally, enable Persian AdBlock by default alongside the existing Ads and Malware options:

Format Link
TXT clash_rules_ads.txt
YAML clash_rules_ads.yaml

Example ideal configuration (Shadowrocket):


3. Enable Automatic Updates for Routing Resources

Given the minimal file sizes and daily updates, please implement automatic updates. Implementation guidelines can be found here:

You can determine an optimal update check interval.


4. Removal of Default Diversion Rules (Arvancloud & ParsPack)

Previously suggested default diversion rules for Arvancloud and ParsPack become redundant and possibly conflicting with the above implementations. Please disable them and retain only the following default options:

  • Adblock (Adguard)
  • Persian AdBlock
  • Malware

I hope these recommendations significantly enhance routing performance for Iranian users.
Thank you for your continued attention and collaboration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions