[Bug]: Iran regional preset uses wrong GeoFiles on Linux and causes geosite:ir EOF error
- Lingua principale
- C#
- Stelle
- 116k
- Fork
- 15.9k
- Merge medio
- 1g 15h
- PR unite (30g)
- 49
Descrizione
### 操作系统 / v2rayN / Core 版本
OS: Arch Linux x86_64 v2rayN: 7.25.1 Core: Xray 26.7.11
### 预期情况
When the Regional preset is set to Iran, v2rayN should download/use the Iran-specific GeoFiles and Xray should start normally with rules such as: geosite:ir geoip:ir
### 实际情况
When Regional preset = Iran is selected, Xray fails to start because the installed geosite.dat does not contain the required IR rule.
Changing the Regional preset back to Default makes v2rayN start normally.
Manually replacing geosite.dat and geoip.dat with the latest files from Chocolate4U/Iran-v2ray-rules also fixes the problem.
So it appears that the Iran preset is not downloading or replacing the correct GeoFiles on Linux.
### 复现方法
Run v2rayN 7.25.1 on Linux.
Open Regional/Download settings.
Set the regional preset to Iran.
Start a VLESS profile.
Xray fails while parsing geosite:ir.
Change the regional preset to Default.
Start the same profile again.
It works normally.
### 软件日志
[VLESS] PRIME
v2rayN - V7.25.1 - X64
Starting service...
Failed to run Core, please check the prompt information
The delay: -1 ms, none
Core log
Xray 26.7.11 (Xray, Penetrates Everything.)
### 内核日志
Xray 26.7.11 (Xray, Penetrates Everything.) [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json} Failed to start: main: failed to load config files: [config.json] > infra/conf: failed to build DNS configuration > infra/conf: failed to build nameserver > common/geodata: illegal domain rule: geosite:ir > common/geodata: failed to check code IR from geosite.dat > EOF
### 额外信息
The GeoFiles installed by v2rayN were still old:
geoip.dat 17M 2026-08-11
geosite.dat 11M 2026-08-11
After manually installing the latest Iran GeoFiles from:
Chocolate4U/Iran-v2ray-rules
the original geosite:ir configuration worked correctly and Xray returned:
Configuration OK.
This suggests that selecting the Iran regional preset does not correctly update/download the Iran-specific GeoFiles on Linux.
### 我确认已更新至最新版本
- [x] 是
### 我确认已查询历史issues
- [x] 是
### 我确认系统版本是受支持的
- [x] 是
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.