Commit graph

2602 commits

Author SHA1 Message Date
Gabriele Pappalardo
9ae15b7cf0 Sidebar (#3331)
* add sidebar, edit menu, footer pages

* fixed sidebar, responsive sidebar

* fxed effects

* dark sidebar mode, gui fixes for sidebar

* toggle theme button and add padding to menu

* fixed padding too large

* bug fixing

* navbar fixed on top

* sidebar fixing

* sidebar fixes

* add more space for menus

* fix improving

* sidebar fixes for responsive

* sidebar improving

* fix for mac os

* responsive fix

* fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes

* sidebar fixes for responsive

* sidebar fixes

* sidebar.js inside makefile

* fixed padding

* fixes

* fixed sidebar scrollbar for firefox, add a little animation for the "n" inside the logo

* removed long_lived

* fixed color for bottom border

* removed bottom border when sidebar is open
2020-01-28 14:57:04 +01:00
Simone Mainardi
1ea5311bee Reworks download pcap form layout 2020-01-27 15:42:37 +01:00
emanuele-f
8d51dae0e5 Implement Misbehaving vs Alerted flows chart 2020-01-27 15:37:36 +01:00
Simone Mainardi
7f6e69653e Fixes reload of scripts upon license changes or expiration
Fixes #3213
2020-01-27 14:07:50 +01:00
emanuele-f
6fa5f071e8 Add user script edit config icon into the flow details 2020-01-27 10:47:31 +01:00
emanuele-f
628c9465eb Fix config not saved when script is disabled 2020-01-27 10:36:08 +01:00
Simone Mainardi
a1b5ebc945 Reworks plugin code viewer with navbar 2020-01-25 19:00:47 +01:00
Simone Mainardi
95061f331a Only returns available categories for a user script subdir 2020-01-25 18:38:52 +01:00
Simone Mainardi
81b1fcd79e Fixes user script values poorly formatted 2020-01-25 18:37:17 +01:00
emanuele-f
50ca1b455a Changes to handle the DNS exclusion list 2020-01-24 15:17:42 +01:00
Simone Mainardi
b1b57dd64a Adds user script categories description
Implements #3311
2020-01-24 12:18:34 +01:00
emanuele-f
f8d09f7387 Add button to reset the user scripts configuration
Closes #3307
2020-01-24 11:11:01 +01:00
Simone Mainardi
9b491219f5 Fixes skype icon failing to render 2020-01-23 19:39:00 +01:00
emanuele-f
33ae78c34f Fix disabled user script value 2020-01-23 19:31:22 +01:00
emanuele-f
040afcb4bb Implement user scripts templates 2020-01-23 17:32:51 +01:00
Simone Mainardi
e15fcf721c Implements User Script Categories
Implements #3280
2020-01-23 16:30:47 +01:00
emanuele-f
b689f15f79 User scripts templates fixes 2020-01-23 15:02:48 +01:00
emanuele-f
1c8c93ff6e Split user script template logic into separate script 2020-01-23 14:42:02 +01:00
Simone Mainardi
4831c7e990 Implements UI browser for all plugin files
Implements #3283
2020-01-23 13:11:53 +01:00
emanuele-f
facfdae358 Fix for the user scripts enable action 2020-01-23 12:05:24 +01:00
emanuele-f
60b739ed5e Add api to enable/disable a user script 2020-01-23 10:52:35 +01:00
emanuele-f
67787a168b Remove unused SNMP device config
Now the SNMP configuration is specified into the user scripts config
2020-01-22 18:26:56 +01:00
emanuele-f
76c4736b73 Long lived flows config validation
Closes #3218
2020-01-22 16:05:16 +01:00
emanuele-f
8a6392cd23 Fix bad operator error with empty config
Fixes #3290
2020-01-22 16:02:12 +01:00
emanuele-f
5deefe8511 Items list fix 2020-01-22 13:58:05 +01:00
emanuele-f
f36520a22d Remove long lived flows global duration 2020-01-22 13:49:39 +01:00
emanuele-f
4a4106a796 Integrate elephant flows new gui 2020-01-21 19:39:41 +01:00
Simone Mainardi
1acec3ea88 Implements user script stats and adds them to the internals page
Implements #3219
2020-01-21 18:50:54 +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
26c7906744 Moves plugin description to manifest.lua 2020-01-21 16:05:38 +01:00
Simone Mainardi
be167a6dcb Adds per-interface option to only allocate flows 2020-01-21 10:50:30 +01:00
Simone Mainardi
ca2322531c Fixes 3WH computation with ECE and CWR flags
Fixes #3255
2020-01-20 11:53:41 +01:00
emanuele-f
75ec3a246c Remove discontinued Ransomware Tracker lists 2020-01-20 10:17:40 +01:00
emanuele-f
7910ee0874 Fix ntop meltdown list type and add more debug messages 2020-01-20 10:17:40 +01:00
emanuele-f
aca088ea13 Add hyperlink to jump to the alert configuration
Closes #2936
2020-01-17 19:11:15 +01:00
Simone Mainardi
4779f80fa8 Enforces admin user to always have admin privileges 2020-01-17 17:35:18 +01:00
emanuele-f
a97dbd013b Remove score global preference 2020-01-16 18:21:35 +01:00
emanuele-f
566b9ece0b Score changes
- Move score from status definition to user scripts
- Separate flow score counter from the peers score
- Create a new HostScore class to hold the score data
2020-01-16 18:11:14 +01:00
Alfredo Cardigliano
228a129166 Handle special config id 0 (default) 2020-01-16 14:59:41 +01:00
Alfredo Cardigliano
3ce84b07cf Add button to export user script conf. New endpoint to set user scripts configuration. 2020-01-15 17:48:00 +01:00
emanuele-f
33828c55e8 Fix score chart 2020-01-15 15:43:25 +01:00
emanuele-f
6edecb12cb Score visualization improvements 2020-01-15 15:27:45 +01:00
emanuele-f
d704b532d8 Fix "bad threshold" error 2020-01-15 14:25:49 +01:00
Simone Mainardi
48910b9f87 Implements auto assignment of user script alert and status ids 2020-01-15 13:08:58 +01:00
emanuele-f
d7528e1628 Score improvements
The score is now calculated differently on the client and on the server of the flow.
The hosts flow is updated every minute and charted.
It's now possible to trigger an alert when the score threshold is exceeded
2020-01-15 12:34:16 +01:00
Simone Mainardi
212c449e5b Implements facility to reuse plugin ids 2020-01-14 19:54:38 +01:00
Alfredo Cardigliano
55b1ca75a9 Replace anomalous with misbehaving to avoid inconsistencies (fix #2866) 2020-01-14 15:49:19 +01:00
Alfredo Cardigliano
e18aa22456 Handle check_recording_data for non-admin users 2020-01-13 23:51:27 +01:00
emanuele-f
8dd446b948 Add missing variable 2020-01-13 22:23:04 +01:00
emanuele-f
7679da4d21 Implement blacklisted country alert 2020-01-13 18:15:27 +01:00