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"
* Add support for custom mysql port
- Fixed port number parsing from startup arguments
as documented in man page.
- Added port number usage to --help.
- Added port number to error messaging.
* Added support for custom mysql port
Corrected omissions in previous commit
- Fixed port number parsing from startup arguments
as documented in man page.
- Added port number usage to --help.
- Added port number to error messaging.
* Add support for custom mysql port
Corrected build errors in previous commit
- Fixed port number parsing from startup arguments
as documented in man page.
- Added port number usage to --help.
- Added port number to error messaging.
* Rewrote logic to be C++98 compatible
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.
In non-transactional environments MyISAM is preferred over InnoDB as
it is faster. This commits convert existing InnoDB tables to MySIAM,
notifying the user about the change:
26/Jun/2016 14:01:36 [MySQLDB.cpp:324] MySQL schema update. Altering
table flowsv4: changing engine from InnoDB to MyISAM.
26/Jun/2016 14:01:51 [MySQLDB.cpp:324] MySQL schema update. Altering
table flowsv6: changing engine from InnoDB to MyISAM.
Maximum query size has been raised from 2048 to the hardcoded
constant CONST_MAX_SQL_QUERY_LEN that is currently equal
to 8192.
A warning message is generated when attempting to execute
queries longer than the maximum allowed values that would
be truncated.
Fixes#511