Closed ghkghkghk closed 5 hours ago
I am also interested in this question. At the moment, all the sites that I visit are proxied. How to solve the problem?
It uses new sing-box rules and auto updates them, no need to worry about them anymore. I think every 120 hours or at each start.
It uses new sing-box rules and auto updates them, no need to worry about them anymore. I think every 120 hours or at each start.
As you described, these two "db" files will be updated by sing-box every 120 hours. Is this correct?
It uses new sing-box rules and auto updates them, no need to worry about them anymore. I think every 120 hours or at each start.
This obviously doesn't work because now all my sites open from the IP server. domains . ru are not filtered!
As you described, these two "db" files will be updated by sing-box every 120 hours. Is this correct?
Nope, it reads directly from urls , you can check the urls it is using by openning the current-config.json
file.
It has some urls to the .srs
files like this:
"rule_set": [
{
"type": "remote",
"tag": "geoip-ru",
"format": "binary",
"url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/country/geoip-ru.srs",
"update_interval": "120h0m0s"
},
{
"type": "remote",
"tag": "geosite-ru",
"format": "binary",
"url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/country/geosite-ru.srs",
"update_interval": "120h0m0s"
},
{
"type": "remote",
"tag": "geosite-ads",
"format": "binary",
"url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-category-ads-all.srs",
"update_interval": "120h0m0s"
},
{
"type": "remote",
"tag": "geosite-malware",
"format": "binary",
"url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-malware.srs",
"update_interval": "120h0m0s"
},
{
"type": "remote",
"tag": "geosite-phishing",
"format": "binary",
"url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-phishing.srs",
"update_interval": "120h0m0s"
},
{
"type": "remote",
"tag": "geosite-cryptominers",
"format": "binary",
"url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-cryptominers.srs",
"update_interval": "120h0m0s"
},
...
The first two rules will be added by the region you select, And the rest will be added if you turn on block advertisement
As you described, these two "db" files will be updated by sing-box every 120 hours. Is this correct?
Nope, it reads directly from urls , you can check the urls it is using by openning the
current-config.json
file. It has some urls to the.srs
files like this:"rule_set": [ { "type": "remote", "tag": "geoip-ru", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/country/geoip-ru.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-ru", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/country/geosite-ru.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-ads", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-category-ads-all.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-malware", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-malware.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-phishing", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-phishing.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-cryptominers", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-cryptominers.srs", "update_interval": "120h0m0s" }, ...
The first two rules will be added by the region you select, And the rest will be added if you turn on block advertisement
So, manually deleting the two "db" files in the working directory will have no effect, right?
I would also like to ask, the size of this online "srs" file is very small, can it replace the function of the original db format file?
So, manually deleting the two "db" files in the working directory will have no effect, right?
You can clearout content of geo-assets folder with no problem in 1.6.x
I would also like to ask, the size of this online "srs" file is very small, can it replace the function of the original db format file?
Usually so small, that's why sing-box changed it ruling format so it doesn't need to load a 10 MB .db file for 100 KB .db rules.
You can download the .srs
files and check their size.
For example geoip-ru.srs is about 65 KB
What should I do on Android?
What should I do on Android?
Nothing ... just use it ... If you dont want old .db files, you can clear out its data ... but not needed on any of them. New hiddify uses the new sing-box rules
What should I do on Android?
Nothing ... just use it ... If you dont want old .db files, you can clear out its data ... but not needed on any of them. New hiddify uses the new sing-box rules So I used to have all .ru domains opened directly, but now with some kind of fig through a proxy. How do I do this?
What should I do on Android?
Nothing ... just use it ... If you dont want old .db files, you can clear out its data ... but not needed on any of them. New hiddify uses the new sing-box rules
My routes are not filtered .ru
No idea ... Have you set correct region? Maybe uninstall /install ... see how it goes. Or wait for stable release.
No idea ... Have you set correct region? Maybe uninstall /install ... see how it goes. Or wait for stable release.
I have a stable version, I deleted and reinstalled the program. It's no use.
There are no .ru contortions on any site.
Search first
What Happened?
As the title says, how do I update geoip.db and geosite.db in the latest version (1.6.0 dev)?
Minimal Reproducible Example (MRE)
Expected Behavior
No response
Version
1.6.2 dev
Platform/OS
Windows
Additional Context
No response
Application Config Options
No response
Relevant log output
No response
Are you willing to submit a PR? If you know how to fix the bug.