Commit graph

86 commits

Author SHA1 Message Date
emanuele-f
1b8f7ed101 Fix API version generation 2020-03-25 14:07:19 +01:00
Luca Deri
47a4507d9e NDPI_API_VERSION is now computed automatically 2020-03-25 12:51:06 +01:00
emanuele-f
428661c00b Add debug symbols when using --with-llvm-sanitizer 2020-02-14 11:09:00 +01:00
emanuele-f
5c52c00ea4 Add the --with-llvm-sanitizer flag
To enable the leaks detector, set the ASAN_OPTIONS=detect_leaks=1
environment variable, e.g:

	ASAN_OPTIONS=detect_leaks=1 example/ndpiReader -i test.pcap
2020-02-13 18:42:13 +01:00
Luca
6dbe81588f Added --with-pcre to enable libpcre usage 2020-02-02 22:07:21 +01:00
lucaderi
39b1ad3087 PCRE fix 2020-01-31 07:09:54 +01:00
Luca Deri
c68ea3067b Added libpcre lib if present 2020-01-30 22:24:24 +01:00
Luca Deri
c84ed5a712 Added check for libpcre presence 2020-01-29 00:41:35 +01:00
Luca Deri
d1fb41a161 Minor cleanup 2020-01-05 18:42:36 +01:00
Zied Aouini
812a3e7099
Add mingw host target 2019-12-16 01:11:55 +01:00
Philippe Antoine
148506ede8 Adds fuzz target
And configur option enable-fuzztargets
2019-10-31 08:37:42 +01:00
Luca Deri
42c8d3ac27 Added ability to defien custom protocols 2019-10-29 10:29:12 +01:00
Luca Deri
f0013e826e Added python bindings for nDPI 2019-09-15 22:32:18 +02:00
Helmut Grohne
2e01a1fe53 Fix cross-build from source, because of direct pkg-config check calls
ndpi fails to cross build from source, because configure.seed hard codes
the build architecture pkg-config. It is best to use PKG_CHECK_MODULES
instead. Please consider applying the attached patch.

See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939286
2019-09-11 19:11:42 +02:00
Stuart Reilly
79a0cfbcdb Remove gcc7, add clang 8 2019-07-17 11:44:44 +01:00
Stuart Reilly
92c769f206 Solve remaining warnings 2019-07-12 16:41:39 +01:00
Stuart Reilly
8b1c68aed3 Add compiler warnings and fix them 2019-07-12 16:01:22 +01:00
Luca Deri
6b1f158322
Merge pull request #675 from chiehmin/dev
Respect CXX variable during configure
2019-03-23 09:54:17 +01:00
chiehminw
518dbbc96b Respect CXX variable during configure
commit 6ac83ce7eb use CXX to link ndpiReader however CXX is not
properly set in configure step

Fixes: 6ac83ce7eb ("Fixes broken hyperscan compilation")
Signed-off-by: chiehminw <chiehminw@synology.com>
2019-03-06 15:27:50 +08:00
Bernhard M. Wiedemann
e91123e17a
Use ChangeLog date instead of build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

This date call works with GNU date and BSD date.
Also use UTC/gmtime to be independent of timezone.
2019-01-24 14:27:10 +01:00
Luca Deri
e9dd5985b3 Made configure more friendly
Added time measurement in ndpiReader (processing and setup time)
2018-11-21 17:22:15 +01:00
Luca Deri
71b2c19cf2 Added DPDK support to ndpiReader 2018-11-10 16:10:22 +01:00
Luca
875b1e0dd5 Better clang check 2018-11-01 09:36:11 +01:00
Simone Mainardi
6ac83ce7eb Fixes broken hyperscan compilation 2018-09-11 10:43:04 +02:00
Luca
9bf05c3534 Indentation fix 2018-09-11 09:33:09 +03:00
Luca Deri
0c3989b40f
Merge pull request #596 from madpilot78/Add_back_pkgconfig_file
Add back pkgconfig file. It is required by ntopng to find the install…
2018-08-30 11:29:12 +02:00
Luca
0a33e439bd Better clang handling 2018-08-30 10:05:53 +02:00
Guido Falsi
405e2f8dd0 Add back pkgconfig file. It is required by ntopng to find the installed shared library. 2018-08-25 23:42:20 +02:00
Luca
a98c0a81be Added target for shared liubrary creation
Added target for install
Fixes #593
2018-08-25 10:50:16 +02:00
Simone Mainardi
335b336968 Hyperscan compilation fixes 2018-08-16 11:47:10 +02:00
Luca
667e77c609 Major code cleanup
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-07-21 16:02:54 +02:00
Luca Deri
a067350098 Hyperscan fixes 2018-05-11 09:06:07 +02:00
Luca Deri
50216991bd Improved hyperscan support and category definition 2018-05-10 23:46:35 +02:00
Vitaly Lavrov
0624afd422 Added option --enable-debug-messages.
The configurator option "--enable-debug-messages" is added to enable
debug information output (define NDPI_ENABLE_DEBUG_MESSAGES=1).
Mandatory inclusion of the file ndpi_config.h in all the compiled files.
2018-02-07 16:31:35 +03:00
Luca Deri
78feabfad7 Inital hyperscan work 2018-01-24 22:11:05 +01:00
Luca
22beb7714d Implements #376 2017-08-29 20:56:08 +02:00
Renamed from configure.ac (Browse further)