Commit graph

304 commits

Author SHA1 Message Date
Simone Mainardi
22ffcda854 Removes a dummy table print 2016-02-07 17:35:32 +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
96b563d31a Adds Efficient Top Host Lists Retrieval (fixes #378)
Top hosts are efficiently retrieved using new
GetHostsInfo
2016-02-05 15:04:31 +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
Luca
4f6fdb9412 Changed label 2016-01-29 19:03:37 +01:00
valentina
18e301f3ef Added support ldap configuration 2016-01-29 14:46:36 +01:00
Luca Deri
8711deacfc Merged e3fd639e1f 2016-01-29 09:39:44 +01:00
Simone Mainardi
f936a88cbf Merge remote-tracking branch 'upstream/dev' into dev 2016-01-28 18:44:03 +01:00
Simone Mainardi
3b366e8453 Adds VLAN support to host_details_ndpi.lua (Fixes #351)
Vlans were not handled in host_details_ndpi. This
was causing failures while retrieving host infos.
2016-01-28 18:40:37 +01:00
Luca Deri
1cd8f7954a Added LDAP authentication support (work in progress)
User passwords now accept _ (underscore)
2016-01-28 16:01:35 +01:00
Simone Mainardi
b7d78b98ee Implements efficient MySQL data retrieval in json format
Retrieves MySQL records and converts the into json
2016-01-26 21:50:13 +01:00
Simone Mainardi
a36014d431 Restores "License Expires in" badge for trial versions 2016-01-26 15:25:34 +01:00
Luca Deri
910c82cef7 Re-added host category pie chart 2016-01-25 10:13:59 +01:00
Simone Mainardi
d0946c9c14 Adds ajax categories table with sort features 2016-01-22 20:29:57 +01:00
Simone Mainardi
3a9ad5d442 Code cleanup 2016-01-22 14:49:54 +01:00
Simone Mainardi
197510dd5e Converts static HTML pcap table to ajax
Historical data explorer able that integrates with nBox pcaps
has been converted to ajax
2016-01-22 13:04:52 +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
197283c2a8 Returns direct pcap download link 2016-01-09 18:05:30 +01:00
Simone Mainardi
bbc8c32e8d Toggles nagios and box configuration options 2016-01-09 17:15:49 +01:00
Simone Mainardi
6e7603cfa9 Adds BPF creation to the nbox interface layer 2016-01-09 17:06:16 +01:00
Simone Mainardi
734c1d4fe3 Removes the n2disk retrieval script
The retrieval script is now integrated into the
historical data explorer in the Pro version
2016-01-09 16:10:38 +01:00
Simone Mainardi
e36e27ef5e Removes pcap download from the main menu 2016-01-09 16:06:32 +01:00
Simone Mainardi
30e2540933 Improves json return values for nbox data retrieval 2016-01-09 16:05:10 +01:00
Simone Mainardi
9bfd5a30b4 Adds n2disk historical pcap retieval support 2016-01-08 17:28:13 +01:00
Simone Mainardi
c0bb00b85a Adds nBox support and integration (wip) 2016-01-07 19:57:37 +01:00
Simone Mainardi
36bcfa16a1 Notifies nagios for non-configured alerts 2016-01-06 16:34:53 +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
Simone Mainardi
a279d3b4ba Adds hints to enable historical RRDs for categories and protocols 2016-01-05 16:45:33 +01:00
Simone Mainardi
6cd8440550 Formats chart key for traffic categories 2016-01-05 16:24:51 +01:00
Simone Mainardi
ed888805ec Adds the historical db explorer to the main menu 2016-01-05 16:04:11 +01:00
Luca Deri
ddbfacaefb Various fixes to host categorization
Added optional parameter for ntop.getInfo() call
2016-01-05 11:07:12 +01:00
Simone Mainardi
eb27c20109 Adds categories listing on the host details page 2016-01-05 10:02:53 +01:00
Luca Deri
53bdfadd84 Minor fixes 2016-01-04 23:11:58 +01:00
Simone Mainardi
06ef8d21ab Implements historical RRDs for traffic categories
Traffic categorization can be optionally saved to RRDs
on a per-host basis.
2016-01-04 19:18:22 +01:00
Simone Mainardi
7f2cb08cae Adds preferences button to toggle historical categorization 2016-01-04 13:10:36 +01:00
Luca Deri
f3cb6e5543 Replaced label with string in host report
Fixed categorization support when not enabled
2016-01-03 13:04:44 +01:00
Luca Deri
1b105de9c0 Added per-host traffic category stats
Check on startup when Flashstart is operational
2016-01-03 12:57:39 +01:00
Luca Deri
47d43d986b Implemented multi-categories for flows 2016-01-02 12:55:13 +01:00
Luca Deri
b9068886a4 Reworked flashstart categorization support (work in progress) 2016-01-01 20:05:58 +01:00
Simone Mainardi
77c7c5ee96 Fixes false positive XSS detection (#312)
The following error has been fixed:
29/Dec/2015 16:48:43 [Utils.cpp:695] WARNING: Found possible XSS attempt: type [type]
29/Dec/2015 16:48:43 [Utils.cpp:695] WARNING: Found possible XSS attempt: type [type]
2015-12-30 14:47:07 +01:00
Simone Mainardi
707c8b9dfa HTTPS iframe src (Fixes #323)
Github buttons in the footer iframe are
loaded over https. This prevents some browsers
from failing to load ntopng resources when
ntopng is started in https
2015-12-29 11:27:43 +01:00
Simone Mainardi
32ea608070 Formats raw bytes in historical flows tables (#325)
Formats raw bytes using sizes such as
KB, MB, and so on.
2015-12-29 11:03:38 +01:00
Simone Mainardi
677d32672d Fixes a nil-key table access
The following error has been fixed:
28/Dec/2015 11:40:02 [Lua.cpp:4447] WARNING: Script failure [/Users/simone/code/ntopng/scripts/callbacks/minute.lua][...s/simone/code/ntopng/scripts/lua/modules/top_talkers.lua:221: table index is nil]
2015-12-29 09:33:55 +01:00