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
Alfredo Cardigliano
d19db6b678
Run ntopng on the bridge interface when running in bridge mode as appliance
2020-11-27 16:43:31 +01:00
Simone Mainardi
93ef5c08d8
Allows a recipient to be bound to every pool upon creation
2020-11-27 16:30:55 +01:00
gabryon99
30e5b8a629
changed purge button color and added info label ( #4586 )
2020-11-27 15:48:53 +01:00
Simone Mainardi
204026d9c9
Fixes too-many-export-drops alerts
...
Fixes #4742
2020-11-27 11:37:43 +01:00
matteo
86008481b5
Fixes #4266 plugin for triggering alerts on periodic behaviour
2020-11-27 09:01:21 +01:00
Alfredo Cardigliano
159564bd95
System DNS configuration
2020-11-26 19:34:10 +01:00
Simone Mainardi
d21fe7d6e1
Cleanup of unused volatile members
2020-11-26 18:50:19 +01:00
gabryon99
9d8fded73c
improved page layouts and added stats_utils for pie charts ( #4653 )
2020-11-26 16:56:46 +01:00
gabryon99
4fa3089628
fix for --community toast
2020-11-26 16:56:46 +01:00
Simone Mainardi
2cc45f5229
Reworks experimental object-oriented alerts code
2020-11-26 15:56:24 +01:00
Alfredo Cardigliano
49749f7e3b
Move dhcp server code to nf_config. Code cleanup.
2020-11-26 15:54:17 +01:00
gabryon99
035afedf25
added alert when there are too many export drops ( #4742 )
2020-11-26 15:32:43 +01:00
gabryon99
471f5e2fa8
add sorting for dropdown labels ( #4778 )
2020-11-26 15:32:43 +01:00