Commit graph

3763 commits

Author SHA1 Message Date
Simone Mainardi
6bb8a1cd68 Fixes list download succeeded alerts 2020-12-24 10:20:05 +01:00
gabryon99
213262f58d add maps menu inside the sidebar 2020-12-23 22:12:01 +01:00
gabryon99
e4bfbb7672 add map param to http lint 2020-12-23 18:26:28 +01:00
gabryon99
00e12add95 removed service map and periodicity map from community 2020-12-23 18:26:28 +01:00
gabryon99
736894bcb3 improvements on service map page 2020-12-23 18:26:27 +01:00
Matteo Biscosi
101c53336e Migrates alerts to an object-oriented implementation 2020-12-23 11:46:26 +01:00
gabryon99
77442fb53f new preferences for network behaviour 2020-12-23 10:13:09 +01:00
Simone Mainardi
c1bdfb8722 Unifies flow_keys and status_keys 2020-12-22 19:14:16 +01:00
Simone Mainardi
16e2c9efe2 Cleanup to remove flow_consts no longer needed 2020-12-22 17:59:51 +01:00
gabryon99
1d633cf23c moved service map page into pro repository 2020-12-22 17:28:56 +01:00
Simone Mainardi
b42f8f118a Fix for normal flow status label 2020-12-22 17:03:10 +01:00
Simone Mainardi
c273478b7a Reworks UI list of defined alert and flow keys 2020-12-22 16:51:26 +01:00
Matteo Biscosi
bcf2c2c1ed Migrates alerts to an object-oriented implementation 2020-12-22 14:48:00 +01:00
matteo
e24ef4ef35 Revert "Migrates alerts to an object-oriented implementation"
This reverts commit fbc283f12f.
2020-12-22 13:13:57 +01:00
matteo
fbc283f12f Migrates alerts to an object-oriented implementation 2020-12-22 13:00:25 +01:00
Simone Mainardi
3baa932a01 Migrates alerts to an object-oriented implementation
Migrates alert_malicious_signature alert_elephant_local_to_remote alert_elephant_remote_to_local

Migrates long_lived

Migrates alert_flow_blocked

Migrates alert_tls_old_version

Migrates alert_tls_certificate_mismatch

Migrates alert_tls_certificate_expired

Migrates alert_tls_unsafe_ciphers

Migrates alert_tls_certificate_selfsigned

Migrates alert_potentially_dangerous_protocol

Migrates alert_snmp_device_reset

Migrates alert_port_mac_changed

Migrates alert_port_duplexstatus_change

Mirgates alert_port_errors

Migrates alert_port_status_change

Migrates alert_port_load_threshold_exceeded

Migrates alert_data_exfiltration

Migrates alert_dns_data_exfiltration

Migrates alert_suspicious_tcp_probing alert_suspicious_tcp_syn_probing alert_tcp_connection_refused

Migrates alert_dns_invalid_query

Migrates alert_attack_mitigation_via_snmp

Migrates alert_lateral_movement

Migrates alert_periodicity_update

Migrates alert_dns_positive_error_ratio

Migrates alert_iec104_error
2020-12-22 09:56:38 +01:00
Simone Mainardi
0ccc3507d0 Implements alert:store class method 2020-12-21 12:09:41 +01:00
matteo
d72219b311 Added alert:set_subtype to the new alert API 2020-12-21 11:53:40 +01:00
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