Luca
263fe3927b
Refactoring fixes
2019-10-11 07:36:06 +02:00
Alfredo Cardigliano
a2e74e16a3
New Lua interface.processFlow API, moved processFlow from NetworkInterface to ParserInterface, code cleanup
2019-10-10 12:49:32 +02:00
Luca Deri
9910180137
Fix for nDPI API call signature change
2019-10-09 22:18:13 +02:00
Alfredo Cardigliano
7e9678de37
IDS alert -> External alert
2019-10-09 11:35:51 +02:00
emanuele-f
b3809344f9
Custom categories memory is now managed by nDPI
2019-10-08 10:25:12 +02:00
Simone Mainardi
79ec20d6df
Re-uses getFlows filters for the getActiveFlowsStats
...
Fixes #2891
2019-10-08 00:23:35 +02:00
emanuele-f
ede9a7940a
Generalize periodic and flows callbacks
...
Now periodic callbacks are properly called even when alerts are disabled
The granularity filter and check_function has been replaced with a more generic hooks list
2019-10-07 19:05:43 +02:00
Alfredo Cardigliano
256fec9283
Importing http metadata from Suricata
2019-10-05 12:15:16 +02:00
emanuele-f
fc308260be
Fix Flow protos.dns.last_query_type and protos.dns.last_return_code
2019-10-03 16:23:01 +02:00
emanuele-f
c41e2462df
Fix missing first letter in netbios name
2019-10-02 12:25:27 +02:00
Luca Deri
e373a90f9f
Removed ndpi_pref_enable_category_substring_match no longer present in nDPI
2019-09-29 21:48:54 +02:00
emanuele-f
62f136cc08
Fix detection give up in nEdge
...
This prevented most flows from being offloaded
2019-09-27 17:35:27 +02:00
emanuele-f
903fcf9c98
Rename callback in processFullyDissectedProtocol
2019-09-27 14:55:50 +02:00
emanuele-f
bdfe6ea22e
Fix crash with DHCP packets
2019-09-27 14:32:38 +02:00
emanuele-f
66547c46e9
Enable DNS dissection everywhere
2019-09-27 14:07:26 +02:00
emanuele-f
60024588c9
Use ndpi_extra_dissection_possible
2019-09-27 14:07:26 +02:00
emanuele-f
793c4bc4c5
Add extra detection function
2019-09-27 14:07:26 +02:00
Alfredo Cardigliano
0c2ffc1f94
Dynamic and custom sub-interfaces are now sharing the same data structure (registering through API to the master interface), bug fixes
2019-09-26 15:50:31 +02:00
emanuele-f
6ca08e91fc
Fix DNS replies not dissected by nEdge
2019-09-26 13:28:10 +02:00
Luca Deri
7c92070a95
Compilation fix for community edition
2019-09-25 21:41:19 +02:00
Luca Deri
3654ff4d45
nEdge compilation fix
2019-09-25 21:27:15 +02:00
Alfredo Cardigliano
afa29bfd0d
Flows purging fix
2019-09-25 15:09:41 +02:00
Simone Mainardi
d9aada6781
Uses hash table sizes to compute lua max num returned entries
2019-09-25 12:53:10 +02:00
Simone Mainardi
d7b0bbba80
Prevents unnecessary copies when loading IP categories
2019-09-25 12:41:37 +02:00
Alfredo Cardigliano
aacbf945db
Allow configuration of custom sub-interfaces only when there is no dynamic disaggregation mode configured
2019-09-25 12:33:14 +02:00
Alfredo Cardigliano
ff36d16968
Moved Disaggregation Criterion setting to the interface (per interface now)
2019-09-25 12:19:22 +02:00
Alfredo Cardigliano
c2d6295de0
Sub-Interface fixes and improvements
2019-09-25 10:37:31 +02:00
Alfredo Cardigliano
1b45f800f9
Sub-interfaces backend improvements for the GUI
2019-09-24 20:50:58 +02:00
Simone Mainardi
9682b77f1e
Fixes possible race conditions when accessing the flows hash table
2019-09-24 18:02:54 +02:00
Luca
19cb3ce02f
Merge branch 'dev' of https://github.com/ntop/ntopng into dev
2019-09-24 17:32:03 +02:00
Luca
7379cc1a1c
Updated IAT calculation for TCP flows skipping 3WH packets
2019-09-24 17:31:46 +02:00
Simone Mainardi
d4068bb48a
Adds alerted flows debug traces
2019-09-24 16:52:43 +02:00
Simone Mainardi
da1dbe4ab0
Reworks hash entries idling
2019-09-24 14:29:20 +02:00
emanuele-f
ed44536037
Fix missing cleanup on external_alerts
2019-09-23 16:35:54 +02:00
Simone Mainardi
856ae1a7a5
Fixes uninitialized interface seen mac addresses flag
2019-09-23 10:07:38 +02:00
Simone Mainardi
45544e5c2d
Fixes uninitialized interface arp counters
2019-09-23 10:04:43 +02:00
Alfredo Cardigliano
a7a9c7c848
ifdef for pPro code
2019-09-20 10:49:26 +02:00
Alfredo Cardigliano
30b142506f
processPacket/processFlow now call the SubInterface
2019-09-20 10:47:40 +02:00
Simone Mainardi
7f150ef407
Implements alerted flows counters and shows them in the footer
...
Implements #2863
2019-09-19 15:15:32 +02:00
Simone Mainardi
a615f96ceb
Fixes periodic stats on pcap dump interfaces
...
Fixes #2867
2019-09-19 12:35:12 +02:00
Alfredo Cardigliano
d672d93750
Sub interfaces support (wip) ( #2825 )
2019-09-17 10:34:52 +02:00
Alfredo Cardigliano
b7d459dd2b
Moved strdup for JSON/TLV strings from Flow to Parser to handle non-null-terminated strings
2019-09-13 12:36:19 +02:00
Simone Mainardi
a44def039f
Fixes custom catecories not counted in nDPI stats
2019-09-13 10:20:08 +02:00
Simone Mainardi
968e21d984
Implements flow lua callbacks in the periodic activities thread
2019-09-12 15:36:41 +02:00
Alfredo Cardigliano
9bd00fa0ee
Support for encoding additional fields to TLV
2019-09-10 20:50:34 +02:00
Simone Mainardi
77a3bdb051
Reworks profiling instrumentation
2019-09-10 19:06:52 +02:00
Simone Mainardi
949d2a1025
Calculates flow idle timeouts using nProbe data for ZMQ interfaces
2019-09-10 18:05:16 +02:00
emanuele-f
4d62d68655
Add active alerted flows filter and count
...
Closes #2821
2019-09-10 17:52:22 +02:00
Simone Mainardi
9fe404772d
Handles flow alerts and alert queues in view interfaces
...
Implements #2828
2019-09-10 15:48:39 +02:00
emanuele-f
c3fa094e99
Improve MUD prefs handling
...
Also implement a non-inline reloadPrefs Host method to avoid slowing down packet capture
2019-09-10 11:10:33 +02:00