Commit graph

4083 commits

Author SHA1 Message Date
emanuele-f
481a00a2ad Add missing user scripts gui labels 2020-01-07 19:04:11 +01:00
Alfredo Cardigliano
cfa3c0d1b4 Geolocation support instructions in the AS and countries pages 2020-01-07 17:32:26 +01:00
Luca
2d63ae8024 Certificate validity fix 2020-01-07 16:57:12 +01:00
Simone Mainardi
98b51ab00a Checks return value of loadfile chunks to protect against nils
Provides additional debugging info for #3195
2020-01-07 16:08:43 +01:00
Alfredo Cardigliano
4cb134f44b Checking mandatory parameters 2020-01-07 16:00:59 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
emanuele-f
cf527f9b22 Fix configset delete 2020-01-05 12:21:35 +01:00
Luca
9ee97a2f0f Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-01-03 21:37:40 +01:00
Luca
165e7cdea3 Changes for TLS certificate expire check 2020-01-03 21:26:48 +01:00
emanuele-f
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
emanuele-f
d037f9a9a4 Use new user scripts config and gui
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
emanuele-f
538ebc741a Differentiate global from per-hook config scripts 2020-01-03 13:03:34 +01:00
Simone Mainardi
6795ed5d07 Fixes nil pktSizeDistribution 2020-01-03 11:20:03 +01:00
Simone Mainardi
9d4df32f13 Additional fixes for tcp flags stats and use of json library 2020-01-02 19:20:07 +01:00
emanuele-f
6ba9052e3b Add debug trace 2020-01-02 14:59:21 +01:00
Simone Mainardi
591421d530 Handles TCP flags stats in ZMQ interfaces 2020-01-02 14:21:43 +01:00
emanuele-f
969701f2aa Add csrf when error occurs in edit_user_script_config 2020-01-02 13:02:49 +01:00
emanuele-f
c57399c060 Nil table fix 2020-01-02 12:29:50 +01:00
emanuele-f
94e717d604 Move configsets to redis hash 2020-01-02 12:21:22 +01:00
Luca
92ea3cf5a0 TLS certificate improvements 2020-01-02 09:36:31 +01:00
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