security/tor: merge final tweaks from master

This commit is contained in:
Franco Fichtner 2018-02-07 07:23:56 +01:00
parent 635207730e
commit b93a5815cb
5 changed files with 0 additions and 5 deletions

View file

@ -39,7 +39,6 @@ class ExitaclController extends ApiMutableModelControllerBase
static protected $internalModelClass = '\OPNsense\Tor\ACLExitPolicy';
public function searchaclAction()
{
$this->sessionClose();
return $this->searchBase('policy', array('enabled', 'type', 'network', 'action', 'startport', 'endport'));
}
public function getaclAction($uuid = null)

View file

@ -77,7 +77,6 @@ class GeneralController extends ApiMutableModelControllerBase
public function searchhidservauthAction()
{
$this->sessionClose();
return $this->searchBase('client_authentications.client_auth', array('enabled', 'onion_service', 'auth_cookie'));
}

View file

@ -36,7 +36,6 @@ class HiddenserviceController extends ApiMutableModelControllerBase
static protected $internalModelClass = '\OPNsense\Tor\HiddenService';
public function searchserviceAction()
{
$this->sessionClose();
return $this->searchBase('service', array('enabled', 'name'));
}
public function getserviceAction($uuid = null)

View file

@ -36,7 +36,6 @@ class HiddenserviceaclController extends ApiMutableModelControllerBase
static protected $internalModelClass = '\OPNsense\Tor\HiddenServiceACL';
public function searchaclAction()
{
$this->sessionClose();
return $this->searchBase('hiddenserviceacl', array('enabled', 'hiddenservice', 'port', 'target_host', 'target_port'));
}
public function getaclAction($uuid = null)

View file

@ -36,7 +36,6 @@ class SocksaclController extends ApiMutableModelControllerBase
static protected $internalModelClass = '\OPNsense\Tor\ACLSocksPolicy';
public function searchaclAction()
{
$this->sessionClose();
return $this->searchBase('policy', array('enabled', 'type', 'network', 'action'));
}
public function getaclAction($uuid = null)