mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix blacklisted host alerts not generated when reading from PCAP dump
This commit is contained in:
parent
a5b5510290
commit
8e6cd5962a
4 changed files with 27 additions and 5 deletions
|
|
@ -480,6 +480,7 @@ end
|
|||
local function reloadListsNow()
|
||||
local user_custom_categories = categories_utils.getAllCustomCategoryHosts()
|
||||
local lists = lists_utils.getCategoryLists()
|
||||
local start_t = os.time()
|
||||
|
||||
-- Load hosts from cached URL lists
|
||||
for list_name, list in pairsByKeys(lists) do
|
||||
|
|
@ -502,6 +503,9 @@ local function reloadListsNow()
|
|||
end
|
||||
end
|
||||
|
||||
local end_t = os.time()
|
||||
traceError(TRACE_INFO, TRACE_CONSOLE, string.format("Lists loaded in %d seconds", (end_t - start_t)))
|
||||
|
||||
-- Reload into memory
|
||||
ntop.reloadCustomCategories()
|
||||
ntop.reloadJA3Hashes()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue