Added -x flag. Produces a bpf filter based on diagnose information generated by -b flag

This commit is contained in:
berat
2017-06-23 12:14:31 +02:00
parent 8395bdac97
commit 7235c9a73a
2 changed files with 252 additions and 32 deletions
+4
View File
@@ -43,6 +43,10 @@
#define AGGRESSIVE_PERCENT 95.00
#define DIR_SRC 10
#define DIR_DST 20
#define PORT_ARRAY_SIZE 20
#define FLOWS_PACKETS_TRESHOLD 0.9
#define FLOWS_PERCENT_TRESHOLD 1.0
#define INIT_VAL -1
// flow tracking
typedef struct ndpi_flow_info {