Commit graph

1013 commits

Author SHA1 Message Date
Simone Mainardi
d9275ac166 Allows an extra runHousekeepingTasks before shutting down to do proper cleanup 2019-07-19 19:11:29 +02:00
Simone Mainardi
0d1b4c30a9 Prevents periodic flows hash walk for view interfaces 2019-07-19 17:17:38 +02:00
Simone Mainardi
302c7f673b Prevents flows db dump for viewed interfaces 2019-07-19 15:28:21 +02:00
emanuele-f
c9bf1e78cc Implement alerts release on shutdown 2019-07-19 13:58:10 +02:00
Simone Mainardi
3cd6a92efd Implements nDPI stats counters for views 2019-07-19 10:30:59 +02:00
Simone Mainardi
824027da2a Implements lua calls of idle hosts with triggered alerts 2019-07-18 18:15:23 +02:00
emanuele-f
3383ac0913 Implement dropped alerts per-interface counter 2019-07-18 17:29:05 +02:00
Simone Mainardi
a5bf74b2b6 Makes AlertCheckLuaEngine a subclass of LuaEngine 2019-07-18 17:27:57 +02:00
Simone Mainardi
54c1df4b4d Implements class AlertCheckLuaEngine and refactors code 2019-07-18 17:01:05 +02:00
Simone Mainardi
0fd3be6b79 Implements hosts purge mark algorithm 2019-07-18 15:19:36 +02:00
Simone Mainardi
be85b2ebc8 Implements algorithm to purge hosts only after checking their alerts 2019-07-18 13:34:45 +02:00
emanuele-f
585dba1d19 Implement alertable walker 2019-07-18 11:50:51 +02:00
Simone Mainardi
f18db066da Uses NetworkInterface::walker to check alerts on hosts 2019-07-18 11:43:39 +02:00
emanuele-f
6ea7055761 Fix engaged alerts on remote hosts 2019-07-17 18:46:19 +02:00
emanuele-f
991c4e2786 Implement engaged alerts pagination 2019-07-17 17:31:37 +02:00
Simone Mainardi
34f91bfd9f Implements new algorithm to allow flows purging control from interface views 2019-07-17 16:15:56 +02:00
emanuele-f
2e537a0c94 Alert changes after review 2019-07-17 12:51:47 +02:00
emanuele-f
279c29aeb7 Run purge and periodic scripts with original speed PCAP dump 2019-07-17 12:19:17 +02:00
Simone Mainardi
c984d33034 Prevents HTs allocation in viewed interfaces 2019-07-17 12:16:46 +02:00
Simone Mainardi
1c78421a8b Defers NetworkInterface HTs allocation to skip it in view interfaces 2019-07-17 11:54:57 +02:00
Simone Mainardi
c13dc628de Moves view subinterfaces to class ViewInterface 2019-07-17 11:01:05 +02:00
Simone Mainardi
46aed24a72 Allows ntopng to work without mac instances and macs HT 2019-07-17 10:50:48 +02:00
Simone Mainardi
006ccc4a97 Allows ntopng to work without vlan instances and vlans HT 2019-07-16 23:31:20 +02:00
Simone Mainardi
03af92eb36 Allows ntopng to work without countries instances and countries HT 2019-07-16 23:26:58 +02:00
Simone Mainardi
535b4438e3 Allows ntopng to work without AS instances and ASes HT 2019-07-16 23:21:08 +02:00
Simone Mainardi
c3ee5e9c3e Handles possibly failing hosts allocations 2019-07-16 23:10:51 +02:00
Simone Mainardi
d8f5a9c712 Reduces flows memory utilization 2019-07-16 23:03:20 +02:00
emanuele-f
c117f20e19 Initial rework for in-memory alerts 2019-07-16 19:25:09 +02:00
Simone Mainardi
7eae30e914 Allows ntopng to work without Host instances and hosts HT 2019-07-16 19:02:36 +02:00
emanuele-f
7b1190f24f Fix host alerts counter 2019-07-16 11:33:51 +02:00
emanuele-f
5e40e47cce Implement expired alerts release
This is necessary to handle the case where a previously configured alert config is deleted
2019-07-15 13:09:18 +02:00
emanuele-f
e9d5181d7c Add check for nil checkpoint
Fixes #2717
2019-07-15 10:27:28 +02:00
Simone Mainardi
92feace075 Implements an host housekeep task to reset flood counters periodically 2019-07-15 09:37:18 +02:00
Alfredo Cardigliano
c63831bfa3 Computing L4 protocol statistics for flows 2019-07-12 16:27:34 +02:00
Alfredo Cardigliano
54c783f236 Filter flows by L4 protocol 2019-07-12 14:41:07 +02:00
emanuele-f
a2d1e6eda4 Fix interface alert counters and bugged release 2019-07-12 16:08:26 +02:00
Alfredo Cardigliano
92c50fd8f6 Fixed host anomalous_flows counters for active flows when processing a pcap file 2019-07-11 16:46:23 +02:00
Alfredo Cardigliano
6429a213f0 Warning fix 2019-07-11 13:28:51 +02:00
emanuele-f
35c9bc542c Add alert scripts error logs 2019-07-10 16:05:56 +02:00
Simone Mainardi
11fa6b5212 Implements network alerts 2019-07-10 12:43:17 +02:00
Alfredo Cardigliano
95a2647390 Fixed TCP sequence number computation (this also fixes # of retransmissions) 2019-07-10 12:23:05 +02:00
Simone Mainardi
fbc74bf423 Initial implementation of network alerts (wip) 2019-07-09 19:33:27 +02:00
Simone Mainardi
24624c8ed0 Implements new minute-by-minute top talkers 2019-07-09 15:43:09 +02:00
Luca
d4d8fe904c Fixed warning 2019-07-08 17:10:14 +02:00
emanuele-f
8fc588ca00 Remove checkpointable
checkpointHostTalker and scanAlert must be fixed
2019-07-08 15:31:37 +02:00
Luca Deri
d77704fdd8 Interface alert handler (work in progress) 2019-07-07 23:13:14 +02:00
Luca
76ef993dfe Reworked alerts 2019-07-07 15:09:24 +02:00
Simone Mainardi
94f894454c Removes useless disablePurge and enablePurge 2019-07-05 16:08:51 +02:00
Simone Mainardi
ef4f98a5a5 Implements lock-free hash table additions 2019-07-05 16:00:43 +02:00
Simone Mainardi
54eb6bfe1f Adds flag is_inline_call to the getHost method 2019-07-05 11:44:41 +02:00