Commit graph

30 commits

Author SHA1 Message Date
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
9e87645022 PCRE fixes 2020-02-02 19:54:31 +01:00
Zied Aouini
7ebe6a0c82
Add LDFLAGS for Win32. 2019-12-16 01:24:42 +01:00
Luca Deri
42c8d3ac27 Added ability to defien custom protocols 2019-10-29 10:29:12 +01:00
Luca Deri
d398b0aba6 Simplified makefile
Fixed warning
2019-07-23 22:45:31 +02:00
Ravi Kerur
a262f8dd29 Add SPLT and BD classification to the lib.
Signed-off-by: Ravi Kerur <ravi.kerur@viasat.com>
2019-07-23 10:00:34 -07:00
emanuele-f
fc531334ae Remove Werror 2019-07-15 09:31:15 +02: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
hoermto
e47c0c3e49
Makefile: ln -F not supported in alpine
removed -F option from makefile for alpine support. Actually not sure the relevance of -F flag for other OS
2019-06-28 15:54:59 +02:00
Luca Deri
1a3f2b3f0d Reworked SSL cipher handling 2019-06-16 16:05:13 +02:00
Luca
1290706fad Tests result fix
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2019-04-05 12:51:59 +02:00
Luca
4e7fa82aff Fixed false positive with FTP_DATA protocol
Added coherency in application protol guess by exploiting the host server name
Various protocol optimizations
2019-04-05 12:47:58 +02:00
chiehminw
43890b31fc Use relative path for library link
relative link path can preserve link relation after packaging and
doplying to new machine

ex:
$ make DESTDIR=/tmp/ndpi install
$ tar czf ndpi.tar.gz /tmp/ndpi
$ tar xf ndpi.tar.gz -C /lib

Orignal install script will caused the /lib/libndpi.so.2 links to
/tmp/ndpi/libndpi.so.2.9.0 which is not intended

Signed-off-by: chiehminw <chiehminw@synology.com>
2019-03-13 15:04:10 +08:00
Pramode
81649d9979 Propagate prefix settings to Makefiles
A "make install" was failing because the --prefix flag
setting was not being propagated to the Makefiles.
2019-01-20 19:09:07 +05:30
Luca Deri
140ed9887b
Merge pull request #639 from madpilot78/Create_libndpi.so.MAJOR_link
Also create the libndpi.so.2 link.
2018-12-10 02:30:05 -08:00
Vitaliy Ivanov
9cbf25a76f build: cleanup .so.X.X.X if present.
Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
2018-11-28 16:56:22 +02:00
Vitaliy Ivanov
ea7e7c753b build: correct example dpdk linking with pcap.
- take libpcap from configure information.
- clean up distclean.

Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
2018-11-28 16:40:34 +02:00
Alfredo Cardigliano
babb1c864c removed -r not supported on all systems 2018-11-19 18:25:12 +01:00
Alfredo Cardigliano
1537669178 rpm package 2018-11-19 18:02:06 +01:00
Guido Falsi
8c63f25478 Also create the libndpi.so.2 link.
This is created bydefault by all build tools for libraries and required in certain cases. FreeBSD linker requires it when using SONAME.
2018-11-15 09:09:52 +01:00
Guido Falsi
00827903ef The OS variable was not being populated by default. 2018-10-29 23:15:28 +01:00
Guido Falsi
023830f5ab Try to fix build on Mac. 2018-10-29 21:24:08 +01:00
Guido Falsi
c2169b3dca Add command line options to correctly populate the shared object SONAME property. 2018-10-29 17:06:58 +01:00
emanuele-f
4b4f4be3a5 Add -g flag 2018-10-11 12:27:13 +02:00
root
1d56c9aa1b fix remake 2018-10-02 23:54:01 +08:00
Luca
1075283d8e Fixes #601 2018-09-11 09:26:01 +03:00
Luca
0a33e439bd Better clang handling 2018-08-30 10:05:53 +02:00
Luca
f948f3525f Cleaned up makefile
Used clang instead of gcc on MacOS
2018-08-30 09:59:39 +02:00
Luca
a98c0a81be Added target for shared liubrary creation
Added target for install
Fixes #593
2018-08-25 10:50:16 +02:00