Commit graph

4313 commits

Author SHA1 Message Date
emanuele-f
4621a8f409 Reload the periodic scripts when the configuration changes 2019-12-31 19:31:03 +01:00
Simone Mainardi
b44de6e18d Implements discarded probing traffic counters and timeseries 2019-12-31 16:01:24 +01:00
emanuele-f
d3b9f22b0a Add missing ARP matrix entries purging
This resulted in the ARP matrix hash growing as idle entries were not purged.

Fixes #3152
2019-12-31 12:32:21 +01:00
emanuele-f
3580ddbd02 Fix for possibly nil benchmarks table 2019-12-31 11:39:05 +01:00
Simone Mainardi
cc49cdc1af Implements per-interface pref to discard probing traffic 2019-12-31 10:15:54 +01:00
gabryon99
2824162cd5 fix for issue #3154 2019-12-30 21:42:46 +01:00
gabryon99
ca8cd8f26a Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2019-12-30 17:22:49 +01:00
gabryon99
5107fbb051 fixed issue #3174 and #3173 2019-12-30 17:22:37 +01:00
emanuele-f
63e270313e Fix configset targets validation 2019-12-30 15:56:45 +01:00
emanuele-f
03e3613e7e Fix IPv6 validator 2019-12-30 15:44:47 +01:00
emanuele-f
3111b4a6e7 Fix nested values in the default configset growing the JSON 2019-12-30 15:12:08 +01:00
Alfredo Cardigliano
2f3ff489aa Warn the user of maintenance expired before updating 2019-12-30 08:50:48 +01:00
Gabriele Pappalardo
90c4865789 Config and Scripts templates pages as requested from issue #3159 (#3160)
* config and scripts templates #3159

* fixed bug for config rename, clone operations

* add reload for config and script list

* fixed timeout
2019-12-29 13:42:26 +01:00
gabryon99
068e5034bc removed olf js files and minimized code 2019-12-28 14:54:12 +01:00
gabryon99
d777276013 add config, script list pages 2019-12-28 00:30:41 +01:00
Simone Mainardi
2abb8cfde5 Reworks flow scripts deadlines 2019-12-27 20:50:53 +01:00
Alfredo Cardigliano
2a3bef9d6c Replace JSON string with TLV for alerts generated by the datapath. This removes a JSON decode in housekeeping.lua (#3148) 2019-12-27 17:03:28 +01:00
Alfredo Cardigliano
8caed2a438 Comments 2019-12-27 15:22:59 +01:00
Simone Mainardi
c873aee41b Implement counter and chart for new flows per second 2019-12-27 12:29:55 +01:00
Alfredo Cardigliano
5a17736801 Remove double json encode 2019-12-27 11:25:28 +01:00
Simone Mainardi
4b47316ebf Fixes possible exceptions in ajax internal hash tables
Fixes #3151
2019-12-27 10:14:22 +01:00
Luca Deri
fb260271d7 File copy fix for non-Unix platforms 2019-12-26 20:54:54 +01:00
Simone Mainardi
90439645c1 Fixes save license form 2019-12-24 19:34:05 +01:00
emanuele-f
1a6e653309 Add input_handler and hooks in get_user_scripts.lua 2019-12-24 17:46:06 +01:00
emanuele-f
a237231fe3 Add nil check 2019-12-24 11:50:48 +01:00
Luca Deri
f1cb0e3511 Fixed ARP matrix
Added check for reporting dump errors
2019-12-23 15:48:54 +01:00
emanuele-f
fc0206327e Add configsets targets labels 2019-12-23 14:26:41 +01:00
emanuele-f
c665bc78d7 Make configsets global 2019-12-23 13:25:35 +01:00
Simone Mainardi
98edcce20d Fixes invalid l4 protocol columns in sql queries
Fixes #3142
2019-12-23 10:39:28 +01:00
emanuele-f
6d4a1fda21 Add user_scripts subdir listing function 2019-12-23 10:28:07 +01:00
Alfredo Cardigliano
f2b8d12b0a Add VLAN in host IP visualization if any (fix #3107) 2019-12-20 16:23:16 +01:00
emanuele-f
b106c57728 Configsets targets validation 2019-12-20 15:57:56 +01:00
Simone Mainardi
0de06c5db8 Hides sub interfaces menu on view / disaggregated faces 2019-12-20 15:21:19 +01:00
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