Commit graph

250 commits

Author SHA1 Message Date
Simone Mainardi
a2705a8bda Implements header and drilldown of flow status severities 2020-10-19 19:26:30 +02:00
Simone Mainardi
d3dda0bb82 Unifies misbehaving with alerted flows
Implements #4596
2020-10-16 18:58:20 +02:00
gabryon99
3a90817f1d updated datatable button style (#4501) 2020-10-15 08:30:47 +02:00
Simone Mainardi
2432ca068b Prints human-friendly SNMP interfaces details in flow_details.lua
Fixes #4568
2020-10-12 11:24:37 +02:00
Simone Mainardi
cef4e57641 Shows traffic profile in nIndex flows
Implements #4316
2020-08-31 10:12:56 +02:00
Alfredo Cardigliano
630e057a3d Improve printFlowSNMPInfo 2020-07-20 11:43:50 +02:00
Luca Deri
0fb01440b0 Implemented flow entropy 2020-07-14 12:49:47 +02:00
Simone Mainardi
30cbf26684 Fixes flow_details SNMP information 2020-06-10 17:29:38 +02:00
Simone Mainardi
4ffa3e2ca7 Adds SNMP information in flow_details.lua 2020-06-10 17:10:30 +02:00
Simone Mainardi
cfe6ff86b7 Fixes failing flows_stats.lua with the new SNMP 2020-06-10 16:49:43 +02:00
Simone Mainardi
0bbb30e13e Refactors snmp_utils global methods into module functions 2020-06-10 13:09:30 +02:00
Simone Mainardi
8a3e65ac50 Requires snmp_utils as local module 2020-06-10 12:17:25 +02:00
Luca Deri
a041bb52c0 Reworked port drill down support 2020-06-01 11:52:41 +02:00
Simone Mainardi
bd0c594433 Check host_details.lua link existance in alerts 2020-05-26 17:36:35 +02:00
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +02:00
emanuele-f
af842e4aa6 Cleanup unnecessary CSRF tokens passed 2020-05-08 12:56:58 +02:00
emanuele-f
ba5c64b107 Rework host label getters
This fixes inconsistencies across the ntopng gui

Addresses #3699
2020-05-07 17:47:18 +02:00
emanuele-f
6f2f9b223f Fix drilldown interval 2020-04-16 15:59:22 +02:00
Simone Mainardi
0a9a7015e0 Unifies status_id and status_key 2020-04-15 14:29:03 +02:00
Simone Mainardi
3744ace4f8 Refactors graph_utils and nv_graph_utils
Addresses #3720

Refactor: create module graph_utils

Refactor: get_timeseries_layout

Refactor: get_default_timeseries

Refactor: getDeviceCommonTimeseries

Refactor: printCategoryDropdownButton

Refactor: printPoolChangeDropdown

Refactor: poolDropdown

Refactor: printProtocolQuota

Refactor: printGraphTopFlows

Refactor: drawGraphs

Refactor: printNotes

Refactor: getMinZoomResolution

Refactor: printSeries

Refactor: zoom_vals

Refactor: getZoomDuration

Refactor: getZoomAtPos

Refactor: stackedProgressBars

Refactor: percentageBar

Refactor: breakdownBar

Refactor: getProtoVolume

Refactor: normalizeSeriesPoints

Refactor: nv_graph_utils

Refactor: extendLabels

Refactor: getAlertGraphLink

Refactor: performCustomQuery

Refactor: drawProGraph

Refactor: unifies nv_graph_utils and graph_utils
2020-04-10 09:47:32 +02:00
emanuele-f
02c36d4140 Replace calls to getResolvedAddress with host2name 2020-03-31 11:52:50 +02:00
Simone Mainardi
feab63ee6c Handles non-localized flow status titles 2020-03-24 23:01:53 +01:00
Simone Mainardi
e1c437ff51 Fixes active entry in dropdown menus not highlighted
Fixes #3546
2020-03-18 15:07:54 +01:00
gabryon99
e2dcd862b8 fix for ticket #3546 2020-03-16 17:29:33 +01:00
emanuele-f
b0520ee189 Improve localization support
- nDPI categories are now localized (see getCategoryLabel)
- Add some missing localization in plugins/user scripts pages
2020-03-03 18:26:14 +01:00
Simone Mainardi
33df10f20c Fixes flow peers names visualization 2020-02-03 18:00:55 +01:00
Luca
b9601ef2e4 Fixed protocol rendering 2020-01-30 17:01:22 +01:00
Gabriele Pappalardo
a2f4a1a065 elephant flows (#3269)
* elephant flows
* fix for apply button after changes
* fix for refresh icons on index.lua page, scrollable dropdowns enabled
2020-01-21 16:32:14 +00:00
Simone Mainardi
2b30fe80b2 Fixes unhandled VLAN in alerts explorer and dashboard
Fixes #3203
2020-01-10 18:56:36 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
emanuele-f
26c80529aa Add example plugin with documentation 2019-12-17 16:23:15 +01:00
Simone Mainardi
f5b12acfdc Fixes font-awesome 5 fa-exchange 2019-12-16 18:50:18 +01:00
Simone Mainardi
d16f445cff Implements full ICMP v4 and v6 support 2019-12-14 21:59:24 +01:00
Simone Mainardi
539f82a153 Improves ICMPv6 types/codes support 2019-12-14 16:58:37 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Simone Mainardi
1aa0546b85 Bootstrap migration dropdown style fixes 2019-12-05 09:27:48 +01:00
Simone Mainardi
a34a326d4c Bootstrap migration glyphicon filter to fa 2019-12-05 09:27:48 +01:00
Simone Mainardi
2639d49e4a Bootstrap migration progress bars 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
6359bc9ab0 Fix displayed RTP MOS with TLV (this also fixes other fields formatting with JSON) 2019-12-02 12:09:37 +01:00
Alfredo Cardigliano
d54e34b102 Reworked flow fields parsing. Fixed SIP/RTP details (Fix #3043) 2019-11-07 12:51:13 +01:00
Simone Mainardi
18a1d5ea8d Minor fix 2019-10-30 16:43:36 +01:00
Simone Mainardi
e10dfb1b24 Fixes for the CZ translation 2019-10-30 16:41:19 +01:00
emanuele-f
76812f42af Add priority column in status overview 2019-10-22 19:52:05 +02:00
emanuele-f
b3374651ce Merge branch 'alerts_cleanup' into dev 2019-10-22 10:50:21 +02:00
emanuele-f
b3a8c6d49a Migrate C flow status alerts to Lua user scripts
- Alerts and flow status cleanup
- Community flow user scripts migration
- Implement scripts filters by l7 proto and packet interface only
- Migrate flow2statusinfojson
- Lower flow periodic update to 30 seconds if there is flow activity
- Display flow scripts without a gui section
2019-10-22 10:42:22 +02:00
Simone Mainardi
f8443ff03d Disk space reclaim and defrag of alerts db 2019-10-17 12:12:28 +02:00
Alfredo Cardigliano
bfdf5773d3 Format boolean custom fields 2019-10-16 12:51:04 +02:00