Chocolate4U / Iran-v2ray-rules

Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking.
GNU General Public License v3.0
280 stars 20 forks source link

Questions about `geoip` and `geosite` files. #9

Closed hawshemi closed 10 months ago

hawshemi commented 10 months ago
  1. Are these :
geoip:arvancloud
geoip:derakcloud
geoip:iranserver
geoip:parspack

included in geoip:ir ?

  1. for malware & phishing blocking, should I use both geoip:malware/phishing and geosite:malware/phishing? or one of them is enough?

  2. what are the differences between "geosite:category-ir" (from loyalsoldier) and your geosite:ir?

  3. what are the differences between "geosite:category-ads-all" (from loyalsoldier) and your geosite:category-ads-all?

Chocolate4U commented 10 months ago
  1. No, due to the limitation of Maxmind's .mmdb format, there can be only 1 copy of each IP address. Therefore we can't include them both in geoip:ir and their respective category. This also true for sing-box .db files which are based on .mmdb files. but for v2ray .dat files, they don't have this limitation and because some of these CDN's IP addresses are already included in Maxmind and IP2location databases, they are also present in geoip.dat:ir but not as complete as CDN's seperate categories.

  2. Yes you have to use both of them. Some malwares are served via IP address only, without any domain name.

  3. geosite:category-ir has limited and incomplete Iranian domains, while geosite:ir contains domains from iran-hosted-domains which includes all of geosite:category-ir + many more Iranian domains from multiple sources.

  4. My geosite:category-ads-all is way more comprehensive than loyalsoldier's geosite:category-ads-all. you can see the full list of blocklists in Sources section. It also includes Persian Ads from PersianBlocker which the latter doesn't.

hawshemi commented 10 months ago

Thanks.