plugins: style sweep

This commit is contained in:
Franco Fichtner 2022-05-11 12:07:59 +02:00
parent 433ec8e0f2
commit db3fb848d9
14 changed files with 13 additions and 22 deletions

View File

@ -29,17 +29,17 @@
const ABOUT = <<<TXT
This script implements remote command execution using SSH. It reuses
identities and "known_hosts" management from SFTP, located inside the
This script implements remote command execution using SSH. It reuses
identities and "known_hosts" management from SFTP, located inside the
local configuration folder (see "upload_sftp.php" for details).
Primary purpose is to support the creation of automation tasks that trigger
actions after a certificate has been uploaded (requires that actions can
actions after a certificate has been uploaded (requires that actions can
have an execution order).
In addition to automations, all operations can also be triggered manually
using simple CLI commands.
See: EXAMPLES & actions_acmeclient.conf
TXT;

View File

@ -8,4 +8,3 @@
mkdir -p -m 0700 /usr/local/etc/crowdsec/opnsense
configctl crowdsec reconfigure

View File

@ -5,4 +5,3 @@ service crowdsec_firewall stop >/dev/null 2>&1 | :
# the rest of the cleanup is done in the post-deinstall script, otherwise
# the plugin recreates the objects during "filter reload".

View File

@ -46,4 +46,3 @@ Plugin Changelog
* fixed an issue that prevented the bouncer from banning IPs on opnsense
* fixed support for notification plugins

View File

@ -7,7 +7,8 @@ use OPNsense\Core\Config;
use OPNsense\Firewall\Alias;
use OPNsense\Firewall\Plugin;
function add_alias_if_not_exist($name, $description, $proto) {
function add_alias_if_not_exist($name, $description, $proto)
{
$model = new Alias();
if ($model->getByName($name) != null) {
@ -40,7 +41,7 @@ function crowdsec_firewall(Plugin $fw)
$rules_tag = "";
if (isset($general['rules_tag'])) {
$rules_tag = $general['rules_tag'];
};
}
add_alias_if_not_exist('crowdsec_blacklists', 'CrowdSec (IPv4)', 'IPv4');

View File

@ -3,4 +3,3 @@
# https://docs.opnsense.org/development/backend/autorun.html
/usr/local/opnsense/scripts/OPNsense/CrowdSec/hub-upgrade.sh

View File

@ -59,7 +59,7 @@
CrowdSec Central API
(meaning <a href="https://docs.crowdsec.net/docs/concepts/">timestamp, scenario, attacking IP</a>).</p>
<p>Other attack behaviors can be recognized on the OPNsense server and its plugins, or
<p>Other attack behaviors can be recognized on the OPNsense server and its plugins, or
<a href="https://doc.crowdsec.net/docs/next/user_guides/multiserver_setup">any other agent</a>
connected to the same LAPI node. Other types of remediation are possible (ex. captcha test for scraping attempts).</p>
@ -87,7 +87,7 @@
<li>
The parsers, scenarios and all objects from the <a href="https://hub.crowdsec.net/">CrowdSec Hub</a>
are periodically upgraded. The
<a href="https://hub.crowdsec.net/author/crowdsecurity/collections/freebsd">crowdsecurity/freebsd</a> and
<a href="https://hub.crowdsec.net/author/crowdsecurity/collections/freebsd">crowdsecurity/freebsd</a> and
<a href="https://hub.crowdsec.net/author/crowdsecurity/collections/opnsense">crowdsecurity/opnsense</a>
collections are installed by default.
</li>
@ -139,4 +139,3 @@
</div>
</div>
</div>

View File

@ -15,4 +15,3 @@ if service crowdsec enabled; then
service crowdsec restart >/dev/null 2>&1 || :
fi
fi

View File

@ -30,4 +30,3 @@ fi
rm -f /usr/local/etc/crowdsec/opnsense-settings.json
echo "OK"

View File

@ -91,4 +91,3 @@ message:crowdsec version
command:/usr/local/opnsense/scripts/OPNsense/CrowdSec/reconfigure.sh
type:script_output
message:crowdsec reconfigure

View File

@ -1,5 +1,3 @@
{% if helpers.exists('OPNsense.crowdsec.general') -%}
{{ OPNsense.crowdsec.general | tojson }}
{%- endif %}

View File

@ -1,6 +1,6 @@
PLUGIN_NAME= stunnel
PLUGIN_VERSION= 1.0.4
PLUGIN_REVISION= 1
PLUGIN_REVISION= 1
PLUGIN_COMMENT= Stunnel TLS proxy
PLUGIN_MAINTAINER= ad@opnsense.org
PLUGIN_DEPENDS= stunnel

View File

@ -1,4 +1,4 @@
This plugin adds a proprietary repository to install Zenarmor (previously Sensei),
This plugin adds a proprietary repository to install Zenarmor (previously Sensei),
a plugin for OPNsense, complementing the firewall with state of the art
next generation firewall features.

View File

@ -2,7 +2,7 @@ PLUGIN_NAME= web-proxy-useracl
PLUGIN_VERSION= 1.1
PLUGIN_REVISION= 2
PLUGIN_COMMENT= Group and user ACL for the web proxy
PLUGIN_OBSOLETE= No changes since 2018
PLUGIN_OBSOLETE= No changes since 2018
PLUGIN_MAINTAINER= kekek2@ya.ru
PLUGIN_WWW= https://smart-soft.ru