Commit graph

8220 commits

Author SHA1 Message Date
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
Alfredo Cardigliano
bff00f06d3 More locales 2020-01-07 12:44:44 +01:00
Alfredo Cardigliano
bd2c2f3ced Raw Flows dropdown fix 2020-01-07 10:55:07 +01:00
Luca Deri
b10dcb2e07 Fixed epoch time 2020-01-06 23:41:26 +01:00
Luca Deri
b3c09816b4 (C) revert 2020-01-06 23:39:09 +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
simonemainardi
3b4d6879ba
Update README.geolocation.md
Updates for package ntopng-data
2020-01-05 14:01:45 +01:00
Simone Mainardi
189b10c217 Automatic geolocation updates for centos packages 2020-01-05 13:40:58 +01:00
Simone Mainardi
c088bc9d08 Automatic geolocation updates in ntopng-data postinst 2020-01-05 13:10:33 +01:00
emanuele-f
cf527f9b22 Fix configset delete 2020-01-05 12:21:35 +01:00
Gabriele Pappalardo
157a11ca61 Fix for issue #3189 (#3190)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration

* localization for text inside scripts, issue #3164

* fix for issue #3189
2020-01-05 10:36:49 +00:00
emanuele-f
92a24d07ae Fix AlertCheckLuaEngine crash when loaded script has syntax errors
The max lua stack size could be exceeded leading to a crash in the
lua vm destructor
2020-01-04 15:41:49 +01:00
emanuele-f
697153c7c2 Add AlertCheckEngine test target
Needed to debug a crash occurring after trying to run lua scripts with errors
2020-01-04 15:41:49 +01:00
Simone Mainardi
c6a80d5ca1 Centos ntopng-data package updates 2020-01-04 14:32:35 +01:00
Simone Mainardi
96b1b0dafb Ubuntu/debian ntopng-data package changes 2020-01-04 14:14:27 +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
Simone Mainardi
adee07bcb4 Source changes to handle geoipupdate installed databases 2020-01-03 17:56:55 +01:00
simonemainardi
6b05b7d1ba
Create README.geolocation.md
Create readme file with the new instructions to continue using geolocation
2020-01-03 17:50:57 +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
a2afb0a3f5 Implements lua flow status isTCPConnecting 2020-01-03 12:59:11 +01:00
Simone Mainardi
c6f61dee97 Updates misleading syn probing flow status message 2020-01-03 12:40:56 +01:00
Simone Mainardi
1b73a89dae Fixes detection of TCP connection-refused flow status 2020-01-03 12:37:41 +01:00
Simone Mainardi
0ade3cc8ed Handles TCP fast-open 3WH with data piggybacked in ACK
Handles https://lwn.net/Articles/508865/
2020-01-03 12:22:15 +01:00
Simone Mainardi
6795ed5d07 Fixes nil pktSizeDistribution 2020-01-03 11:20:03 +01:00
Alfredo Cardigliano
d1e28c137a Service file cleanup (action logs no longer required) 2020-01-03 10:28:53 +01:00
Gabriele Pappalardo
961a06f36e Add localization for text inside scripts_list and config_list (#3184)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration

* localization for text inside scripts, issue #3164
2020-01-03 09:14:04 +01:00
Simone Mainardi
c17a962424 Avoids re-init of var 2020-01-02 19:25:37 +01:00
Simone Mainardi
417c4a3146 Reworks handling of TCP flags for both ZMQ and packet interfaces
This commit allows simplifies the code and also allows flags-based alerts
to be triggered for packet and non-packet interfaces

Fixes #3167
2020-01-02 19:21:44 +01:00
Simone Mainardi
9d4df32f13 Additional fixes for tcp flags stats and use of json library 2020-01-02 19:20:07 +01:00
Simone Mainardi
8a169991cb Minor method name change 2020-01-02 15:18:49 +01:00
Simone Mainardi
0fc220bd0a Removes unused cli2srv_direction Flow class member 2020-01-02 15:04:49 +01:00
emanuele-f
6ba9052e3b Add debug trace 2020-01-02 14:59:21 +01:00
Gabriele Pappalardo
4dea6ddfa0 Disable buttons on row after a request (#3181)
* hide previous errors in apply modal

* disable buttons on row for scripts_list

* check csrf token expiration
2020-01-02 13:49:12 +00: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
Gabriele Pappalardo
a4280e2f70 hide previous errors in apply modal (#3179) 2020-01-02 11:28:09 +00:00
emanuele-f
83719d7735 Add missing pcall 2020-01-02 12:25:54 +01:00
emanuele-f
94e717d604 Move configsets to redis hash 2020-01-02 12:21:22 +01:00
emanuele-f
1b438d3619 Fix bad source URL in pro flow user scripts 2020-01-02 12:01:27 +01:00
emanuele-f
32996a294e Fix double POST in flows user scripts config 2020-01-02 11:40:16 +01:00
emanuele-f
9f0fca8c12 Hide non-applicable operators in user scripts config
Fixes #3178
2020-01-02 10:58:48 +01:00
Luca
92ea3cf5a0 TLS certificate improvements 2020-01-02 09:36:31 +01:00
emanuele-f
9d9fbd2aee Fix broken flows purging 2020-01-01 12:18:13 +01:00
emanuele-f
4621a8f409 Reload the periodic scripts when the configuration changes 2019-12-31 19:31:03 +01:00