emanuele-f
585dba1d19
Implement alertable walker
2019-07-18 11:50:51 +02:00
Simone Mainardi
f289ab4ddc
Cleanups old ViewInterface unused functions
2019-07-17 20:01:55 +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
7680627842
Cleanups view interfaces code
2019-07-17 11:08:46 +02:00
Simone Mainardi
c13dc628de
Moves view subinterfaces to class ViewInterface
2019-07-17 11:01:05 +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
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
Luca Deri
d04d5da466
Implemented --original-speed for reproducing pcaps at original pace
2019-07-15 17:29:07 +02:00
Alfredo Cardigliano
c63831bfa3
Computing L4 protocol statistics for flows
2019-07-12 16:27:34 +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
Simone Mainardi
11fa6b5212
Implements network alerts
2019-07-10 12:43:17 +02:00
Simone Mainardi
fbc74bf423
Initial implementation of network alerts (wip)
2019-07-09 19:33:27 +02:00
Simone Mainardi
ad5113cee0
Removes unused checkpoint_compression_buffer
2019-07-09 16:25:08 +02:00
Simone Mainardi
24624c8ed0
Implements new minute-by-minute top talkers
2019-07-09 15:43:09 +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
Simone Mainardi
5c3c2ae30c
Removes unnecessary locks when accessing the mac addresses hash
2019-07-05 11:31:15 +02:00
Simone Mainardi
6248f8d62e
Removes unnecessary locks when accessing the countries hash
2019-07-05 11:13:57 +02:00
Simone Mainardi
35c3771986
Adds flag is_inline_call used to lock/unlock when accessing the ASes hash
2019-07-05 11:07:46 +02:00
Simone Mainardi
bc1ecb758e
Removes unnecessary locks when accessing the VlanHash
2019-07-05 10:49:28 +02:00
Simone Mainardi
a6e71bef42
Removes unnecessary locks when accessing the AutonomousSystemHash
2019-07-05 10:31:37 +02:00
Simone Mainardi
62a0a11c25
Removes unnecessary locks when accessing the HostsHash
2019-07-05 09:08:14 +02:00
emanuele-f
a9d3c78587
Alerts changes
...
NOTE: database schema changed. Existing alerts will be lost.
- Unified engaged and closed tables
- Simplified hosts engaged alert counters handling: periodically set by lua
- Removed alert engine and replaced with alert periodicity
- Now engage is implicitly derived from the alert end timestamp and periodicity
- New alerts_api.lua to easily emit alerts
- Removed past alerts counter aggregation by hash
- Alert notifications for non-flow alerts are now removed from C and triggered by lua
2019-06-28 10:47:17 +02:00
emanuele-f
c506ef6aeb
Implement L7 num flows charts
2019-06-27 10:00:14 +02:00
Simone Mainardi
b4f7788dea
Implements batched lua flows iterator
2019-06-25 12:52:38 +02:00
Simone Mainardi
26d4cc2223
Renames rawsize to len_on_wire
2019-06-05 15:27:57 +02:00
Simone Mainardi
19b2f581d6
Fixes missing detection of the 'More Fragments' bit when counting fragments
2019-06-05 15:16:58 +02:00
Simone Mainardi
bf68184b95
Fixes overruns due to the use of len instead of caplen in ipsize
2019-06-05 12:31:45 +02:00
emanuele-f
8fcce457c9
Implement countries serialization
...
Countries now show the cumulative traffic since ntopng restart as this is consistent with the other views
2019-05-27 13:07:30 +02:00
emanuele-f
89f6544524
Implement interface L4 stats
2019-05-22 20:11:06 +02:00
Alfredo Cardigliano
9cdb84a875
Implements filtering per flow status in the active flows page
2019-05-20 18:54:50 +02:00
Luca Deri
0378f1ac69
Code cleanup
2019-05-16 17:51:34 +02:00
Simone Mainardi
d068e817d1
Implements multiple companions per ZMQ interface
2019-05-14 16:41:52 +02:00
emanuele-f
a4ed782486
Add option to disable flow dump on a network interface
...
Closes #2576
2019-05-13 17:18:16 +02:00
Simone Mainardi
204ea6cf62
Cleanup unused code based on struct eBPFEvent
2019-05-13 14:47:47 +02:00
Simone Mainardi
7eedde24e3
Dispatches eBPF events using class ParsedFlow
2019-05-13 13:04:06 +02:00
Simone Mainardi
ab92ee7926
Converts ZMQ PODs to classes
2019-05-10 19:32:34 +02:00