Commit graph

3564 commits

Author SHA1 Message Date
Luca Deri
cc1304d49f Modified API processing API 2017-01-19 00:45:16 +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
Simone Mainardi
aa9debff54 Minor Fixes for host pools policies 2017-01-18 19:36:05 +01:00
Simone Mainardi
8f7b170c3f Implements host-pool-based L7 policies 2017-01-18 15:54:49 +01:00
Simone Mainardi
8e61f7f9b6 Declares addToPool prototype 2017-01-17 21:41:47 +01:00
Simone Mainardi
6f971cce07 Implement Ntop user host group getter 2017-01-17 21:18:29 +01:00
Simone Mainardi
e220e9c7a3 Adds support for dynamic host pool changes 2017-01-17 21:02:20 +01:00
Simone Mainardi
4e2c7b8e8b Implements captive portal users 2017-01-17 19:57:48 +01:00
Luca Deri
d9af0c8025 Added the ability to display the number of flows per host in the host list
DHCP/Mac address optimizations
2017-01-17 18:24:10 +01:00
Simone Mainardi
e8cffe9227 Implements periodic alerts rotation
Oldest alerts are periodically overwritten by newest ones
when a certain (user-configurable) threshold has been exceeded.
Rotation is performed periodically in a housekeeping.lua
2017-01-17 15:15:23 +01:00
emanuele-f
82f3f55104 Add redis set bindings 2017-01-17 12:56:57 +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 Deri
d093b8cdeb Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-01-17 12:01:03 +01:00
Luca Deri
341ac0b129 Added method to update flow policy
Exported HTTP headers in _SERVER hash in Lua
2017-01-17 11:46:05 +01:00
Simone Mainardi
df3a99decc Implement Host Pools 2017-01-17 11:34:57 +01:00
Simone Mainardi
a27532c711 Allows setting AddressTree user_data 2017-01-16 19:41:53 +01:00
Luca Deri
a4d8824f59 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-01-15 18:37:36 +01:00
Luca Deri
cd5a27182f Added methods for learning the management IPv4 address and checking if a management interface is up 2017-01-15 18:36:45 +01:00
Simone Mainardi
a3c76491ac Reworks Lua C function 2017-01-14 22:05:58 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Luca
1bc842e3ba Reworked HTTP header rewrite to make it configurable
Added @NTOP_STARTUP_EPOCH@ to the list of expanded tokens, used to avoid caching issues with JS
2017-01-09 11:13:12 -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
Luca Deri
65845c43cf Aded utility functions for packet checksum computation 2017-01-07 21:03:03 +01:00
Simone Mainardi
34fecdce16 Implements Mac hosts-only filter 2017-01-05 22:00:56 +01:00
Simone Mainardi
5e4488a448 Reworks mac address lists 2017-01-04 20:28:59 +01:00
emanuele-f
51abbfa7e4 Initial shaping protocol categories support 2016-12-30 19:50:06 +01:00
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
Luca
91648ca1cd Added tiny flow definition 2016-12-30 01:48:03 +01:00
Simone Mainardi
4e5d691689 Makes flow2InsertValues method public 2016-12-29 13:01:31 +01:00
Luca
26fa33269d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-12-28 22:50:40 +01:00
Luca
ec74acdfbc Implemented redis stats. 2016-12-28 22:27:52 +01:00
Luca
6a5714a2d9 Traffic profiles crash fix 2016-12-28 22:08:02 +01:00
Simone Mainardi
f349ca344e Reworks alerts menu 2016-12-28 19:54:05 +01:00
Luca
f50f61f9fc MySQL DB improvements
Cached slack preference
Optimized DHCP cache read
2016-12-28 19:20:06 +01:00
Luca Deri
f09e58b191 Code cleanup (strtok replacement) 2016-12-27 23:14:39 +01:00
Luca
c44bfa8fdb Implemented #98
Ingress data can now be kept aggregated (default) or explored based on various criteria
- ZMQ interfaces: disaggregate based on probeIP or ingress interfaceId
- packet interfaces: disaggregate on VLANId
2016-12-27 11:03:52 +01:00
Simone Mainardi
eca2c41049 Reworks alert counters (WIP)
Alert counters are now kept in sync only for engaged alerts.
Each host will show the current number of engaged alerts.
This alleviates the complexity of constantly keep the numbers
synchronized with the database.

Todo: see how to handle counters for flow alerts and past alerts.
2016-12-24 16:21:50 +01:00
Simone Mainardi
06fea2cf18 Fixes issues with MAC addresses retrieval
Also cleans up unused code
2016-12-23 16:40:55 +01:00
Luca
6fa12fc08f AddressTree now supports mac addresses 2016-12-21 22:56:42 +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
Luca
d4e6ab273f Interface fix 2016-12-21 18:10:58 +01:00
Luca Deri
dd04313f3f Fix for #862 2016-12-21 17:26:54 +01:00
Simone Mainardi
482c2ca834 Implements counter resets
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.
2016-12-21 12:48:04 +01:00
Luca Deri
72d5208fb0 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2016-12-20 19:16:46 +01:00
Luca Deri
9d4df13c1a Reworked AddressTree implementation 2016-12-20 19:16:34 +01:00
Simone Mainardi
88f9e3d854 Changes a default pref to reflect d12b989 2016-12-20 16:59:21 +01:00
Simone Mainardi
e1b20e5f9b MySQLDB::flow2InsertValues returns flow len 2016-12-19 15:34:06 +01:00
Luca Deri
405c6aa253 Misaligned code 2016-12-19 14:09:12 +01:00
Luca Deri
1cdd21106a Improvements to the ZMQ drop counter logic 2016-12-19 13:57:44 +01:00
Luca Deri
da2b1ab1aa Chnages for #860 (work in progress) 2016-12-19 13:19:04 +01:00