summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/etc/tor-controlport-filter.d/onionshare.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/etc/tor-controlport-filter.d/onionshare.yml')
-rw-r--r--config/chroot_local-includes/etc/tor-controlport-filter.d/onionshare.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/tor-controlport-filter.d/onionshare.yml b/config/chroot_local-includes/etc/tor-controlport-filter.d/onionshare.yml
new file mode 100644
index 0000000..776e1df
--- /dev/null
+++ b/config/chroot_local-includes/etc/tor-controlport-filter.d/onionshare.yml
@@ -0,0 +1,22 @@
+---
+- exe-paths:
+ - '/usr/bin/onionshare'
+ - '/usr/bin/onionshare-gui'
+ users:
+ - 'amnesia'
+ commands:
+ GETINFO:
+ - 'version'
+ - 'onions/current'
+ ADD_ONION:
+ - 'NEW:BEST Port=80,176([0-4][0-9]|50)'
+ DEL_ONION:
+ - '.+'
+ confs:
+ __owningcontrollerprocess:
+ events:
+ SIGNAL:
+ suppress: true
+ CONF_CHANGED:
+ suppress: true
+ HS_DESC: