Commit graph

4030 commits

Author SHA1 Message Date
emanuele-f
c6c6c46132 Implement configsets target hosts CIDR match 2019-12-20 14:27:38 +01:00
Alfredo Cardigliano
7199364854 Improved devices connection/disconnection detection to remove (too many) invalid messages (fix #3122) 2019-12-20 12:54:25 +01:00
Simone Mainardi
29095ac4af Fixes bytes expressed with decimals 2019-12-20 12:25:19 +01:00
emanuele-f
f62aa15117 Load new configsets while loading user scripts
Hosts/SNMP devices will be handled separately
2019-12-20 12:19:49 +01:00
Alfredo Cardigliano
a134ddfbc0 WImprove updates failures detection. Warns he user about updates/upgrade failures 2019-12-20 11:49:22 +01:00
emanuele-f
818a21d9ee Add ability to hide a plugin menu entry 2019-12-20 11:04:18 +01:00
Simone Mainardi
5876a7362e Adds SNMP devices debug pref 2019-12-20 10:55:51 +01:00
Alfredo Cardigliano
1b5d4d38a0 Cleanup check macs alerts (see #3122) 2019-12-20 09:37:53 +01:00
Alfredo Cardigliano
65da842176 Add ntopng service restart to the menu 2019-12-19 18:08:22 +01:00
emanuele-f
528cfe3221 Initial support for configsets targets 2019-12-19 18:03:27 +01:00
emanuele-f
17f86d162b Split configsets in multiple sections, based on the subdir 2019-12-19 17:35:56 +01:00
emanuele-f
4c370de8cf Fix missing suricata user scripts 2019-12-19 16:36:51 +01:00
emanuele-f
139a16ffe3 Fix protocol categories association lost after reboot
After the recent changes, there is only one global nDPI struct which
is share across all the interfaces. However, the struct can be swapped
during normal operating, so it's necessary to reload the associations
every time a new nDPI struct is allocated.

Fixes #3139
2019-12-19 15:11:21 +01:00
emanuele-f
2047386431 Implement alert_endpoints and http_lint plugin extensions
Alert endpoints can now be loaded via custom plugins.
It's now possible to extend the http_lint parameters with custom parameters and validators.
2019-12-19 12:44:39 +01:00
Simone Mainardi
7ed9698125 Fixes font-awesome 5 fa-warning 2019-12-19 11:50:19 +01:00
Simone Mainardi
f9b6921983 Fixes devices policies reload and alerts generation
Fixes #3102
2019-12-19 11:42:24 +01:00
emanuele-f
0c6f9c607e Fix get_user_scripts.lua enabled_hooks 2019-12-18 16:23:37 +01:00
Simone Mainardi
bf8bd2630d Fixes unassigned host pools members
Fixes #3117
2019-12-18 15:33:52 +01:00
emanuele-f
798f16be69 Add success status in configsets API
This is needed to avoid empty tables from being interpreted as arrays by the json serializer
2019-12-18 15:24:50 +01:00
Simone Mainardi
82e5e1f42d Shows all DNS queries in the pie chart
Implements #3136
2019-12-18 15:21:28 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
emanuele-f
e28d0ec755 Reduce the 1d aggregation visualization interface when 1h is disabled 2019-12-18 11:44:04 +01:00
emanuele-f
262fc931f6 Disable InfluxDB 1h data rollup to reduce db pressure 2019-12-18 11:31:31 +01:00
Simone Mainardi
0eb75bf884 Uses new localization for icmp types and codes 2019-12-18 10:49:38 +01:00
Simone Mainardi
141cbeb2bc ICMP fixes and tables for both ICMP and ICMPv4 2019-12-18 10:17:31 +01:00
Simone Mainardi
e5c7ba4290 Fixes ntop_select_interface : expected string[@pos 1], got number 2019-12-17 18:17:28 +01:00
Simone Mainardi
34387c4121 Fixes os detection and set in network discovery 2019-12-17 17:29:21 +01:00
emanuele-f
26c80529aa Add example plugin with documentation 2019-12-17 16:23:15 +01:00
emanuele-f
ebd1d7ba35 Move edit config parameters to POST 2019-12-17 15:49:19 +01:00
Simone Mainardi
6f4fd415e1 Fixes initial user password change 2019-12-17 14:53:52 +01:00
Simone Mainardi
fdba617b0d Fixes discovery for loopback interfaces 2019-12-17 14:27:35 +01:00
emanuele-f
d417160cc4 Implement plugins overview page 2019-12-17 11:33:15 +01:00
Alfredo Cardigliano
ae9d65d11a Add revision info to About 2019-12-17 11:15:34 +01:00
Alfredo Cardigliano
e1bc445961 Checking if current version is < available version (to handle manual updates) 2019-12-17 11:09:05 +01:00
emanuele-f
eb483e1c96 Add script edit URL in get_user_scripts.lua 2019-12-16 18:52:09 +01:00
Simone Mainardi
f5b12acfdc Fixes font-awesome 5 fa-exchange 2019-12-16 18:50:18 +01:00
Simone Mainardi
04bfb700ab Bootstrap migration pods, containsers and user navbars 2019-12-16 18:41:27 +01:00
emanuele-f
9fd1ced9fd Implement API to update the user scripts configuration 2019-12-16 18:38:28 +01:00
Simone Mainardi
d59bd0e1df Minor cleanup 2019-12-16 17:38:39 +01:00
Simone Mainardi
9f68216abc Fixes font-awesome 5 fa-refresh 2019-12-16 17:37:11 +01:00
emanuele-f
b5197ba452 Integrate configsets with user scripts configurations 2019-12-16 17:36:30 +01:00
Simone Mainardi
30beb6d972 Bootstrap migration internal hash tables navbar 2019-12-16 17:34:58 +01:00
Simone Mainardi
49b623e5be Fixes flows filter breadcrumb 2019-12-16 17:29:01 +01:00
Simone Mainardi
79bd9306c1 Fixes community edition ports pie charts 2019-12-16 17:25:34 +01:00
Simone Mainardi
814dab64fc Fixes community dashboard 2019-12-16 17:10:47 +01:00
Simone Mainardi
1dba3343e3 Fixes community sankeys 2019-12-16 17:02:53 +01:00
Simone Mainardi
7d88c101c3 Cleanup old unused processes-related code 2019-12-16 16:16:40 +01:00
Simone Mainardi
200d0f1143 Bootstrap migration vlan and script navbars 2019-12-16 16:10:19 +01:00
Simone Mainardi
39748e8df6 Bootstrap migration community index navbar 2019-12-16 16:01:07 +01:00
Simone Mainardi
fa3b08c275 Bootstrap migration additional stats navbars 2019-12-16 15:52:14 +01:00