Commit graph

3745 commits

Author SHA1 Message Date
Simone Mainardi
3789e490ef Shows migrated flow statuses in active flow status dropdown 2020-12-21 10:12:17 +01:00
Simone Mainardi
7c6c249adf Fixes attempt to index a nil value (global 'dirs') 2020-12-21 10:01:42 +01:00
Alfredo Cardigliano
da62df2b73 Remove useless check to avoid misleading warnings 2020-12-18 14:25:25 +01:00
Matteo Biscosi
f13e7157fc Removed ifname from redis prefs keys 2020-12-18 12:27:59 +01:00
gabryon99
dcf5144c04 add active monitoring shortcut 2020-12-18 11:47:17 +01:00
Alfredo Cardigliano
da2b6e152c Fix undefined dirs in alert_slow_periodic_activity.lua 2020-12-18 10:02:23 +01:00
Simone Mainardi
1a71ba4f5f Removes remote assistance
Fixes #4785
2020-12-17 19:41:37 +01:00
gabryon99
ddbf1bb01f add rtt_threshold and bandwidth_threshold to infrastructure instances 2020-12-17 12:57:38 +01:00
Simone Mainardi
24cf807e7b Implements batched flows iterator in callback_utils 2020-12-17 12:01:19 +01:00
gabryon99
5fa6e69038 improvement on service_map page
The graph page has been set as the first page wehn a user navigates to
the service map page. When a user double clicks a node then the map will
be filtered with only the edges linked to the node. The flush data and
download buttons have been restored.
2020-12-17 11:37:51 +01:00
Alfredo Cardigliano
e581f2caf5 Fix nindex data visualization in Pro version 2020-12-17 11:19:02 +01:00
gabryon99
65a5d4658c add new service map page under host menu 2020-12-16 21:05:58 +01:00
gabryon99
bf92e7906c add shortcut entries inside the sidebar 2020-12-16 21:05:58 +01:00
DasSkelett
14d89c3fdb
Fix nil check in isCompatibleVersion() (#4841)
While playing around with the timeseries feature I got the following exception when trying to use Telegraf's `inputs.influxdb_listener` as proxy to a Prometheus database.
```
...opng/scripts/lua/modules/timeseries/drivers/influxdb.lua:1643: attempt to index a nil value (local 'current')
```

`current` is likely supposed to be checked for nil earlier together with `required`, but instead of `current` the line is checking `version`, which isn't used anymore afterwards though.

So this commit changes the check from `version == nil` to `current == nil`.

Since then I've discovered that proxying Prometheus via Telegraf's `influxdb_listener` doesn't work anyways since ntopng also tries to read from it, but that's a different story.
2020-12-16 17:52:28 +01:00
Simone Mainardi
d66368be24 Implements behavioural analysis learning period preference 2020-12-16 16:50:19 +01:00
Luca Deri
4ffff0859a Implemented interface.getAddressInfo() API call to return information about IP addresses in a reliable way frm the ntopng engine 2020-12-15 20:43:20 +01:00
Simone Mainardi
58b982d3fb Prevents alert flow info from being shown in the flow alert page 2020-12-15 17:31:52 +01:00
Simone Mainardi
3b202121f6 Reworks notifications to avoid JSON-decode to read severity 2020-12-15 16:52:39 +01:00
Luca Deri
426d626331 Added missing spaces 2020-12-15 16:23:47 +01:00
Luca Deri
5df403e969 Fixes #4751 2020-12-15 15:36:25 +01:00
Simone Mainardi
33342abc54 Additional work towards new unified alerts/flow status API 2020-12-14 19:01:33 +01:00
Luca
48641b2e81 Recipient budget is no longer staticly assigned but a portion of the total budget
equally shared among the configured recipients with a cap of 1000
2020-12-14 14:40:47 +01:00
MatteoBiscosi
de340b66ef Fixed #2789 implement remote DNS resolution failure alert 2020-12-11 09:54:02 +01:00
MatteoBiscosi
fdc2ff603d Fixed maximum hosts/flows wizard 2020-12-10 12:43:46 +01:00
matteo
a8cd70e0e5 Fixed #4730 Reset list of learnt MAC addresses 2020-12-09 17:18:35 +01:00
Matteo Biscosi
efe16f5521
Removed tprint and modified too_many_hosts title 2020-12-09 12:23:48 +01:00
matteo
6b71eeefe7 Changed too_many_flows/hosts POST url 2020-12-09 11:56:16 +01:00
matteo
20a8bb115a Fixed #2959 handle new -X/-x settings when the respective messages appear 2020-12-09 11:51:34 +01:00
Simone Mainardi
0897c9b28d Implements toast capability to open modals and generate AJAX 2020-12-07 18:30:35 +01:00
Alfredo Cardigliano
3a5fa4564a Check passphrase length in the UI form. Add ieee80211n/ieee80211ac. 2020-12-07 16:32:08 +01:00
Alfredo Cardigliano
1513d799a4 Add country code to wpa supplicant to avoid soft lock, fix wired dev 2020-12-07 11:12:01 +01:00
Alfredo Cardigliano
20d1bb3455 Add flag to enable wifi changes on reboot, parametric interface names 2020-12-06 23:12:22 +01:00
Simone Mainardi
c7c3a1af17 Minor fix 2020-12-04 17:45:04 +01:00
Simone Mainardi
8d6dafc897 Unifies new alerts and flow alerts API 2020-12-04 17:03:23 +01:00
Alfredo Cardigliano
d5602040d7 Do not add a loopback conf twice 2020-12-04 08:17:29 +00:00
Alfredo Cardigliano
dcf554a668 Enable IP config in iot bridge mode 2020-12-04 08:10:37 +00:00
Alfredo Cardigliano
fdd4305e5a Add support for static bridge IP and recovery alias 2020-12-03 22:30:06 +00:00
Alfredo Cardigliano
83660f5c85 Configuration improvements for the IoT mode 2020-12-03 17:24:01 +00:00
gabryon99
9366318520 documented rest api for the infrastructure configurations (#4783) 2020-12-03 15:08:14 +01:00
Alfredo Cardigliano
92d8d9396d Fix wireless configuration. Handle appliance reboot. 2020-12-03 13:56:05 +00:00
Luca Deri
c2c010639b License menu moved to settings
Added external links
2020-12-03 12:18:42 +01:00
Alfredo Cardigliano
f0aeed0eff IoT bridge configuration fixes 2020-12-02 17:46:45 +00:00
Simone Mainardi
8e57382525 Fixes alpha ordering of alerts
Partially addresses #4778
2020-12-02 18:02:48 +01:00
Simone Mainardi
e831102828 Implements lua pairsByDottedDecimalKeys sorter 2020-12-02 14:29:00 +01:00
Alfredo Cardigliano
4be7f67d35 Wifi configuration (to be tested) 2020-12-02 12:15:06 +01:00
Alfredo Cardigliano
973e38587b Appliance wireless configuration page 2020-12-01 19:55:34 +01:00
gabryon99
0936df6d01 made a new page for the license (#3665) 2020-11-30 18:02:01 +01:00
Simone Mainardi
4533806ce8 Extends the new api with the format function 2020-11-30 17:11:48 +01:00
Simone Mainardi
b3dc39c641 Refactors alert_severities into an independend Lua module 2020-11-30 15:28:17 +01:00
Matteo Biscosi
0858d1bb79
Fixes alert_generation nil value 2020-11-30 10:55:12 +01:00