snowflake: mount default geoip paths

-metrics option requires access to these files to geolocate clients

Signed-off-by: matzfan <matzfan@mailinator.com>
This commit is contained in:
matzfan
2026-03-30 15:59:03 +01:00
committed by Hannu Nyman
parent 6bea93328f
commit a6f5b115bb
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=snowflake
PKG_VERSION:=2.11.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
+3
View File
@@ -17,6 +17,9 @@ start_service() {
[ -x /sbin/ujail ] && {
procd_add_jail snowflake-proxy ronly
procd_add_jail_mount /etc/ssl/certs
# change the following if specifying non default paths with the -geoipdb or -geoip6db command parameters
procd_add_jail_mount /usr/share/tor/geoip
procd_add_jail_mount /usr/share/tor/geoip6
procd_set_param no_new_privs 1
}
procd_close_instance