From da3e6bd61b7eaf54cad432bd737d5d894e6c9bf9 Mon Sep 17 00:00:00 2001 From: Toni Date: Tue, 27 Apr 2021 07:22:04 +0200 Subject: Check for common ALPNs and set a flow risk if not known. (#1175) * Increased risk bitmask to 64bit (instead of 32bit). * Removed annoying "Unknown datalink" error message for fuzzers. Signed-off-by: Toni Uhlig --- example/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example/Makefile.in') diff --git a/example/Makefile.in b/example/Makefile.in index ec44acbe3..e70bff36c 100644 --- a/example/Makefile.in +++ b/example/Makefile.in @@ -1,6 +1,7 @@ CC=@CC@ CXX=@CXX@ BUILD_MINGW=@BUILD_MINGW@ +BUILD_FUZZTARGETS=@BUILD_FUZZTARGETS@ SRCHOME=../src CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a @@ -10,6 +11,10 @@ HEADERS=intrusion_detection.h reader_util.h $(SRCHOME)/include/ndpi_api.h \ OBJS=ndpiReader.o reader_util.o intrusion_detection.o PREFIX?=@prefix@ +ifneq ($(BUILD_FUZZTARGETS),) +CFLAGS += -DBUILD_FUZZTARGETS=1 +endif + ifneq ($(BUILD_MINGW),) all: @echo 'Examples disabled due to mingw build.' -- cgit v1.2.3