Commit graph

179 commits

Author SHA1 Message Date
Simone Mainardi
9c7385178e Handles SNMP OID parts greater than 2^(32-1)
Fixes #3532
2020-03-16 15:11:17 +01:00
emanuele-f
bd1de19c1e Fix privileges dropping logic and fix causing bad file owner
Fixes #3480
Broken since 297195abab
2020-03-02 15:25:48 +01:00
emanuele-f
962421be56 Add support for Japanese languange in nEdge 2020-02-13 16:10:18 +01:00
Luca Deri
ada61e1807 Warnign fixes 2020-01-28 17:17:26 +01:00
Luca Deri
60c9340a80 Warnign fix 2020-01-28 16:13:03 +01:00
Alfredo Cardigliano
2a285ff7d3 Allocate only the required memory on POST instead of max. Increased max a bit. 2020-01-15 19:05:01 +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
Luca Deri
941c017ac1 Compilation fixes 2019-12-20 12:06:57 +01:00
Luca Deri
a0eff7ac59 Implemented script viewer integration 2019-12-10 20:45:15 +01:00
Luca Deri
fbbec75c54 Disablede debugging code 2019-12-10 18:01:51 +01:00
Luca Deri
958fed3a54 Implemented script code editor 2019-12-10 17:58:16 +01:00
Alfredo Cardigliano
4579a11c2e Support for ZMQ CURVE encryption (testing, no public option yet), added encryption to the json2tlv test tool, updated the embedded ZMQ source to latest 4.1.x stable 2019-11-20 11:11:39 +01:00
Simone Mainardi
e10dfb1b24 Fixes for the CZ translation 2019-10-30 16:41:19 +01:00
Luca Deri
0eb9407de4 Minor changes 2019-07-25 09:59:44 +02:00
Luca Deri
0a4793edd0 Reworked json-c prerequisite 2019-07-22 18:14:07 -04:00
Luca Deri
3ea1b7e5d8 Window fixes
Moved community hash to attic
2019-06-29 18:54:19 +02:00
emanuele-f
0770271218 Fix cookie name overmatch leading to login issues
Cookies ending in "session" (e.g. "grafana_session") were matched as session cookies, invalidating the ntopng session
2019-05-27 14:35:45 +02:00
Simone Mainardi
091e89d5a3 Implements hosts walker by address CIDR 2019-03-21 15:25:00 +01:00
Simone Mainardi
0023f7e247 Implements and shows ghost broadcast domains 2019-03-15 14:09:36 +01:00
emanuele-f
b0726f81c8 Put min definition under ifndef 2018-12-27 10:25:31 +01:00
emanuele-f
a1c56ac05d Fix min definition missing in zmq third party library
Fixes #2270
2018-12-27 10:04:46 +01:00
Luca
962ecab4d7 Commented setlocal as it leads to crashes on Windows 2018-12-20 16:10:19 +01:00
Luca Deri
25039127e4 Win changes 2018-12-20 10:44:03 +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
697eccf931 Add IPv6 support for login blacklist 2018-12-17 17:36:38 +01:00
emanuele-f
ce1504b0a6 Remove unused function 2018-12-14 19:56:37 +01:00
emanuele-f
d48eb6def0 Stop running HTTP GET requests if the client disconnects
For example, this avoids running too many queries on InfluxDB in parallel when the user clicks multiple items in the gui
2018-12-14 19:49:53 +01:00
emanuele-f
9f756fa23f Fix error causing daily script to fail
Fixes #2198

Since the daily script always failed, no top talkers sampling aggregations were applied and raw samplings where computed
2018-12-05 13:18:25 +01:00
Simone Mainardi
994580a243 Updates lua to version 5.3.5 2018-11-26 14:12:10 +01:00
Simone Mainardi
a19b550c0d Adds lua5.2 Makefile 2018-11-23 17:22:07 +01:00
Simone Mainardi
64d969fa2c Adds lua5.2 and removes JIT causing memory issues 2018-11-23 17:17:53 +01:00
lucaderi
25950364f3 Compilation fix 2018-11-14 00:52:40 +01:00
Simone Mainardi
5d7113bf23 Implements Community ID Flow Hashing 2018-11-13 19:52:43 +01:00
Luca Deri
50db9cbd85 Process changes
Restored unused code on some platforms
2018-10-17 09:07:14 +02:00
Luca Deri
32fad1189f Process info extensions 2018-10-17 00:51:47 +02:00
emanuele-f
9cb650ea96 Compilation fix with new libpcap
SOCKET and INVALID_SOCKET are now defined in pcap.h
2018-09-18 13:16:53 +02:00
Simone Mainardi
10cfee9e22 Uses reentrant getaddrinfo when sending SNMP msgs 2018-09-04 20:20:46 +02:00
Guido Falsi
b8c61a1968 This line causes the build to fail on FreeBSD, so extend the conditional. (#1943) 2018-08-27 10:58:21 +02:00
Luca Deri
d146200962 Implements async HTTP send used in pcap download to avoid that paused clients will lead ntopng to drop packets 2018-08-15 08:13:25 +02:00
Luca Deri
5db87b3347 Added fix for insecure readdir_r() call
Fix for #1848
2018-08-06 17:00:36 +00:00
Luca Deri
444a12e0e8 Win fixes 2018-07-17 00:58:05 +02:00
Luca Deri
3cf623901c Enabled -DLUAJIT_ENABLE_LUA52COMPAT to introduce Lua 5.2 support
(see http://luajit.org/extensions.html)
Deleted old LuaJIT-2.1.0-beta3
2018-06-12 22:55:53 +02:00
Simone Mainardi
cee2b6d723 Generalizes SNMP integer length calculation 2018-06-04 08:53:17 +02:00
Simone Mainardi
ad7118c2f0 Honours min-len SNMP integers encoding
Fixes #1734
2018-06-01 17:51:04 +02:00
emanuele-f
f83797b141 Delete unused lsqlite3 library 2018-05-30 12:33:02 +02:00
Simone Mainardi
866b38e32b Allocator sizeof operand mismatch fixes 2018-05-28 16:45:20 +02:00
Simone Mainardi
e14003f464 Fixes several SNMP library memory leaks 2018-05-18 15:36:59 +02:00
emanuele-f
24faaa0e20 Fix ntopng messages interpreted as mongoose errors 2018-05-15 18:27:42 +02:00