Simone Mainardi
65049b2cac
Fixes crash when calling --help
2019-08-26 18:29:43 +02:00
emanuele-f
e92641920d
Implement syn/flow flood victim alerts on local networks
2019-08-26 16:42:23 +02:00
emanuele-f
f43f4b7dd9
Add engaged alerts type exclusion filter
...
Fixes #2780
2019-08-22 16:30:45 +02:00
emanuele-f
69cd896a9f
Implement engaged alerts and flow alerts timeseries
2019-08-21 16:57:14 +02:00
emanuele-f
7893c1f78a
Implement RTT host engage/release alert
2019-08-20 19:02:58 +02:00
emanuele-f
87ba28195b
Add support to engage/release on external alerts
2019-08-20 19:02:58 +02:00
Simone Mainardi
54473f7883
Updates host pools stats also in community mode
2019-08-20 12:00:41 +02:00
emanuele-f
d1c5275302
Move suppressed alerts flag to C to reduce Redis load
2019-08-20 11:54:25 +02:00
Simone Mainardi
74c545d079
Uses stats rather than grouped hosts data for network stats
2019-08-19 17:39:51 +02:00
Simone Mainardi
e363e56e23
Implements sorting of hosts per number of UDP port unreachable flows
2019-08-16 15:25:41 +02:00
Luca
f8c962a6fb
Fixed alerts race conditions
2019-08-15 17:19:26 +02:00
Simone Mainardi
ac2ce0c058
Sets all hash entries to idle during shutdown
2019-08-12 14:05:08 +02:00
Luca
899b580cc4
SSL/TLS rename
2019-08-08 15:24:38 +02:00
Emanuele Faranda
c829c4c3c3
Unify os ( #2755 )
...
* Unify OS information.
Now OS information is only stored into the Host. The lua uses numeric IDs to handle OS.
* Fix network discovery OS
* Show OS detail into the host details page
2019-08-08 12:09:51 +00:00
Simone Mainardi
abd7041dd4
Allows host pools to be configured for view interfaces
2019-08-06 10:23:39 +02:00
Luca Deri
fa33738762
Added incUses in get-ter method to avoid race conditions
2019-08-06 09:43:30 +02:00
emanuele-f
8225c589fe
Temporary disable inconsistent state messages during shutdown
...
Shutdown is currently a special case, so such messages are expected
2019-08-05 17:58:34 +02:00
emanuele-f
f476d7118c
Log invalid hash entry states
2019-08-05 12:56:45 +02:00
Simone Mainardi
f110602192
Refactors hash entry state setters to ease override
2019-08-05 12:12:16 +02:00
emanuele-f
348e7b6c14
Unused label warning fix
2019-08-02 10:00:33 +02:00
Simone Mainardi
2a95e3925d
Allows up to 8 nindex interfaces
2019-07-31 19:40:15 +02:00
Simone Mainardi
c9223590d9
Workaround to handle \n forcefully set when decoding ZMQ tlv
2019-07-31 16:06:15 +02:00
emanuele-f
d38cd23615
Move C alerts to unified alerts_queue
2019-07-30 11:43:18 +02:00
emanuele-f
62f754f7f9
Initial work towards unified alerts queue
2019-07-29 18:22:49 +02:00
Alfredo Cardigliano
babab56394
Handling http ret code, dns query type and ret code from the ZMQ parser
2019-07-26 16:12:35 +00:00
Alfredo Cardigliano
289e787da7
Creating the flow additional fields json object only when required
2019-07-26 12:54:40 +00:00
Alfredo Cardigliano
d010bb9b47
ZMQ flow processing optimization (+20%)
2019-07-26 11:11:40 +00:00
Alfredo Cardigliano
b0d3260761
More profiling checkpoints
2019-07-26 09:47:27 +00:00
Alfredo Cardigliano
88ab5cfb3c
Profiler fixes
2019-07-26 09:05:17 +00:00
Simone Mainardi
afe2e5111e
Fixes disaggregated interfaces initialization
...
Possible fix for #2745 and #2743
2019-07-26 10:13:51 +02:00
Alfredo Cardigliano
7efc8dfcae
flowProcess profiling
2019-07-25 16:33:41 +00:00
Simone Mainardi
f035d5c894
Reworks shutdown operations to properly terminate pool loops and periodic activites
2019-07-25 11:58:13 +02:00
emanuele-f
55405857cc
Fix possibly idle GenericHashEntry due to deserialization
2019-07-25 11:43:49 +02:00
Luca Deri
0eb9407de4
Minor changes
2019-07-25 09:59:44 +02:00
Simone Mainardi
295862e3c4
Prevents double host allocation when cli and srv are equal in flow
2019-07-24 16:52:57 +02:00
Simone Mainardi
940bf0bde3
Minor code cleanup
2019-07-24 16:29:51 +02:00
emanuele-f
a3942831b8
Fix issues with engaged alert counters and other improvements
2019-07-24 15:40:43 +02:00
Simone Mainardi
25fc8da061
Implements host flows fetch for view interfaces
2019-07-24 13:04:22 +02:00
Simone Mainardi
b9ae314776
Compilation fixes
2019-07-24 11:51:20 +02:00
Luca Deri
cc5bb700bc
Compilation fix
2019-07-24 11:31:09 +02:00
Simone Mainardi
a1f0c639c7
Prevents aggregated flows dump for view and viewed interfaces
2019-07-23 18:00:05 +02:00
Simone Mainardi
969c51fbe4
Implements time-based aggregated flows dump
2019-07-23 12:28:04 +02:00
Simone Mainardi
ed5c0d4d4c
Implements proper shutdown with view interfaces
2019-07-22 18:43:30 +02:00
Simone Mainardi
c8fbfa8243
Uses walker() wrapper to navigate hash tables
2019-07-22 16:21:07 +02:00
Simone Mainardi
dd87bdb246
Uses hash entries finite states machine on view interfaces
2019-07-22 16:13:27 +02:00
Simone Mainardi
9b6714823a
Implements hash entries lifecycle as a finite states machine
...
Fixes certain sporadic race conditions
2019-07-22 15:18:39 +02:00
Simone Mainardi
5f95d0727b
Adds is_view flag to the NetworkInterface
2019-07-19 19:24:54 +02:00
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