Commit graph

236 commits

Author SHA1 Message Date
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
Simone Mainardi
bdbd44819c Fixes nEdge flows drop 2019-10-16 19:17:14 +02:00
Simone Mainardi
6fd7386c03 Fixes possible collisions when looking up flows by key 2019-10-16 19:04:10 +02:00
emanuele-f
9786581526 flow.getInfo now returns minimal information 2019-10-16 13:57:54 +02:00
emanuele-f
7a14a9cf11 Improvements in status definition API 2019-10-16 10:33:19 +02:00
Simone Mainardi
2f984277ca Fixes flows one-way/two-way flows filtering 2019-10-16 09:55:43 +02:00
emanuele-f
1c629b331a Fix missing flow status menu entries 2019-10-15 18:51:34 +02:00
emanuele-f
60566f4b53 Fix flows_stats page title 2019-10-15 18:48:20 +02:00
emanuele-f
b217909966 Split flow status definitions in multiple files 2019-10-15 17:28:45 +02:00
Alfredo Cardigliano
76759a7d03 Suricata events are now processed by the Lua script 2019-10-10 15:56:53 +02:00
Simone Mainardi
9a08c116b5 Improves flows filtering dropdowns 2019-10-08 11:25:36 +02:00
Simone Mainardi
79ec20d6df Re-uses getFlows filters for the getActiveFlowsStats
Fixes #2891
2019-10-08 00:23:35 +02:00
Simone Mainardi
53d03884f8 Removes a debug print 2019-10-07 19:45:21 +02:00
Simone Mainardi
6bcb8b18a2 Prevents TCP state filter from being shown on non-TCP flows 2019-10-07 18:51:16 +02:00
emanuele-f
978ee7f944 Add misbehaving flows label to avoid confusion 2019-09-20 12:41:09 +02:00