Luca Deri
65ab40c339
Added time to aggregated flow dump
2018-10-07 17:56:33 +02:00
Luca Deri
e67d40694f
Minor code cleanup
2018-08-22 14:26:10 +02:00
Simone Mainardi
cd6c7c4338
Adds SQL queries log performed from Lua
2018-08-13 19:27:00 +02:00
Luca Deri
f0c936c368
Updated (C) to 2018
2018-03-22 21:59:42 +01:00
Luca Deri
a18ac6309a
Compilation fix
2017-11-12 12:34:35 +01:00
Luca
b350ecc7d9
Minor rework in periodic scripts
...
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Simone Mainardi
1b313d2932
Implements periodic flow aggregation
2017-05-09 15:07:20 +02:00
Luca
30e1a75f98
(C) update
2017-01-10 15:03:16 -08:00
Simone Mainardi
b6eb667890
Visualizes database processes list when the DB is not ready
...
Implements #891
2017-01-09 16:58:17 +01:00
Simone Mainardi
ff7c61bb9d
Fixes an issue when dumping flows already partially dumped
...
The final dump for flows partially dumped could be, under certain
conditions, skipped. This commit addresses the issue.
Fixes #846
2016-12-21 19:44:47 +01:00
Simone Mainardi
5ded07f5a8
Adds code for batched mysql insertions
2016-12-15 22:53:23 +01:00
Luca Deri
fac51e9fca
Reworked MySQL interface
2016-03-26 22:52:54 +01:00
Simone Mainardi
165be14dfd
Makes the maximum number of rows retrieved from MySQL configurable
...
The limit in the number of rows that can be retrieved from MySQL
has been made configurable. This is useful especially when downloading
historical flows in txt format.
2016-02-19 20:14:29 +01:00
Luca Deri
d7c452f0a3
Moved to 2016
2016-01-01 09:27:39 +01:00
Luca Deri
2a5baca948
Various flow dump improvements and bug fixes
2015-08-17 10:57:17 +02:00
Luca Deri
3b72506ab0
Added the ability to query flows from Lua
...
Added simple testing tool db_query.lua to issue queries
2015-08-15 20:38:01 +02:00
Luca Deri
900484b2e0
Reworked DB structure
2015-08-09 15:54:18 +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
8686c457f2
Fix for #98
2015-07-30 14:24:34 +02:00
Luca
bdbbdec863
Changed propedeutic for MySQL support (work in progress)
2015-07-13 17:21:26 +02:00
Luca Deri
3afe49b8e6
Warning fix
...
Updated .gitignore file
2015-05-23 20:11:09 +02:00
Luca Deri
014594c0a4
Windows fixes
2015-05-23 20:04:15 +02:00
Arianna Avanzini
8ebe5805c4
src/DB.cpp: fix issue with flow dumps
...
This commit changes the DB handling backend so that it correctly
dumps all kind of strings. In fact, some of the strings (e.g. the
HTTP URL in the flow JSON) could contain single or double quotes,
which could result in DB-related errors. To correctly handle all
kind of input strings, a prepared statement is built (escaping
the string would leave room to unhandled scenarios).
2015-05-21 12:48:18 +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