-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Package Name
snowflake-proxy
Maintainer
OpenWrt Version
25.12.0-rc5
OpenWrt Target/Subtarget
mediatek/filogic
Steps to Reproduce
- install
snowflake-proxypackage - install
tor-geoippackage (this creates 2 files:/usr/share/tor/geoipand/usr/share/torgeoip6) - edit
/etc/init.d/snowflake-proxyscript and add-metricsflag as command parameter - restart proxy:
/etc/init.d/snowflake-proxy - read logs:
logread|grep snowflake-proxy
Logs should include output like the following:-
<timestamp> Using geoip file /usr/share/tor/geoip with checksum 4bdff9c5c91eb87685fb637e8cbcb1f5b0cab970
<timestamp> Loaded 372677 entries into table
<timestamp> Using geoip file /usr/share/tor/geoip6 with checksum 265f349d046819240b0a930ba50b2a4274c2b362
<timestamp> Loaded 286480 entries into table
<timestamp> Proxy starting
Actual Behaviour
Logs look like this:
<timestamp> Error loading geoip db for country based metrics: open /usr/share/tor/geoip: no such file or directory
<timestamp> Proxy starting
If I comment out this line in the init script and restart the proxy the files are read fine.
Note also it should be possible to specify non-default absolute file paths to the 2 files in the init script via the command line parameters -geoipdb and -geoipdb6 respectively - see the command help here.
Related forum question here. If I get an answer I'll do a PR!
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Reactions are currently unavailable