emanuele-f
df0556cb87
Optimize flow alerts generation
...
This provides a ~10x speedup by performing the JSON serialization work in C
(and thus avoiding Lua->C overhead). This also implements two in-memory alerts
queues (one for sqlite and one for the notifications) in order to reduce Redis load.
Alerts queue are now global instead of per-interface as there is only 1 dequeing thread.
2019-11-14 11:54:13 +01:00
Simone Mainardi
b3f50c6b21
Fixes DNS resolution leaks and wrong ping addresses
2019-09-23 14:54:19 +02:00
emanuele-f
6aa72b53f7
Implemement RTT monitoring configuration page
2019-06-11 17:30:46 +02:00
Simone Mainardi
0023f7e247
Implements and shows ghost broadcast domains
2019-03-15 14:09:36 +01:00
emanuele-f
6f94f7b132
Add thread names for debugging
2019-02-21 11:51:57 +01:00
emanuele-f
72c155f2b5
Fix IPv6 reverse DNS resolution
2019-01-31 13:21:54 +01:00
emanuele-f
3970e8cafe
Don't resolve hosts if dns resolution has been disabled
...
Fixes #2297
2019-01-16 18:12:36 +01:00
Luca Deri
bedff2c8e2
Updated (C)
2019-01-07 19:28:49 +01:00
emanuele-f
e597592de2
Fix missing historical DNS resolution after commit ae04ad2c7c
...
Historical hosts resolution should not be influenced by the -n option
2018-10-25 17:50:22 +02:00
emanuele-f
ae04ad2c7c
Fix resolveHostName not honoring dns resolution settings
2018-10-22 15:50:11 +02:00
Luca Deri
f0c936c368
Updated (C) to 2018
2018-03-22 21:59:42 +01:00
Simone Mainardi
a7b41075e4
Implements broadcast addresses per local network
...
Implements #571
2017-07-31 18:45:49 +02:00
Simone Mainardi
e4182969c4
Fixes some memory leaks
...
Possibly affects #1351 #1345 #1337 #1311
2017-07-10 18:39:19 +02:00
emanuele-f
3603f3b6c8
Fix comparison between pointer and integer error
...
src/AddressResolution.cpp:55:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if((at = strchr(query, '@')) != '\0') at[0] = '\0';
2017-06-06 10:16:44 +02:00
Luca
30e1a75f98
(C) update
2017-01-10 15:03:16 -08:00
Luca
80daed0e73
Slow down DNS possling in case of no address to resolve
2016-12-30 01:48:27 +01:00
Luca
379c842e0d
Fix for multi-address #868
2016-12-22 20:16:19 +01:00
Luca
f8daf0a535
Fix for #868
2016-12-22 20:08:56 +01:00
Simone Mainardi
5b041093e3
Fixes warnings for always-false comparisions
...
src/AddressList.cpp:62:24: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]
if(addAddress(net) < 0) return false;
~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
g++ -g -fno-color-diagnostics -Wall -I/Users/simone/code/ntopng -I/Users/simone/code/ntopng/include -I/usr/local/include -I/opt/local/include -I../PF_RING/userland/nbpf -I /Users/simone/code/ntopng/third-party/hiredis -I/Users/simone/code/ntopng/third-party/mongoose -I/opt/local/include/json-c -I/opt/local/include -I../nDPI/src/include -I/Users/simone/code/ntopng/third-party/LuaJIT-2.0.3/src -I/opt/local/include -I/opt/local/include -I/opt/local/include/mysql56/mysql -I/Users/simone/code/ntopng -I/Users/simone/code/ntopng/include -I/usr/local/include -I/opt/local/include -I/Users/simone/code/ntopng/pro -I/Users/simone/code/ntopng/third-party/http-client-c/src/ -Ipro/utils -Ipro/third-party/libb64-1.2.1/include -DDATA_DIR='"/usr/local/share"' -I/Users/simone/code/ntopng/third-party/libgeohash -I/Users/simone/code/ntopng/third-party/patricia -c src/AddressResolution.cpp -o src/AddressResolution.o
src/AddressResolution.cpp:39:45: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
if((rc = localNetworks.addAddress(net)) < 0) return false;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
2016-12-21 12:44:35 +01:00
Luca Deri
0aa87b7c9b
Spring cleaning
2016-03-28 14:16:27 +02:00
Luca Deri
d7c452f0a3
Moved to 2016
2016-01-01 09:27:39 +01:00
Luca Deri
a15f7629a5
Fixed invalid free
...
Fixed a couple of small memory leaks
2015-11-08 19:09:12 +01:00
Luca Deri
29906527a8
Removed some warnings
2015-11-07 18:36:56 +01:00
Simone Mainardi
6fb662ae82
Network Statistics: lua and fixes
2015-11-04 17:32:53 +01:00
Luca
9bf2c0f83c
Initial work towards network stats
2015-11-03 17:11:06 +01:00
Simone Mainardi
f8374c7450
fix: local networks were not added; refactoring: code refactoring for address tree and address resolution
2015-10-18 23:47:50 +02:00
spada
32dddb0ed1
Fixed 236: fixed identifier network when you add local networks
2015-10-17 17:14:16 +02:00
Luca
04b3a1b181
Added missing strdup removed by mistake
2015-10-16 15:41:30 +02:00
Luca Deri
792c0ad20d
Refactored network management code
2015-10-14 23:31:50 +02:00
Luca Deri
5b82594e54
Win32 fixes
2015-09-13 16:50:12 +02:00
Luca Deri
2a8b7257d7
Fixed NetFilter implementation
2015-08-22 15:59:23 +02:00
Luca
75a5293d95
Implemented lua method for reading the list of local nets
2015-08-21 23:23:32 +02:00
Luca Deri
7b708274e5
Fixed IPv6 resolution warning
2015-08-08 11:19:24 +02:00
Luca Deri
4c35559151
Various code optimizations and cleanup
2015-08-08 11:05:00 +02:00
Luca Deri
6aa141caa9
Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster
...
Little progresses towards MySQL support
2015-08-08 01:13:59 +02:00
Luca Deri
c85468df55
Now networks of local interfaces on which ntopng is started are added to the list of local networks
2015-08-07 16:38:37 +02:00
Luca Deri
166736d572
Enhanced --version flag to print source code revision
...
Fixed warning
2015-05-27 09:55:55 +02:00
Luca Deri
1b47d05507
Optimized preferences redis read
...
DNS resolution is not slower on embedded boxes
Preferences layout renders better when resizing the windows
2015-05-27 00:35:28 +02:00
Luca Deri
74fc9f8256
Windows fixes
2015-05-18 18:30:22 +02:00
Luca Deri
b178cf4121
Added travis file for code testing
...
Added .gitignore file for ignoring selected files
Reworked src and include paths to organize the source better
Fixed bug with invalid git version caused in some settings that do not compile code extracting it from github
2015-05-01 19:40:52 +02:00