From 8f884370e99f76cade6fc1eaf495cb7853d5f7ba Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 3 Jun 2025 00:59:01 -0700 Subject: [PATCH 1/5] Add Tor proxy plugin to manifest --- manifest.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/manifest.json b/manifest.json index 2203758..5b6752b 100644 --- a/manifest.json +++ b/manifest.json @@ -183,6 +183,43 @@ "www-data ALL=(ALL) NOPASSWD:/usr/bin/tailscale *", "www-data ALL=(ALL) NOPASSWD:/etc/raspap/networking/ts-optimize.sh" ] + }, + { + "id": "6", + "name": "Tor Proxy", + "version": "v1.0.0", + "description": "A Tor proxy server add-on for RaspAP", + "author": "Bill Zimmerman", + "author_uri": "https://github.com/billz", + "plugin_uri": "https://github.com/billz/TorProxy", + "plugin_docs": "https://github.com/billz/TorProxy", + "license": "GPL-3.0", + "namespace": "RaspAP\\Plugins\\TorProxy", + "configuration": [ + { + "source": "config/torrc", + "destination": "/etc/tor/torrc" + } + ], + "permissions": [ + { + "file": "/run/tor/control.authcookie", + "owner": "debian-tor", + "group": "debian-tor", + "mode": "0755" + } + ], + "default_locale": "en_US", + "dependencies": { + "tor": "0.4.7.16", + "nyx": "2.1.0" + }, + "icon": "fas ra-onion", + "manifest_version": "1.0", + "sudoers": [ + "www-data ALL=(ALL) NOPASSWD:/bin/systemctl * tor@default.service", + "www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/torrc /etc/tor/torrc" + ] } ] } From f8cd0db92c198076b235775af262e0295ac67995 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 3 Jun 2025 01:00:39 -0700 Subject: [PATCH 2/5] Set install_path for Tor proxy --- manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.json b/manifest.json index 5b6752b..c7a195c 100644 --- a/manifest.json +++ b/manifest.json @@ -215,6 +215,7 @@ "nyx": "2.1.0" }, "icon": "fas ra-onion", + "install_path": "plugins", "manifest_version": "1.0", "sudoers": [ "www-data ALL=(ALL) NOPASSWD:/bin/systemctl * tor@default.service", From 4ceebfe204a37140776ee94e5b607287e6fe9593 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 3 Jun 2025 01:20:16 -0700 Subject: [PATCH 3/5] Set icon to ra-torproxy --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index c7a195c..3144627 100644 --- a/manifest.json +++ b/manifest.json @@ -214,7 +214,7 @@ "tor": "0.4.7.16", "nyx": "2.1.0" }, - "icon": "fas ra-onion", + "icon": "fas ra-torproxy", "install_path": "plugins", "manifest_version": "1.0", "sudoers": [ From 23a033cf02ccd1096e2d162a3bbb2b22c957ed55 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 3 Jun 2025 01:22:16 -0700 Subject: [PATCH 4/5] Revise icon for custom font --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 3144627..32f6565 100644 --- a/manifest.json +++ b/manifest.json @@ -214,7 +214,7 @@ "tor": "0.4.7.16", "nyx": "2.1.0" }, - "icon": "fas ra-torproxy", + "icon": "ra-torproxy", "install_path": "plugins", "manifest_version": "1.0", "sudoers": [ From dcc0017966bfa95944ec44b82d8632eeb8ca6dc9 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 4 Jun 2025 02:17:56 -0700 Subject: [PATCH 5/5] Update TorProxy release version --- manifest.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/manifest.json b/manifest.json index 32f6565..9bbde86 100644 --- a/manifest.json +++ b/manifest.json @@ -187,7 +187,7 @@ { "id": "6", "name": "Tor Proxy", - "version": "v1.0.0", + "version": "v1.1.0", "description": "A Tor proxy server add-on for RaspAP", "author": "Bill Zimmerman", "author_uri": "https://github.com/billz", @@ -201,14 +201,6 @@ "destination": "/etc/tor/torrc" } ], - "permissions": [ - { - "file": "/run/tor/control.authcookie", - "owner": "debian-tor", - "group": "debian-tor", - "mode": "0755" - } - ], "default_locale": "en_US", "dependencies": { "tor": "0.4.7.16",