mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/ntopng: new datadir (#1179)
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
PLUGIN_NAME= ntopng
|
||||
PLUGIN_VERSION= 1.1
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_VERSION= 1.2
|
||||
PLUGIN_COMMENT= Traffic Analysis and Flow Collection
|
||||
PLUGIN_DEPENDS= ntopng
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -4,4 +4,24 @@ is based on libpcap and it has been written in a portable
|
||||
way in order to virtually run on every Unix platform, MacOSX
|
||||
and on Windows as well.
|
||||
|
||||
|
||||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.2
|
||||
|
||||
* Changed data directory to avoid warning
|
||||
* Make data directory persistant in MFS environments
|
||||
|
||||
1.1
|
||||
|
||||
* Add https support
|
||||
|
||||
1.0
|
||||
|
||||
* Initial release
|
||||
* Allow to set a http port
|
||||
* Allow user how to handle reverse lookups in ntopng
|
||||
|
||||
|
||||
WWW: https://www.ntop.org/products/traffic-analysis/ntop/
|
||||
|
||||
@@ -4,8 +4,13 @@ mkdir -p /var/run/ntopng/
|
||||
chmod 755 /var/run/ntopng
|
||||
chown ntopng:ntopng /var/run/ntopng
|
||||
|
||||
mkdir -p /var/tmp/ntopng/
|
||||
chmod 755 /var/tmp/ntopng
|
||||
chown ntopng:wheel /var/tmp/ntopng
|
||||
mkdir -p /var/db/ntopng/
|
||||
chmod 755 /var/db/ntopng
|
||||
chown ntopng:wheel /var/db/ntopng
|
||||
|
||||
if [ -d /var/tmp/ntopng ]; then
|
||||
mv /var/tmp/ntopng/* /var/db/ntopng/
|
||||
rm -rf /var/tmp/ntopng
|
||||
fi
|
||||
|
||||
/usr/local/opnsense/scripts/OPNsense/Ntopng/generate_certs.php
|
||||
|
||||
@@ -5,3 +5,4 @@ ntopng_flags="/usr/local/etc/ntopng.conf"
|
||||
{% else %}
|
||||
ntopng_enable="NO"
|
||||
{% endif %}
|
||||
ntopng_var_mfs="/var/db/ntopng"
|
||||
|
||||
@@ -12,4 +12,5 @@
|
||||
{% if helpers.exists('OPNsense.ntopng.general.dnsmode') and OPNsense.ntopng.general.dnsmode != '' %}
|
||||
-n={{ OPNsense.ntopng.general.dnsmode }}
|
||||
{% endif %}
|
||||
-d=/var/db/ntopng
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user