mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5817] how can use city-level db? #4041
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4041
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hotick on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5817
Originally posted by @hotick in #5754
@github-actions[bot] commented on GitHub (Jul 5, 2026):
This is a continuation of #5754, which you opened and which was already answered and closed. For reference, the relevant points from that thread:
geoip:<code>/geosite:<code>) are evaluated by Xray-core's router, not by 3x-ui itself. Xray-core only reads its own compiled geo database format (common/geodata/geodat.proto, loaded viacommon/geodata/geodat_loader.go) — there is no MaxMind.mmdbreader in xray-core's source, so a rawGeoLite2-City.mmdbcannot be loaded directly by the panel or by Xray..mmdbsupport were added upstream in xray-core, itsgeoip:matcher only resolves country-code tags (e.g.geoip:cn), not city-level entries. City-granularity routing (e.g. Shanghai specifically) is not something the current Xray-core routing engine supports, independent of file format.Because this depends on Xray-core's routing engine rather than on 3x-ui, it isn't something that can be added in this panel alone. Please continue the discussion on #5754 rather than here.
This reply was generated automatically. A maintainer may follow up.
@hotick commented on GitHub (Jul 5, 2026):
I see, thanks