This commits adds two reset buttons to the interface page.
One button allows the reset of all interface counters, namely,
packets and bytes received, packets dropped, and the number of
flows exported and dropped (when mysql or elasticsearch is enabled).
The other button allows the reset of only the drops.
ntopng optionally exports flows to MySQL or ES. This change
keeps track of possible drops (e.g., due to a slow mysql server)
and shows them to the user.
Database updates are now performed asynchronously.
The web server starts but notifies the user with a
'please wait' message until the updates are completed.
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.
- Added support for MariaDB (in addition to MySQL)
- Implemented reconnection if server/client disconnects
- Added support for both host and Unix socket connection to the DB