aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Makefile.in
Commit message (Collapse)AuthorAge
* Implemented STUN peer_address, relayed_address, response_origin, ↵Luca Deri2024-04-12
| | | | | | | other_address parsing Added code to ignore invalid STUN realm Extended JSON output with STUN information
* Fixed yet another another "unused function" warning. (#2367)Toni2024-04-04
| | | | | | | | | | | | | * added `-Wextra` to the CI ``` In file included from ndpi_bitmap64_fuse.c:31: ./third_party/include/binaryfusefilter.h:31:24: error: unused function 'binary_fuse_rotl64' [-Werror,-Wunused-function] static inline uint64_t binary_fuse_rotl64(uint64_t n, unsigned int c) { ..snip.. ``` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed yet another "unused function" warning. (#2365)Toni2024-04-04
| | | | | | | | | | | | | * seems like clang on `ubuntu-latest` warns about unused static inlined functions ``` In file included from ndpi_bitmap.c:41: ./third_party/include/roaring.h:422:19: error: unused function 'roaring_leading_zeroes' [-Werror,-Wunused-function] static inline int roaring_leading_zeroes(unsigned long long input_num) { ..snip.. ``` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add `-Wno-unused-function` as CFLAG for `third_party/src/gcrypt_light.c`. ↵Toni2024-04-04
| | | | | | | (#2364) * fixes failing nDPI build from an external project with clang and `-Wextra` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Disable `-Wno-unused-parameter -Wno-unused-function`. (#2358)Toni2024-04-03
| | | | | * unused parameters and functions pollute the code and decrease readability Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* make install: avoid copying private header (#2323)Ivan Nardi2024-02-20
|
* Have a clear distinction between public and private/internal API (#2137)Ivan Nardi2023-11-09
| | | | | | 1) Public API/headers in `src/include/` [as it has always been] 2) Private API/headers in `src/lib/` Try to keep the "ndpi_" prefix only for the public functions
* Added printf/fprintf replacement for some internal modules. (#1974)Toni2023-09-26
| | | | | | * logging is instead redirected to `ndpi_debug_printf` Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix compilation on Windows (#2072)Ivan Nardi2023-08-14
|
* Implemented Count-Min Sketch [count how many times a value has been observed]Luca Deri2023-07-13
| | | | | | | - ndpi_cm_sketch_init() - ndpi_cm_sketch_add() - ndpi_cm_sketch_count() - ndpi_cm_sketch_destroy()
* Build: fix `make install` when `--prefix=` is used in configure script (#1824)Ivan Nardi2022-12-10
| | | | | Use the same logic already used in `example/Makefile.in` Close #1823
* Moved `NDPI_API_VERSION` to `src/include/ndpi_define.h.in` where it belongs.Toni Uhlig2022-09-21
| | | | | | | That way, we can make `src/include/ndpi_api.h` independent of autoconf. MSBuild will like that. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Initial work towards custom BPF protocol definitionLuca2022-09-16
|
* Support serialization of double-precision floating-point numbers. Fixes #1702.lns2022-08-24
| | | | | Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Update Makefile.in (#1708)alcir2022-08-15
| | | Use `@libdir@` instead of *hardcoded* path, and also `@includedir@`
* Do not interfere with CFLAGS/LDFLAGS env anymore. (#1659)Toni2022-07-13
| | | | | | | * CI fixes * some build systems do not like that (e.g. OpenWrt) * fixed some rrdtool related build warnings/errors Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added gprof CPU/HEAP profiling support. (#1592)Toni2022-06-12
| | | | | * Some small auto{conf,make} improvements Signed-off-by: lns <matzeton@googlemail.com>
* Updated README.md (#1562)Toni2022-05-30
| | | | | | | * make check great again (not so much) * make doc/doc-view * CI updates Signed-off-by: lns <matzeton@googlemail.com>
* Added script to compare and verify the output of `make dist'. (#1551)Toni2022-05-26
| | | | | | | This fixes some build/test issues resulting when using tarballs. * nDPI uses autotools (especially autoconf) in a wrong way, see #1163 Signed-off-by: lns <matzeton@googlemail.com>
* Fixed msys2 build warnings and re-activated CI Mingw64 build.fix/windows-msys2Toni Uhlig2022-04-14
| | | | | | | * Removed Visual Studio leftovers. Maintaining an autotools project with VS integration requires some additional overhead. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> Signed-off-by: lns <matzeton@googlemail.com>
* Drop support for non-gcrypt builds. (#1469)Toni2022-03-02
| | | | | | | | * As there is now a builtin, lightweight libgcrypt there is no need to disable tls-clho decryption. * It is still possible to use a host libgcrypt with `--with-local-libgcrypt'. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* build: respect environment options more (#1392)Sam James2022-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build: update m4/ax_pthread.m4 from serial 23 -> serial 31 Update ax_pthread.m4 to the latest version from the autoconf-archive project. Signed-off-by: Sam James <sam@gentoo.org> * build: properly detect AR, CC, RANLIB It's necessary to be able to override choice of AR/CC/RANLIB and other toolchain variables/tools for cross-compilation, testing with other toolchains, and to ensure the compiler chosen by the user is actually used for the build. Previously, GNU_PREFIX was kind-of used for this but this isn't a standard variable (at all) and it wasn't applied consistently anyway. We now use the standard autoconf mechanisms for finding these tools. (RANLIB is already covered by LT_INIT.) Signed-off-by: Sam James <sam@gentoo.org> * build: use $(MAKE) This ensures that parallel make works correctly, as otherwise, a fresh make job will be started without the jobserver fd, and hence not know about its parent, forcing -j1. * build: respect CPPFLAGS, LDFLAGS - CPPFLAGS is for the C preprocessor (usually for setting defines) - LDFLAGS should be placed before objects for certain flags to work (e.g. -Wl,--as-needed) Signed-off-by: Sam James <sam@gentoo.org> Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com>
* Compile everything with "-W -Wall -Wno-unused-parameter" flags (#1276)Ivan Nardi2021-08-20
| | | | | | | | | | | | | | | | Fix all the warnings. Getting rid of "-Wno-unused-parameter" is quite complex because some parameters usage depends on compilation variable (i.e. `--enable-debug-messages`). The "-Werror" flag has been added only in Travis builds to avoid breaking the builds to users using uncommon/untested OS/compiler/enviroment. Tested on: * x86_64; Ubuntu 20.04; gcc 7,8,9,10,11; clang 7,8,9,10,11,12 * x86_64; CentOS 7.7; gcc 4.8.5 (with "--disable-gcrypt" flag) * Raspberry 4; Debian 10.10; gcc 8.3.0
* Improved libm check via Autoconf. (#1263)Toni2021-07-28
| | | | | * libm will now be part of @ADDITIONAL_LIBS@ (if required) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added --with-mipsel for building nDPI on mipsel devicesLuca Deri2020-12-09
|
* Restored Ubuntu/Debian packagingLuca Deri2020-11-03
|
* Merge pull request #1018 from lnslbrty/fix/make-distLuca Deri2020-09-20
|\ | | | | Fixed broken `make dist' and added CI check.
| * Fixed broken `make dist' and added CI check.Toni Uhlig2020-09-19
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | Fixed mingw build w/o examples/tests/fuzzer.Toni Uhlig2020-09-18
|/ | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixes compilation issues introduced by https://github.com/ntop/nDPI/pull/989Luca Deri2020-08-22
|
* Make clean enhancementLuca Deri2020-07-01
|
* Add the --with-llvm-sanitizer flagemanuele-f2020-02-13
| | | | | | | 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
* PCRE fixesLuca2020-02-02
|
* Add LDFLAGS for Win32.Zied Aouini2019-12-16
|
* Added ability to defien custom protocolsLuca Deri2019-10-29
|
* Simplified makefileLuca Deri2019-07-23
| | | | Fixed warning
* Add SPLT and BD classification to the lib.Ravi Kerur2019-07-23
| | | | Signed-off-by: Ravi Kerur <ravi.kerur@viasat.com>
* Remove Werroremanuele-f2019-07-15
|
* Solve remaining warningsStuart Reilly2019-07-12
|
* Add compiler warnings and fix themStuart Reilly2019-07-12
|
* Makefile: ln -F not supported in alpinehoermto2019-06-28
| | | removed -F option from makefile for alpine support. Actually not sure the relevance of -F flag for other OS
* Reworked SSL cipher handlingLuca Deri2019-06-16
|
* Tests result fixLuca2019-04-05
|\ | | | | | | Merge branch 'dev' of https://github.com/ntop/nDPI into dev
| * Use relative path for library linkchiehminw2019-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fixed false positive with FTP_DATA protocolLuca2019-04-05
|/ | | | | Added coherency in application protol guess by exploiting the host server name Various protocol optimizations
* Propagate prefix settings to MakefilesPramode2019-01-20
| | | | | A "make install" was failing because the --prefix flag setting was not being propagated to the Makefiles.
* Merge pull request #639 from madpilot78/Create_libndpi.so.MAJOR_linkLuca Deri2018-12-10
|\ | | | | Also create the libndpi.so.2 link.
| * Also create the libndpi.so.2 link.Guido Falsi2018-11-15
| | | | | | | | This is created bydefault by all build tools for libraries and required in certain cases. FreeBSD linker requires it when using SONAME.
* | build: cleanup .so.X.X.X if present.Vitaliy Ivanov2018-11-28
| | | | | | | | Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
* | build: correct example dpdk linking with pcap.Vitaliy Ivanov2018-11-28
| | | | | | | | | | | | | | - take libpcap from configure information. - clean up distclean. Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>