aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-01-25 11:44:59 +0100
committerGitHub <noreply@github.com>2023-01-25 11:44:59 +0100
commit9fc724de5a6539b84dfbec5d0d0fff68dc5676de (patch)
treed9f72cc9fe448a2ce36bed4aed65a3df93821d43 /example
parent29c5cc39fb7f714897c3d6a3454e696e263fb9bc (diff)
Add some fuzzers to test other data structures. (#1870)
Start using a dictionary for fuzzing (see: https://llvm.org/docs/LibFuzzer.html#dictionaries). Remove some dead code. Fuzzing with debug enabled is not usually a great idea (from performance POV). Keep the code since it might be useful while debugging.
Diffstat (limited to 'example')
-rw-r--r--example/protos.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/protos.txt b/example/protos.txt
index 5399e6356..6642803c8 100644
--- a/example/protos.txt
+++ b/example/protos.txt
@@ -61,7 +61,8 @@ ip:54.80.47.130@AmazonPrime
# For IPs, the flow risk is put in AND (source IP mask OR destination IP mask)
# For Flows with a hostname (e.g. TLS) the risk is also put in AND with the host_risk_mask
#ip_risk_mask:192.168.1.0/24=0
-#ip_risk_mask:10.196.157.228=0
+ip_risk_mask:10.10.120.0/24=0
+ip_risk_mask:10.196.157.228=0
host_risk_mask:".home"=0