Commit graph

320 commits

Author SHA1 Message Date
Simone Mainardi
19a4b03478 ParserInterface sprobe cleanup 2019-02-11 15:15:48 +01:00
emanuele-f
7e0117fd12 Initial work for category lists customization 2019-02-08 19:14:57 +01:00
emanuele-f
da07b294bd Document stats reset API 2019-01-31 15:25:43 +01:00
Simone Mainardi
183dfa41f9 Handles IPv6 NDP to detect broadcast domain 2019-01-30 11:49:47 +01:00
emanuele-f
5454e31b6c Avoid deleting flows when reading from a PCAP dump
Fixes #2328
2019-01-28 13:16:17 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00
Simone Mainardi
2fc083b50b Adds testing facility for periodic checks 2019-01-17 16:13:39 +01:00
emanuele-f
08a8c67966 Implement interface in/out stats read from proc 2019-01-10 12:35:07 +01:00
emanuele-f
0cbd10998d Avoid generating null interface trace 2019-01-09 18:56:55 +01:00
emanuele-f
f4be144bc4 Show MySQL processlist output during shema migration
Fixes #2286
2019-01-08 20:43:09 +01:00
emanuele-f
8cdf051d77 Initial work for host data reset 2019-01-08 12:43:54 +01:00
Alfredo Cardigliano
98adc8a79f Added timeout support to postHTTPJsonData, ntop.postHTTPJsonData now accepts an optional timeout arg, added webhook timeout check 2019-01-07 23:36:39 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
b7159a0d43 Adds maintenance information to the about page 2019-01-03 19:30:29 +01:00
Simone Mainardi
8221d14e0f Handles extractions from recording processes non managed by ntopng
Implements #2276
2019-01-03 18:38:52 +01:00
Simone Mainardi
55a05c2bb7 Limits the maximum number of nIndex interfaces 2018-12-21 17:41:03 +01:00
emanuele-f
90437eef23 Fix config reload error with small PCAPs 2018-12-21 15:53:58 +01:00
Simone Mainardi
0fb24ef64e Fixes missing purgeIdle for inactive dynamic interfaces 2018-12-20 18:57:48 +01:00
Luca Deri
8545c78cfc Compilation fixes 2018-12-20 11:03:12 +01:00
Luca Deri
25039127e4 Win changes 2018-12-20 10:44:03 +01:00
Luca
15efe2fd44 Added nIndex version 2018-12-19 19:38:59 +01:00
emanuele-f
ff3df0bb90 Fix LDAP and Radius menu entries visilibity 2018-12-18 18:53:19 +01:00
Luca Deri
a8d1700252 Win fixes 2018-12-18 00:41:46 +01:00
Luca Deri
32c1bf8243 Removed old Lua leftover 2018-12-18 00:28:27 +01:00
Luca Deri
d997343c2d Win fixes 2018-12-18 00:18:37 +01:00
emanuele-f
e08798c2d4 Fix user password change after f65c618b3f 2018-12-17 19:57:04 +01:00
emanuele-f
697eccf931 Add IPv6 support for login blacklist 2018-12-17 17:36:38 +01:00
emanuele-f
5e321077ca Disable user login after failed attempts 2018-12-17 17:36:38 +01:00
Simone Mainardi
61d90f8d3e Disables SNMP build in nEdge 2018-12-17 12:05:24 +01:00
emanuele-f
14c68a5b21 Fix getLuaVMUserdata dirty lua stack
The lua_getglobal pushes a value on the lua stack. It was not removed after the call.
2018-12-14 18:45:00 +01:00
emanuele-f
af02c76c8b Implement scan detection alerts for remote hosts
Closes #2068
2018-12-14 12:28:23 +01:00
emanuele-f
acdc67e28a Revert "Add lua_pcall errors trace"
This reverts commit 261d76e430.

Will replace pcall with require in the next commit
2018-12-11 18:53:01 +01:00
emanuele-f
f65c618b3f Move user group information into the session
This fixes issues and inconsistencies when the same user logins from different authenticators at the same time
Fixes #2212
2018-12-11 18:44:34 +01:00
emanuele-f
5e85b3910a Non local users should not be able to modify users settings.
Fixes #2210
2018-12-11 14:08:33 +01:00
Luca Deri
ac9f7e3c7a Updated eBPF support 2018-12-10 22:31:44 +01:00
emanuele-f
95713ddfc6 Add driver:deleteOldData and delete old RRDs 2018-12-10 17:42:39 +01:00
emanuele-f
9bae8e234a Implement InfluxDB alerts when export fails
Fixes #2193
2018-12-06 14:32:37 +01:00
Alfredo Cardigliano
48c20ec844 Tracking flows data download 2018-12-06 10:58:19 +01:00
emanuele-f
261d76e430 Add lua_pcall errors trace 2018-12-05 13:18:25 +01:00
emanuele-f
c69c500dd1 Fix getFirstInterfaceId returning different ids 2018-12-05 11:02:14 +01:00
emanuele-f
9dd33409df Implement sort by IP in network discovery page
Fixes #2197
2018-12-03 23:22:58 +01:00
emanuele-f
1df7ebfed8 Hide radius auth if radius support is not available 2018-12-01 15:17:16 +01:00
emanuele-f
8a8a016283 Replace lua_pushnumber with lua_pushinteger where necessary.
Lua 5.3 now supports 64bit integers. Using a number instead of an integer can cause problems since
tostring adds the decimal dot:
	- Lua 5.2: tostring(5.0) = "5"
	- Lua 5.3: tostring(5.0) = "5.0"
2018-11-29 15:36:19 +01:00
Emanuele Faranda
b4ca9d368f Fix mark: trailing garbage after value for option "--mark" 2018-11-29 13:17:19 +01:00
Alfredo Cardigliano
01f5bcac1a Support for custom page titles 2018-11-29 11:26:29 +01:00
Simone Mainardi
73aa6e1f37 Fixes failing require with unexpected symbol
Fixes
27/Nov/2018 18:33:31 [LuaEngine.cpp:8308] WARNING: Script failure [/usr/share/ntopng/scripts/callbacks/system/housekeeping.lua][error loading module 'shaper_utils' from file '/usr/share/ntopng/pro/scripts/lua/modules/shaper_utils.lua':
    /usr/share/ntopng/pro/scripts/lua/modules/shaper_utils.lua:1: unexpected symbol near '<\135>']
2018-11-27 18:39:21 +01:00
Simone Mainardi
994580a243 Updates lua to version 5.3.5 2018-11-26 14:12:10 +01:00
Simone Mainardi
0b0a836a7d Uses LUA_MAXINTEGER and LUA_MININTEGER only when available 2018-11-23 16:12:05 +01:00
Simone Mainardi
859e85c7ce Fixes C to Lua integer types conversions affecting OS X 2018-11-23 15:58:38 +01:00