Commit graph

293 commits

Author SHA1 Message Date
Simone Mainardi
598b9de843 MySQL port fixes 2017-10-10 10:34:30 +02:00
andrewmv
c1f87f722b Add support for custom mysql port (#1501)
* 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
2017-10-10 10:10:56 +02:00
Simone Mainardi
76153395c4 Removes command line disable alerts (leaves the UI toggle)
Implements #1490
2017-10-02 19:28:23 +02:00
Luca
d9d1ad7d5b Implemented per-pool routing policy id 2017-09-26 17:12:49 -05:00
emanuele-f
36d34b6e3c Core support for automatic device pool assignment 2017-09-25 18:17:39 +02:00
Simone Mainardi
81e6c6a3e8 Reworks Preferences (removes RuntimePrefs) 2017-09-23 16:23:11 +02:00
emanuele-f
a01b552139 Add L2 devices ndpiStats support 2017-09-15 19:35:30 +02:00
Simone Mainardi
a86f3dd36e Implements DB interoperability b/w ntopng and nProbe 2017-08-11 16:51:10 +02:00
Simone Mainardi
3908b56e07 Implements log rotation
Fixes 1056
2017-08-07 19:43:56 +02:00
emanuele-f
d717cc1ed5 Add lan wan preference 2017-07-31 12:18:11 +02:00
Simone Mainardi
a374c23b75 Implements dynamic runtime prefs
Handles generic ntopng.prefs.*

Proper handling of strings

Implements double serialization file

Makes prefs dump dir configurable
2017-07-10 15:09:39 +02:00
Simone Mainardi
7e954d636a Implements persistent preferences
User-preferences that are meant to have a life cycle that goes beyond
the single ntopng execution are now saved to a json file.
2017-07-06 19:08:20 +02:00
Luca Deri
7cdff93fef Added the method to bind the GUI to an IP other than the loopback
Fixed bug that, in case o binding address, was not binding the alternate port (but jsut the main one) to the specified address
2017-05-28 22:43:54 +02:00
Simone Mainardi
d326026d6a Aggregated flows table selection logic 2017-05-22 20:00:29 +02:00
Luca Deri
d9de8a851a Added support for secondary global DNS 2017-05-20 09:44:33 +02:00
emanuele-f
52d2051d4c Rework flow scripts into user scripts 2017-05-19 11:45:41 +02:00
emanuele-f
9c973ca439 Move host activity detection code to attic 2017-05-17 22:19:37 +02:00
emanuele-f
e7ab4af605 Preferences improvements
- Add a Secondary DNS server
- Organize the featured DNS list into a table
- Split shaping directions only on advanced preferences
- Add redirection URL
2017-05-17 15:48:41 +02:00
Luca Deri
8a1e9e219f Safe/global DNS used in bridge mode are now configured using preferences 2017-05-17 09:10:12 +02:00
emanuele-f
073537faff Make SSL alerts configurable from preferences 2017-05-10 17:40:13 +02:00
emanuele-f
2c53dda60b Fix slack alerts notifications 2017-05-03 13:10:16 +02:00
Luca Deri
412d4afe64 Implemented in-memory flow aggregation 2017-05-02 15:48:43 +02:00
emanuele-f
9aa7b31552 Add SafeSearch and Global DNS in traffic bridge preferences. 2017-05-02 12:47:33 +02:00
emanuele-f
21594b834d Separate syn/flow attacker and victim alert thresholds 2017-04-30 20:07:58 +02:00
Emanuele Faranda
8b8974e56c Alerts improvements (#1204)
* Implement flow flood alert

* Remove alerts general settings

* Implement global threshold alerts for hosts, networks and interfaces

* Implement global anomaly alert configuration, lua side

* Make the global thresholds not bound to the interface

* Implement global anomaly alert configuration, C side

* Make the engaged alerts cache per interface to avoid conflics
2017-04-29 12:19:49 +02:00
Luca Deri
fc53648a2b Implemented data anonymization #1068 2017-04-09 11:37:24 +02:00
Luca Deri
e2d68c842b Fixed warning 2017-03-30 18:17:02 +02:00
Simone Mainardi
b7baee0be5 Implements Tiny Flows definition and export 2017-03-30 13:04:33 +02:00
Bogdan Perian
90743b953a Logstash flow export extension 2017-03-25 21:09:07 +02:00
emanuele-f
fe2a5fca43 Rework data retention preferences 2017-03-20 14:59:29 +01:00
Simone Mainardi
e5f2c478d9 Adds preference to save flow SNMP statistics 2017-03-10 19:55:29 +01:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +01:00
Luca Deri
7e384d3c18 Added the ability to activate the web HTTP port on two ports. Example -w 80,3000
Changes in the captive portal logic that made it compatible with Android
Updated bridging readme to include the latest changes
2017-01-25 22:44:34 +01:00
Luca Deri
0eaccfe00b Added the ability to specify in preferences -> logging the path file
for logging HTTP accesses
2017-01-24 17:16:02 +01:00
Simone Mainardi
ba1c1df41b Implements configurable active local hosts cache dump interval 2017-01-23 12:21:50 +01:00
Luca Deri
ddf6601f9a Enable/disable captive portal from preferences
Fixed HTTP bug that prevented ntopng to work on standard ports (80, 443)
Fixed minor UI glitches
2017-01-18 22:25:22 +01:00
emanuele-f
498923b5b6 Create a preference to enable top sites.
Calculating top sites in redis can be disk-intensive task for big networks.
This is now disabled by default and can be manually enabled from preferences page.
2017-01-17 12:35:22 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca
f50f61f9fc MySQL DB improvements
Cached slack preference
Optimized DHCP cache read
2016-12-28 19:20:06 +01:00
Luca Deri
da2b1ab1aa Chnages for #860 (work in progress) 2016-12-19 13:19:04 +01:00
Simone Mainardi
2b5da87dff Implements caching of probing alerts preferences 2016-12-14 19:39:28 +01:00
Simone Mainardi
a6d914d7ad Implements flow alerts cap and fixes several issues with counters 2016-12-07 18:45:50 +01:00
Simone Mainardi
0e8d2cc4ce Makes the maximum number of entity alerts configurable
from the ntopng web preferences page
2016-10-19 15:57:19 +02:00
Simone Mainardi
cd0db380e3 Reworked flow activities calculation 2016-09-27 18:06:41 +02:00
emanuele-f
a883c83170 Fix user activity RRA sizes, make RRA preferences configurable and disable activity log by default 2016-09-16 22:06:27 +02:00
Luca
d32c737047 Added --simulate-vlans to simulate VLAN-tagged traffic to be used only for debugging purposes 2016-09-15 09:52:27 +02:00
Simone Mainardi
fe9a53ea3e Implements optional hourly caching of active local hosts 2016-09-12 19:53:52 +02:00
Simone Mainardi
a1d405baf5 Implements local hosts idle cache dump toggle and TTL
Local hosts cache dump can now be toggled from the command line
together with the cache TTL
2016-09-02 11:06:46 +02:00
Simone Mainardi
31415251b2 Makes the Local Hosts Cache duration configurable
Purged hosts are serialized to redis and are automatically cleared after an interval of 1 hour.
With this commit it is possible to configure this interval.
2016-09-01 19:29:33 +02:00
Simone Mainardi
f1c25e7d77 Implements Redis-authentication
Implements #685
2016-08-11 11:34:36 +02:00