From: matzfan Date: Mon, 30 Mar 2026 14:59:03 +0000 (+0100) Subject: snowflake: mount default geoip paths X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a6f5b115bba23cc1a108a601acfca1fab823a092;p=openwrt-packages.git snowflake: mount default geoip paths -metrics option requires access to these files to geolocate clients Signed-off-by: matzfan --- diff --git a/net/snowflake/Makefile b/net/snowflake/Makefile index f5951c189..c045eb691 100644 --- a/net/snowflake/Makefile +++ b/net/snowflake/Makefile @@ -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 diff --git a/net/snowflake/files/snowflake-proxy.init b/net/snowflake/files/snowflake-proxy.init index 3d8b4387d..f9b97c084 100644 --- a/net/snowflake/files/snowflake-proxy.init +++ b/net/snowflake/files/snowflake-proxy.init @@ -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