Commit graph

89 commits

Author SHA1 Message Date
Luca Deri
614125cbba Starup log is now verbose to spot initialization delays 2022-03-08 12:04:00 +01:00
MatteoBiscosi
556057c1c1 Fixes nil value notification 2022-02-18 11:45:46 +01:00
Alfredo Cardigliano
53e21718fa Safety check 2022-02-17 15:42:05 +01:00
MatteoBiscosi
f86b7afe94 Fixes alerts not triggered due to redis delete 2022-02-17 11:50:12 +01:00
MatteoBiscosi
57a85de50e Cleaned up the code from plugin_utils 2022-02-11 12:07:23 +01:00
Luca Deri
fc0e204803 Reworked blog fetch into new callback file fetch_blog_feed.lua 2022-01-03 18:55:18 +01:00
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
MatteoBiscosi
e92135e776 Reorganized periodic scripts 2021-12-28 15:41:28 +01:00
Simone Mainardi
16b52dda98 Additional system startup.lua cleanup 2021-12-03 16:44:55 +01:00
Simone Mainardi
04949ea275 Cleanup system startup.lua from interfaces code 2021-12-03 14:30:57 +01:00
Simone Mainardi
bf24680fdc Removes policy utils from startup 2021-10-15 12:34:48 +02:00
Simone Mainardi
9937e576ec Handles the jailed hosts pool as a builtin pool like default
Addresses #5973
2021-10-13 17:46:49 +02:00
Simone Mainardi
e53aef06da Fixes nEdge startup 2021-08-17 13:58:17 +02:00
Simone Mainardi
76fd315d1b Refactors user_scripts into checks (lua) 2021-06-16 18:02:22 +02:00
Luca Deri
4c27f6f98c Implemented handlig of hello message from nprobe 2021-05-28 19:34:11 +02:00
Matteo Biscosi
abd51d295f Changed nProbe policy push 2021-05-27 15:00:55 +02:00
Matteo Biscosi
79a563c1a9 Added IPS policy load at startup 2021-05-27 14:57:49 +02:00
Matteo Biscosi
b678a2128e Added jailed hosts refresh when removed a member and at startup 2021-05-27 11:38:32 +02:00
Alfredo Cardigliano
9bc4dbe078 Move ips pool creation after recipients initialization 2021-05-26 09:52:13 +02:00
Simone Mainardi
44861bcc0c Fixes deletion of old alerts 2021-05-03 16:48:30 +02:00
Matteo Biscosi
97c83e1d75 Fixes delete alerts older then 2021-03-04 18:21:00 +01:00
Simone Mainardi
716d907ff1 Configset initialization fixes 2021-03-01 18:19:38 +01:00
Luca Deri
a4a2a13fed Added migration for old service map keys
Added dynamic memory management of ntop.getHashCache()
2021-02-04 17:16:14 +01:00
Matteo Biscosi
98917ee686 Implements #4937 top sites generation broken 2021-01-21 15:44:15 +01:00
Simone Mainardi
c3c2a58c3a String fix 2021-01-12 15:47:00 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Simone Mainardi
1a71ba4f5f Removes remote assistance
Fixes #4785
2020-12-17 19:41:37 +01:00
gabryon99
15772bd0fe refactor for endpoints and recipients (#4707) 2020-11-25 16:25:55 +01:00
Alfredo Cardigliano
9a26717a71 System config cleanup, add startup initialization, add more admin checks, move reset code to nf_config 2020-11-20 15:47:21 +01:00
Luca Deri
ea83944609 Cosmetic message changes 2020-10-29 09:46:29 +01:00
Luca
3449593087 Reworked notifications and fixed a bug that caused them to be fetched too often putting pressure on the blog feed 2020-10-16 09:31:04 +02:00
Luca Deri
77ab1e3a8a Added fix for #4534
- in case of startup crash and automtic restart, ntopng would reload lists resetting errors. This caused the storm of updates
- updated the URL to https://snort.org/downloads/ip-block-list
- in case of failure we retry the URL only once (it used to be twice) after one hour.
2020-10-15 17:17:35 +02:00
Simone Mainardi
6c1280a8e5 Reworks recipients.lua as static rather than (useless) instance 2020-09-23 15:03:07 +02:00
Simone Mainardi
8b9038a70c Waits plugins reload before initializing recipients 2020-09-17 14:13:30 +02:00
Simone Mainardi
b1b90c13d6 Implements alert queues monitoring backend
Implements #4324
2020-09-15 18:05:56 +02:00
Simone Mainardi
6924651ec5 Refactors creation of builtin endpoints and recipients
Implements #4386
2020-09-10 12:01:23 +02:00
Simone Mainardi
9e99fa1403 Uses new in-memory queues for alert recipients (avoid Redis) 2020-09-08 18:36:18 +02:00
Simone Mainardi
85f555a908 Removes intermediate alert queues - only leaves recipient queues
Implements #4366
2020-09-04 17:41:55 +02:00
Simone Mainardi
1d4930fc13 Initial work to add the SQLite plugin and builtin recipient 2020-09-03 19:35:28 +02:00
Luca Deri
aa1dc0b31d Implements #4217 2020-07-29 22:51:36 +02:00
Simone Mainardi
c623f21ba0 Refactors old host_pools_utils to nEdge-only host_pools_nedge 2020-07-16 18:17:19 +02:00
Simone Mainardi
012ef619da Avoids calling old initPools on non-nEdge 2020-07-16 17:59:19 +02:00
Luca Deri
7388bcdd44 Added startup tracing 2020-07-03 17:17:25 +02:00
Simone Mainardi
5ade224d85 Implements global host pools
Implements #4086

Refactors host pools to global

Implements host pools migration

Migration fixes

nEdge changes for host pools migration

Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
emanuele-f
d43d4e5e74 Make DHCP names cache expire after 1 day
Addresses #3641
2020-05-08 10:15:31 +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
Luca Deri
7769beecad Added blog check at startup 2020-03-25 08:12:04 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +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
f9b6921983 Fixes devices policies reload and alerts generation
Fixes #3102
2019-12-19 11:42:24 +01:00