Implemented countries host check (#5713)

* Added check and alert implementation

* Fixed size of estimation and some typo

* Added HLL counters and DES structure
Co-authored-by: Paolo Junior Mollica <p.mollica@studenti.unipi.it>

* fixes according comments of PR

* decreased memory footprint

* resolved conflicts

* fixed HostCheckID

* Removed wrongly committed file

Co-authored-by: paolo-junior-mollica <paolo.junior.mollica@gmail.com>
Co-authored-by: Matteo Biscosi <49585191+MatteoBiscosi@users.noreply.github.com>
This commit is contained in:
Francesco Amodeo 2021-08-25 15:50:07 +02:00 committed by GitHub
parent 5df881478d
commit de27966413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 318 additions and 1 deletions

View file

@ -21,6 +21,7 @@ local host_alert_keys = {
host_alert_host_log = 13,
host_alert_dangerous_host = 14,
host_alert_ntp_traffic = 15,
host_alert_countries_contacts = 16,
-- NOTE: Keep in sync with HostAlertTypeEnum in ntop_typedefs.h
}