diff --git a/security/tor/Makefile b/security/tor/Makefile
index b6d00b634..28d460a1a 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -1,5 +1,5 @@
PLUGIN_NAME= tor
-PLUGIN_VERSION= 0.1
+PLUGIN_VERSION= 0.2
PLUGIN_COMMENT= The Onion Router
PLUGIN_DEPENDS= tor
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
diff --git a/security/tor/pkg-descr b/security/tor/pkg-descr
new file mode 100644
index 000000000..579bc518f
--- /dev/null
+++ b/security/tor/pkg-descr
@@ -0,0 +1,9 @@
+Tor is a connection-based low-latency anonymous communication system which
+addresses many flaws in the original onion routing design.
+
+Tor is a toolset for a wide range of organizations and people that
+want to improve their safety and security on the Internet. Using
+Tor can help you anonymize web browsing and publishing, instant
+messaging, IRC, SSH, and more. Tor also provides a platform on which
+software developers can build new applications with built-in
+anonymity, safety, and privacy features.
diff --git a/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/Api/ServiceController.php b/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/Api/ServiceController.php
index 8be3d5db0..0846d2059 100644
--- a/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/Api/ServiceController.php
+++ b/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/Api/ServiceController.php
@@ -148,7 +148,7 @@ class ServiceController extends ApiControllerBase
$backend->configdRun('template reload OPNsense/Tor');
// (re)start daemon
- if ($general->enabled->__toString() == 1) {
+ if ($general->enabled->__toString() == '1') {
$this->startAction();
}
diff --git a/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/IndexController.php b/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/IndexController.php
index b2e0739a0..c5a04e4cf 100644
--- a/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/IndexController.php
+++ b/security/tor/src/opnsense/mvc/app/controllers/OPNsense/Tor/IndexController.php
@@ -48,4 +48,10 @@ class IndexController extends \OPNsense\Base\IndexController
$this->view->exitpolicy = $this->getForm("acl_exitpolicy");
$this->view->pick('OPNsense/Tor/general');
}
+
+ public function infoAction()
+ {
+ $this->view->title = gettext("The Onion Router - Information");
+ $this->view->pick('OPNsense/Tor/info');
+ }
}
diff --git a/security/tor/src/opnsense/mvc/app/models/OPNsense/Tor/Menu/Menu.xml b/security/tor/src/opnsense/mvc/app/models/OPNsense/Tor/Menu/Menu.xml
index 9dd1e7b47..a39ace8ad 100644
--- a/security/tor/src/opnsense/mvc/app/models/OPNsense/Tor/Menu/Menu.xml
+++ b/security/tor/src/opnsense/mvc/app/models/OPNsense/Tor/Menu/Menu.xml
@@ -2,6 +2,7 @@