Commit graph

261 commits

Author SHA1 Message Date
Simone Mainardi
8d6dafc897 Unifies new alerts and flow alerts API 2020-12-04 17:03:23 +01:00
Luca Deri
fa8773c969 Added IEC 104 graph 2020-12-03 21:59:13 +01:00
Luca Deri
747f4675d8 IEC104 improvements 2020-11-28 15:42:40 +01:00
Luca Deri
599835c72f Reworked IEC104 implementation 2020-11-27 22:34:50 +01:00
Luca Deri
643730a59c Modified target for CommunityID 2020-11-18 08:43:54 +01:00
Luca Deri
4d164d217c Added communityId in flow reports 2020-11-17 17:37:29 +01:00
Alfredo Cardigliano
ba9c501c4d Add support for system configuration (WIP) 2020-11-17 11:54:47 +01:00
Simone Mainardi
8b7a99aa94 Fixes for flow-status-dependent severity 2020-11-12 12:02:27 +01:00
Simone Mainardi
93920ccdce Implements example of simplified flow alerts 2020-11-10 15:10:54 +01:00
gabryon99
1c73df18db add table-responsive class (#4692) 2020-11-09 17:05:36 +01:00
Luca Deri
216b1532da IEC 60870 dissection improvements and hardening 2020-11-04 15:46:36 +01:00
Luca Deri
9d232d614c Various cosmetic fixes in host and flow pages
Service map is not reported when there are no services listed
2020-11-01 13:54:24 +01:00
Alfredo Cardigliano
cbccddbb3e Show device id when set and != 0 only 2020-10-22 00:09:34 +02:00
Simone Mainardi
d7f1ce0d8c Reworks and optimizes flow alerted status 2020-10-19 16:50:22 +02:00
Simone Mainardi
d3dda0bb82 Unifies misbehaving with alerted flows
Implements #4596
2020-10-16 18:58:20 +02:00
Alfredo Cardigliano
3aae425731 Print device ID in flow details (when available) 2020-10-13 17:17:17 +02:00
Simone Mainardi
2432ca068b Prints human-friendly SNMP interfaces details in flow_details.lua
Fixes #4568
2020-10-12 11:24:37 +02:00
Simone Mainardi
e1f4bb80f7 Default flow risk handler now sets statuses
Implements #4398
2020-10-06 09:56:53 +02:00
Luca Deri
55d8e299fa Cleanued up code for flow score 2020-09-23 10:51:36 +02:00
Luca Deri
1af60271b6 Fixed risk flow layout 2020-09-23 09:08:31 +02:00
Luca Deri
4648dfffe1 Implemented full IEC 104 handling 2020-09-08 20:03:20 +02:00
Luca Deri
9fe21dac15 Added IEC 104 handling 2020-09-04 16:58:44 +02:00
Simone Mainardi
4ad51d2774 Fixes ERROR: ntop_get_tls_version_name : expected number 2020-08-26 11:23:04 +02:00
Simone Mainardi
79f542be0e Uses TLS version string from nDPI
Fixes #4149
2020-08-20 11:50:57 +02:00
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
Alfredo Cardigliano
630e057a3d Improve printFlowSNMPInfo 2020-07-20 11:43:50 +02:00
Alfredo Cardigliano
bb0fbd4460 Flow details fix 2020-07-20 10:30:14 +02:00
Alfredo Cardigliano
2364e73345 DSCP utiliti functions 2020-07-17 10:40:38 +02:00
Simone Mainardi
c623f21ba0 Refactors old host_pools_utils to nEdge-only host_pools_nedge 2020-07-16 18:17:19 +02:00
gabryon99
48dc7e1a93 notification for geoip, contribution and alert notification api in js 2020-07-15 10:00:04 +02:00
Luca Deri
0fb01440b0 Implemented flow entropy 2020-07-14 12:49:47 +02:00
Simone Mainardi
09c69edb22 Major rework of user_scripts.lua to use new pools 2020-07-10 13:01:29 +02:00
Luca Deri
70c0601dfa Implemented DSCP/TOS collection, dissection and report 2020-06-25 23:23:04 +02:00
Simone Mainardi
30cbf26684 Fixes flow_details SNMP information 2020-06-10 17:29:38 +02:00
Simone Mainardi
4ffa3e2ca7 Adds SNMP information in flow_details.lua 2020-06-10 17:10:30 +02:00
Simone Mainardi
17bfc850b1 Fixes XSS in dissected HTTP URLs, TLS certs, and DNS names
Fixes possible XSS due to forged HTTP urls such as

curl -u admin:admin1 "http://devel:3000/</a><script>alert(1);</script><a>"

Similar attacks could have been performed with TLS certs and DNS names
2020-06-03 19:03:55 +02:00
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
Simone Mainardi
058f2a32be Uses nDPI-calculated risks for TLS alerts 2020-05-15 11:54:18 +02:00
Simone Mainardi
79c48e2039 Adds localization for flow risks 2020-05-13 20:01:06 +02:00
Simone Mainardi
1e03a59af8 Fixes flow risks in flow_details page 2020-05-13 12:34:47 +02:00
Luca Deri
d29492a89e Added support for flow risk reported by nDPI 2020-05-12 00:34:46 +02:00
Luca Deri
698265c4fb Added TLS issuerDN, subjectDN 2020-05-07 19:06:13 +02:00
Luca Deri
0a644150d9 Added check for preventing lua errors when showing TLS flow pages 2020-05-07 15:11:27 +02:00
Alfredo Cardigliano
823af75000 Propagate and print in flow details AS src/dst/prev/next from collected flows 2020-04-30 10:09:26 +00:00
Simone Mainardi
0a9a7015e0 Unifies status_id and status_key 2020-04-15 14:29:03 +02:00
Simone Mainardi
e487427aab Refactors alert_utils and enterprise_alert_utils
Addresses #3720

Alerts Refactor: alert_utils as module

Alerts Refactor: notify_ntopng_start and notify_ntopng_stop

Alerts Refactor: processAlertNotifications

Alerts Refactor: checkStoreAlertsFromC

Alerts Refactor: formatAlertNotification

Alerts Refactor: notification_timestamp_rev

Alerts Refactor: formatAlertMessage

Alerts Refactor: getConfigsetAlertLink

Alerts Refactor: alertNotificationActionToLabel

Alerts Refactor: flushAlertsData

Alerts Refactor: disableAlertsGeneration

Alerts Refactor: newAlertsWorkingStatus and other

Alerts Refactor: drawAlerts

Alerts Refactor: drawAlertTables

Alerts Refactor: printAlertTables

Alerts Refactor: checkDeleteStoredAlerts

Alerts Refactor: getUnpagedAlertOptions

Alerts Refactor: getTabParameters

Alerts Refactor: getAlerts

Alerts Refactor: getNumAlerts

Alerts Refactor: performAlertsQuery

Alerts Refactor: sec2granularity

Alerts Refactor: granularity2id

Alerts Refactor: granularity2sec

Alerts Refactor: alertEngineLabel

Alerts Refactor: alertEngine

Alerts Refactor: alertEngineRaw

Alerts Refactor: alertTypeDescription

Alerts Refactor: alertType

Alerts Refactor: alertTypeLabel

Alerts Refactor: alertTypeRaw

Alerts Refactor: alertSeverity

Alerts Refactor: alertSeverityLabel

Alerts Refactor: alertSeverityRaw

Alerts Refactor: get_make_room_keys

Alerts Refactor: enterprise_alert_utils
2020-04-10 14:03:20 +02:00
gabryon99
ce0e3d2d11 fix for system view 2020-03-24 12:39:08 +01:00
gabryon99
7479582210 fix system view and add rtt host from host_details 2020-03-23 17:38:22 +01:00
emanuele-f
b0520ee189 Improve localization support
- nDPI categories are now localized (see getCategoryLabel)
- Add some missing localization in plugins/user scripts pages
2020-03-03 18:26:14 +01:00