Closed ilfat12 closed 3 days ago
This error is probably due to the fact that sometimes a real IP is given instead of a fake IP. I have not noticed this with source format.
Still, this problem is not related to the one described above. I will describe it in another bug
Only files that are written continuously (like cp/mv) can be reloaded. In your use case, there will be long write pauses waiting for compilation, so this scenario is not supported.
Now I understand why there are no errors when restarting the service. I will use mv. Thanks!
Even with mv there was an error:
ERROR[91140] router: reload rule-set block: EOF
Disabling COW on btrfs for the directory with these files solved the problem completely.
Operating system
Linux
System version
Linux 6.6
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
If I add large lists of rulesets, such as catagory-ads-all or ip countries, then unexpected EOF errors appear in the logs when updating binary rulesets. There are no problems in source format.
This error is probably due to the fact that sometimes a real IP is given instead of a fake IP. I have not noticed this with source format.
Reproduction
Run:
Add geosite-category-ads-all.srs as binary ruleset to the config file. Restart sing-box and watch its output. Run the following command again to have the file changed and the application reread the rulesets (thanks for this feature):
sing-box rule-set compile geosite-category-ads-all.json
Logs
Supporter
Integrity requirements