Commit graph

586 commits

Author SHA1 Message Date
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Alfredo Cardigliano
cfa3c0d1b4 Geolocation support instructions in the AS and countries pages 2020-01-07 17:32:26 +01:00
emanuele-f
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
emanuele-f
d037f9a9a4 Use new user scripts config and gui
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
emanuele-f
d3b9f22b0a Add missing ARP matrix entries purging
This resulted in the ARP matrix hash growing as idle entries were not purged.

Fixes #3152
2019-12-31 12:32:21 +01:00
Alfredo Cardigliano
2f3ff489aa Warn the user of maintenance expired before updating 2019-12-30 08:50:48 +01:00
Alfredo Cardigliano
a134ddfbc0 WImprove updates failures detection. Warns he user about updates/upgrade failures 2019-12-20 11:49:22 +01:00
Alfredo Cardigliano
65da842176 Add ntopng service restart to the menu 2019-12-19 18:08:22 +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
fdba617b0d Fixes discovery for loopback interfaces 2019-12-17 14:27:35 +01:00
emanuele-f
d417160cc4 Implement plugins overview page 2019-12-17 11:33:15 +01:00
Simone Mainardi
9f68216abc Fixes font-awesome 5 fa-refresh 2019-12-16 17:37:11 +01:00
Simone Mainardi
1dba3343e3 Fixes community sankeys 2019-12-16 17:02:53 +01:00
Simone Mainardi
189379f9c3 Fixes font-awesome 5 fa-close 2019-12-16 12:51:38 +01:00
Simone Mainardi
26d7384fcc Fixes top flow talkers sankey
Fixes #3100
2019-12-16 10:34:39 +01:00
emanuele-f
b6cef08bea Fix spurious configuration save requests due to interface switching
Switching the active network interface triggered a POST request, which
was interpreted by the active lua script as a configuration save request.
Now in case of interface switching a 302 redirection is performed to clear
the page state.

Fixes #3126
2019-12-13 14:53:44 +01:00
Simone Mainardi
37f54a5090 Fixes font-awesome 5 external link
Fixes #3125
2019-12-13 10:18:20 +01:00
Alfredo Cardigliano
f6c6e4c54b Add badge for new updates 2019-12-12 15:17:35 +01:00
Alfredo Cardigliano
159a0cdd08 Typo 2019-12-12 12:22:59 +01:00
Alfredo Cardigliano
62c2e9a2de Do not show updates menu on Win 2019-12-12 11:17:51 +01:00
Alfredo Cardigliano
0ef242feb1 Show updates menu when installing from packages only 2019-12-12 10:17:15 +01:00
Alfredo Cardigliano
73bea15edc Implement csrf chain in updates POSTs 2019-12-11 18:13:44 +01:00
Alfredo Cardigliano
5a1a63b709 Moved updates menu 2019-12-11 17:35:04 +01:00
Alfredo Cardigliano
8f652cff71 Software update support 2019-12-11 13:14:15 +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
Luca Deri
bac7c05e4b Various cosmetic fixes 2019-12-07 17:29:49 +01:00
Simone Mainardi
2bfd12a84c Bootstrap migration bnt-default to bnt-secondary 2019-12-06 11:51:45 +01:00
Alfredo Cardigliano
5e3f77bbb6 Moved interface selector 2019-12-06 11:04:54 +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
Alfredo Cardigliano
93806e0a83 Main container, moved home 2019-12-05 10:40:28 +01:00
emanuele-f
a08393afcb Fix dialog titles right aligned 2019-12-05 10:31:07 +01:00
Simone Mainardi
d19ff06fca Bootstrap migration fixes dropdown header 2019-12-05 09:59:52 +01:00
Simone Mainardi
786298adeb Bootstrap migration menu fixes 2019-12-05 09:36:05 +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
f12c9946e4 Bootstrap migration datatables pagination 2019-12-05 09:27:48 +01:00
Simone Mainardi
6f9aefd1f9 Bootstrap migration edit user dialog 2019-12-05 09:27:48 +01:00
Simone Mainardi
7b66454959 Bootstrap migration add user dialog 2019-12-05 09:27:48 +01:00
Simone Mainardi
6d2478f4cd Bootstrap migration change user password 2019-12-05 09:27:48 +01:00
Simone Mainardi
b8dadfc8a1 Bootstrap migration main menu navbar 2019-12-05 09:27:48 +01:00
Simone Mainardi
db272831e9 Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
a26d707713 Restored old top navbar 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
fa97d65293 Fix sidebar items 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
b7515f0ad6 Add sidebar (WIP) 2019-12-05 09:27:47 +01:00
Simone Mainardi
bd30b4ad8e Tentative navbar for mac details 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
c287030593 Comments 2019-12-05 09:27:46 +01:00
Simone Mainardi
d7d26faad1 Initial migration to bootstrap4 2019-12-05 09:27:46 +01:00