Commit graph

42 commits

Author SHA1 Message Date
Luca
936911dc52 Fixes #4979 2021-01-28 10:02:36 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
Simone Mainardi
db42608f9e Migrates edit_presets to use the new lua host pools class 2020-07-16 16:32:39 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +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
gabryon99
792a542c41 added print_page_title on each page 2020-04-06 10:35:57 +02: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
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
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
emanuele-f
139a16ffe3 Fix protocol categories association lost after reboot
After the recent changes, there is only one global nDPI struct which
is share across all the interfaces. However, the struct can be swapped
during normal operating, so it's necessary to reload the associations
every time a new nDPI struct is allocated.

Fixes #3139
2019-12-19 15:11:21 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
189379f9c3 Fixes font-awesome 5 fa-close 2019-12-16 12:51:38 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Simone Mainardi
2bfd12a84c Bootstrap migration bnt-default to bnt-secondary 2019-12-06 11:51:45 +01:00
Alfredo Cardigliano
ade466ddd0 Fix save button alignment 2019-12-06 09:57:46 +01:00
Simone Mainardi
10a4367f86 Bootstrap migration table-condensed to table-sm 2019-12-05 11:24:59 +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
emanuele-f
1d5ff7c4e7 Remove global flow user scripts on/off 2019-10-25 13:12:47 +02:00
Simone Mainardi
0785c81517 Makes the allowed device applications page always visible 2019-02-27 23:16:13 +01:00
emanuele-f
6113c692af Unify Protocol/Application labels
L4 information is now referred to as "Protocol"
L7 information is now referred to as "Application"

Closes #2316
2019-01-28 16:59:27 +01:00
Alfredo Cardigliano
7c51217844 moved select outside the presets module 2018-10-22 10:26:12 +02:00
emanuele-f
9f8a70e279 Improve category editor labels and protocol navigation 2018-10-18 19:22:02 +02:00
emanuele-f
3bd6a1a97c Add preference to enable Device Protocols Policies in nEdge 2018-10-11 18:15:43 +02:00
Alfredo Cardigliano
eb93e1dbff notes 2018-10-05 18:41:06 +02:00
emanuele-f
3abf49451d Rework device protocols with L7PolicySource_t support 2018-10-05 12:22:13 +02:00
Alfredo Cardigliano
8e0dca8ed3 hiding empty categories from dropdown 2018-10-04 15:55:14 +02:00
Alfredo Cardigliano
96715d5860 added category column 2018-10-04 10:07:50 +02:00
Alfredo Cardigliano
dc68e55dfc added count of selected protocols per category in the category filter dropdown 2018-10-04 00:00:18 +02:00
Alfredo Cardigliano
129c1fabc1 filter device protocols by category 2018-10-03 22:49:17 +02:00
Alfredo Cardigliano
7daff3d356 added filter in device protocols page title, other fixes 2018-10-03 19:17:07 +02:00
Alfredo Cardigliano
1388afa798 label fix 2018-10-03 17:46:10 +02:00
Alfredo Cardigliano
c2751db129 reworked presets definition to handle 1. preses templates (e.g. basic presets to be included in devices presets definition), 2. presets cloning between device types, 3. ability to add and remove protocols (by id or name) 2018-10-03 17:07:40 +02:00
emanuele-f
5e1daf470a Implement device presets reset to defaults 2018-10-02 15:00:55 +02:00
Alfredo Cardigliano
e06d2ba311 form padding 2018-10-01 18:50:52 +02:00
Alfredo Cardigliano
1c111084d4 policies notes 2018-10-01 18:42:18 +02:00
Alfredo Cardigliano
4653cbe44d reworked device presets:
- devices with no preset defined have a 'allow all' default policy
- users customizations to the preset are stored on redis (both 'allow' and 'drop' policies) as exceptions to the default preset
- default presets updates are allowed, however users customizations have priority (per protocol)
2018-10-01 18:15:18 +02:00
Alfredo Cardigliano
9f77e758f0 using 'unknown' presets as default, added also 'unknown' to the editor 2018-09-29 10:44:35 +02:00
Alfredo Cardigliano
605ca651cc moved device protocols code to community 2018-09-29 09:53:25 +02:00