Commit graph

200 commits

Author SHA1 Message Date
Luca
c3d2ecc749 Implemented flow packets interarrival stats 2016-03-23 23:22:58 +01:00
Luca Deri
0c0b671e0f Improved top sites 2016-03-22 14:56:03 +01:00
Simone Mainardi
6ce3ae37ee Fixes an 'expected string, got nil'
Fixes
[Lua.cpp:76] ERROR: ntop_get_file_dir_exists : expected string, got nil
2016-03-21 20:41:16 +01:00
valentina
c973a28752 Added management of latitude and longitude parameters (SRC_IP_LONG, SRC_IP_LAT, DST_IP_LONG and DST_IP_LAT) 2016-03-20 21:06:49 +01:00
Luca Deri
924939c8f2 Added fix for catching MySQL errors 2016-03-19 15:04:18 +01:00
Simone Mainardi
d89cde0409 Handles interface alerts with ids
The Interface Alerts toggle button was not working. This
commit fixes this bug as well.
2016-03-16 19:53:13 +01:00
Simone Mainardi
6c5f665a73 Fixes local networks aggregation functions
Local networks are aggregated on the basis of their string representation
rather than their id which may change between ntopng restarts.
2016-03-11 18:30:42 +01:00
Simone Mainardi
97c45aef96 Handles netowrk interfaces with integer ids
To prevent possible issues with special characters like /,
interface have been handled in the web UI via integer ids
2016-03-10 17:45:27 +01:00
Luca
8f0f8fc1cf Added logic to detect flows with low goodput (e.g. originated by tools like https://github.com/shekyan/slowhttptest) 2016-03-08 19:18:28 +01:00
valentina
51e679821e Fixed some fields of SIP protocol 2016-03-05 11:41:46 +01:00
Luca Deri
ba38b2c13b Fix for #424 2016-03-02 09:13:50 +01:00
Simone Mainardi
c3f96646c5 Adds contextual 'download flows' and 'extract pcap' buttons
Download flows and extract pcap buttons are now available in
the Pro edition. These buttons are shown at the bottom of the
historical pages (e.g., flows, talkers, and protocols) and
make requests that keep into account filters specified by the user
2016-03-02 00:06:44 +01:00
Simone Mainardi
f97ee78d42 Minor flow_utils.lua fixes
Fixes for:
02/Mar/2016 00:02:41 [Lua.cpp:4815] WARNING: Script failure [/Users/simone/code/ntopng/scripts/lua/host_stats.lua][error loading module 'flow_utils' from file '/Users/simone/code/ntopng/scripts/lua/modules/flow_utils.lua':
	    ...rs/simone/code/ntopng/scripts/lua/modules/flow_utils.lua:1089: syntax error near '=']

02/Mar/2016 00:01:47 [Lua.cpp:4815] WARNING: Script failure [/Users/simone/code/ntopng/scripts/lua/host_stats.lua][error loading module 'flow_utils' from file '/Users/simone/code/ntopng/scripts/lua/modules/flow_utils.lua':
	    ...rs/simone/code/ntopng/scripts/lua/modules/flow_utils.lua:1072: ')' expected near '_1']
2016-03-02 00:03:38 +01:00
Luca Deri
c984ff589c Fix for #424 warning 2016-03-01 14:45:19 +01:00
Simone Mainardi
131a7da511 Improves readability and description of pcap download requests 2016-02-28 11:55:32 +01:00
Simone Mainardi
83aad39e1b Minor fix do disable dropdown menus 2016-02-27 14:12:40 +01:00
Simone Mainardi
0d7873d7ac Makes historical saves per-user per-interface 2016-02-27 13:56:15 +01:00
Simone Mainardi
ec691b8148 Disables select dropdown menus while loading
During the execution of historical MySQL queries the
dropdowns are disabled to prevent the user from enqueuing more
than one selection at time.
2016-02-27 13:33:38 +01:00
Simone Mainardi
2421ad3017 Modifies apps per hosts pair table columns 2016-02-27 12:44:06 +01:00
Simone Mainardi
7776fe8e25 Resets dropdowns to default positions after user interactions 2016-02-27 12:40:50 +01:00
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