Commit graph

380 commits

Author SHA1 Message Date
Simone Mainardi
51c44c1d67 Adds a BFP filter column in nbox data table 2016-02-26 18:18:54 +01:00
Simone Mainardi
7f40994c95 Hides saved application searches in historical host browsing mode
Historical top application searches have a different meaning in the
historical browsing contex and are thus hidden.
2016-02-26 17:48:14 +01:00
Simone Mainardi
bcf65a13ee Fixes a button status change 2016-02-26 17:34:21 +01:00
Simone Mainardi
2d4c715264 Adds save/unsave features to historical top applications 2016-02-26 17:30:45 +01:00
Simone Mainardi
f6155f4507 Changes labels
Add/Remove to Favorite labels have been changed to Save/Unsave
2016-02-26 14:27:39 +01:00
Simone Mainardi
ea4ffe170f Fixes a bug in a variable swap 2016-02-25 23:09:26 +01:00
Simone Mainardi
3823dbe39e Implements favorites management in the historical data browser (top talkers) 2016-02-25 22:57:18 +01:00
Simone Mainardi
d8ecddfff8 Implements on-click add/delete features for historical top talkers 2016-02-25 21:42:19 +01:00
Simone Mainardi
bd5bb96873 Adds the save feature for historical top talkers
Favorite historical talkers can now be saved both
as single hosts as well as pairs.
2016-02-20 22:44:43 +01:00
Simone Mainardi
7de226b5b7 Improves pcap request generation for historical protocols 2016-02-20 15:49:44 +01:00
Simone Mainardi
68321fc870 Fixes a minor bug in host top-protocols breadcrumb 2016-02-20 15:37:59 +01:00
Simone Mainardi
a8f19cc45a Adds and extra check for a nil value 2016-02-20 14:27:40 +01:00
Simone Mainardi
5ab74fda10 Adds Flows download buttons and paginations
Hisotrical flows can be downloaded via two buttons
available inthe IPv4 and IPv6 pages. They can also be
browsed with pagination.
2016-02-19 20:16:48 +01:00
Simone Mainardi
7b71701f22 Pads the historical chart with 1 empty line 2016-02-18 20:05:16 +01:00
Simone Mainardi
4e48078487 Makes IP Address column visible in historical data 2016-02-18 20:00:53 +01:00
Simone Mainardi
5fe6d42bb4 Fixes unescaped dots in lua string.find methods 2016-02-18 19:52:44 +01:00
Simone Mainardi
9e0d32108c Removes avg. flow duration column from historical data browser 2016-02-18 19:30:41 +01:00
Simone Mainardi
3398097c93 Standardizes naming conventions in historical data 2016-02-18 19:27:47 +01:00
Simone Mainardi
c3e1ea9d47 Disables a pcap download button in case nbox config is missing 2016-02-18 18:35:01 +01:00
Simone Mainardi
fc71a61cf4 Prevents the automatic reload of page when browsing historical data 2016-02-18 18:05:07 +01:00
Simone Mainardi
9cf2676754 Improves the precision of ranges for flow selection 2016-02-17 20:13:00 +01:00
Simone Mainardi
75ec359e11 Changes icon and font for an info div 2016-02-16 22:05:18 +01:00
Simone Mainardi
e6a8396795 Fixes a minor bug in interface alert re-arm 2016-02-16 17:33:43 +01:00
Simone Mainardi
4cd1387155 Adds AJAX utilities to retrieve nBox pcap statues
Javascript functions that connect to an nBox have been added.
With these functions it is possible to asynchronously retrieve
pcap captures generated via nBox n2disk. Statuses are shown in
a tab available in Pro mode historical view.
2016-02-16 16:30:32 +01:00
Simone Mainardi
9d81e473b9 Adjusts the layout of the historical page
Tabs have been used to simplify page layout.
The main historical RRD chart is shown in the first, default tab.
Detailed flows data is reported in separate tabs when MySQL
flow export is enabled.
2016-02-16 15:49:00 +01:00
Simone Mainardi
d97d909fc1 Adds pcap download buttons for historical data
A pcap button that sends requests to a configured nBox
has been enabled below historical talkers.
2016-02-16 13:16:45 +01:00
Simone Mainardi
9e5c843abe Fixes a WARNING: ntop_lua_http_print(): Lua type 2 is not handled
An attempt to resolve the name of a nil value was causing the error.
2016-02-15 21:49:35 +01:00
Simone Mainardi
aa592508d3 Uniforms return values for Lua functions that query MySQL
Lua function that query MySQL return an empty lua table
not only in case of an empty record set, but also in case of error.
This prevents upstream iterations over nil values.
2016-02-15 21:48:50 +01:00
Luca
ce178a1127 Initial work towards counter trends 2016-02-13 00:07:03 +01:00
Simone Mainardi
5f4eee79a3 Implements L7 application statistics drill-down
L7 Statistics can be drilled-down starting at the interface
or at the host level.
2016-02-12 18:49:03 +01:00
Simone Mainardi
f155d62d1d Adds Breadcrumb Nav For historical Talkers Drill-Down
Historical talkers data can be navigated back and forth between
interface and host talkers, as well as applications per pair
of hosts
2016-02-11 15:29:19 +01:00
valentina
885e808bdf Added ldaps and admin group fields in ntopng preferences. 2016-02-10 23:36:20 +01:00
Simone Mainardi
fdb0d53fbb Enables the drill-down of pairwise host L7 applications 2016-02-09 21:12:47 +01:00
Simone Mainardi
9979d72707 Adds Flow Duration Computation in MySQL queries 2016-02-09 21:12:09 +01:00
Simone Mainardi
dc1b4abc2d Adds interface to host talkers drill-down (wip) 2016-02-09 19:54:52 +01:00
Luca Deri
fd21ffb718 Changed label 2016-02-09 10:33:09 +01:00
Simone Mainardi
08622e8f18 Implements MySQL Top Talkers Retrieval and Visualization
Overal Top Talkers are retrieved with just one single
MySQL query and include both ipv4 and ipv4. Top talkers
can be visualized on a per-interface and per-host basis,
and can be sliced and diced.
2016-02-08 21:35:27 +01:00
Simone Mainardi
ebe834ea15 Adds policy setup for custom netowrks in bridge mode (implements #372)
Traffic policies can now be setup for custom networks and not only
local networks.

Sanity checks on network CIDR and VLAN numbers have been introduced.

A minor bug that prevented per-host traffic policies to be populated has been fixed as well.
2016-02-07 17:27:42 +01:00
Simone Mainardi
e1e0e9cab0 Slices historical application data via MySQL
MySQL engine is leveraged to slice and order historical
data.
2016-02-07 14:32:46 +01:00
Simone Mainardi
25ee0d5c11 Implements Top Talkers and Top Applications In Time Range
Top Talkers and Top applications can be retrieved via MySQL
both interface-wide and per-host. A couple of tabs, namely
"Top Talkers" and "Top Applications" become available in the
historical page of interfaces and hosts. Upon focus of each
tab, an ajax request is triggered and data is fetched from MySQL.

TODO: interface wide top-talkers are retrieved from sqlite and
need to be moved to mysql.
2016-02-06 18:11:31 +01:00
Simone Mainardi
ebf1257979 Reformats top-talkers statistics for d3 dc 2016-02-05 15:30:49 +01:00
Simone Mainardi
7b2057eaec Improves JSON data retrieval for historical top talkers 2016-02-02 19:06:53 +01:00
Simone Mainardi
e8a3d43065 Handles errors when retrieving top talkers 2016-02-02 10:46:56 +01:00
Simone Mainardi
418f48e714 Adds JSON endpoints to retrieve top talkers data 2016-02-01 22:14:28 +01:00
valentina
18e301f3ef Added support ldap configuration 2016-01-29 14:46:36 +01:00
Luca
3bea0a7bfc Fxi for #354
Added support for collecting flows specified in JSON with symbolic field labels
2016-01-14 14:52:15 -05:00
Simone Mainardi
c0bb00b85a Adds nBox support and integration (wip) 2016-01-07 19:57:37 +01:00
Simone Mainardi
064be1b125 Adds Top L7 Protocols lua function
A Lua function that queries MySQL to retrieve
historical L7 protocols has been added.
2016-01-05 19:22:02 +01:00
Simone Mainardi
ec301ace49 Extends top peers to IPv6 2016-01-05 18:57:45 +01:00
Simone Mainardi
47668a0cac Adds Top Peers Lua function
A Lua function that queries MySQL
to retrieve top peers (given an host) has been added.
This function is used inside ntopng professional
database explorer
2016-01-05 18:40:27 +01:00