aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Added testing bin codeLuca Deri2020-07-07
|
* Memory allocation fixesLuca Deri2020-07-07
|
* Merge pull request #954 from lnslbrty/fix/memleak-cluster-binsLuca Deri2020-07-07
|\ | | | | fixed memory leak in ndpi_cluster_bins / binUnitTest
| * fixed memory leak in ndpi_cluster_bins / binUnitTestToni Uhlig2020-07-07
|/ | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added ndpi_cluster_bins() for clustering bins and ancillary functions for ↵Luca Deri2020-07-07
| | | | bins manipulation
* Merge pull request #932 from IvanNardi/logLuca Deri2020-07-07
|\ | | | | Log
| * Fix a memory leakNardi Ivan2020-07-07
| |
| * Improve help message of --dbg-proto optionNardi Ivan2020-07-02
| | | | | | | | | | Make it clear that such option is general, not about extcap functionality
| * Incorporated some feedbackNardi Ivan2020-07-01
| |
| * mqtt: add boundary check in log messageNardi Ivan2020-06-26
| |
| * Fix compilation with --enable-debug-messages flagNardi Ivan2020-06-26
| | | | | | | | | | | | | | | | | | | | | | | | NDPI_LOG* macros dereference ndpi_detection_module_struct object which is private to ndpi library (via NDPI_LIB_COMPILATION define). So we can't use them outside the library itself, i.e. in ndpiReader code Therefore, in files in example/, convert all (rare) uses of NDPI_LOG* macros to a new very simple macro, private to ndpiReader program. If necessary, such macro may be improved. According to a comment in ndpi_define.h, each dissector must define its own NDPI_CURRENT_PROTO macro before including ndpi_api.h file
* | Merge pull request #953 from lnslbrty/fix/broken-autoconf-fsanitizerLuca Deri2020-07-07
|\ \ | | | | | | fix broken sanitizer CFLAGS, --enable-fuzztargets should also set -fs…
| * | fix broken sanitizer CFLAGS, --enable-fuzztargets should also set -fsanitizeToni Uhlig2020-07-06
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Merge pull request #952 from lnslbrty/fix/missing-lengthcheck-in-reader-uutilLuca Deri2020-07-07
|\ \ \ | |/ / |/| | Fixed heap overflow caused by missing lengthcheck in reader uutil.
| * | Fixed heap overflow caused by missing lengthcheck in reader uutil.Toni Uhlig2020-07-06
|/ / | | | | | | | | | | * triggered by fuzz traces from wireshark Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | configure fixeslucaderi2020-07-06
| |
* | Merge pull request #951 from lnslbrty/fix/ossfuzzerLuca Deri2020-07-06
|\ \ | | | | | | ossfuzz.sh: do not use wildcards for fuzzer e.g. fuzz/fuzz*
| * | ossfuzz.sh: do not use wildcards for fuzzer e.g. fuzz/fuzz*Toni Uhlig2020-07-05
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Merge pull request #950 from lnslbrty/improved/http-line-parsingLuca Deri2020-07-06
|\ \ \ | | | | | | | | Improved HTTP line parsing if request splitted into multiple packets.
| * | | Improved HTTP line parsing if request splitted into multiple packets.Toni Uhlig2020-07-05
| | | | | | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | | Merge pull request #940 from lnslbrty/fix/small-and-optimistic-improvmentsLuca Deri2020-07-06
|\ \ \ \ | |_|/ / |/| | | Fixed CodeInspector issues.
| * | | Fixed CodeInspector issues.Toni Uhlig2020-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added compiler search list for AC_PROG_CC, AM_PROG_CC_C_O, AC_PROG_CXX, AC_PROG_CC_STDC for Mac OS X only The list rendered the AX_CHECK_COMPILE_FLAG([-fsanitize=fuzzer]) useless as it did use clang for AX_CHECK_COMPILE_FLAG but gcc during the compile process. Seems broken somehow. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | | Added comment on stddevLuca Deri2020-07-03
| | | |
* | | | Added unit testLuca Deri2020-07-03
| |/ / |/| |
* | | Merge pull request #947 from lnslbrty/add/download-script-wireshark-tracesLuca Deri2020-07-03
|\ \ \ | | | | | | | | added shell script to download wireshark traces, can be used in combi…
| * | | added shell script to download wireshark fuzzing traces, can be used in ↵Toni Uhlig2020-07-02
| | | | | | | | | | | | | | | | | | | | | | | | combination with ./tests/do.sh Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | | Merge pull request #946 from lnslbrty/fix/teamviewer-iprangeLuca Deri2020-07-03
|\ \ \ \ | |/ / / |/| | | Improved TeamViewer IP range (fixes #944)
| * | | Improved TeamViewer IP range (fixes #944)Toni Uhlig2020-07-02
|/ / / | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Merge pull request #943 from lnslbrty/fix/missing-lengthcheck-in-tls-esniLuca Deri2020-07-01
|\ \ \ | | | | | | | | Fixed heap overflow in tls esni extraction triggered by manipulated p…
| * | | Fixed heap overflow in tls esni extraction triggered by manipulated packets.Toni Uhlig2020-06-29
| | | | | | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | | Merge pull request #942 from ↵Luca Deri2020-07-01
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | lnslbrty/improved/fuzzer-automake-dependency-tracking Added fuzz_*_LDADD to give Automake the opportunity to do some depend…
| * | | | Added fuzz_*_LDADD to give Automake the opportunity to do some dependency ↵Toni Uhlig2020-06-29
| |/ / / | | | | | | | | | | | | | | | | | | | | tracking. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | | Merge pull request #941 from lnslbrty/add/ossfuzz-scriptLuca Deri2020-07-01
|\ \ \ \ | | | | | | | | | | Copy&Paste ./tests/ossfuzz.sh from https://github.com/google/oss-fuzz…
| * | | | Copy&Paste ./tests/ossfuzz.sh from https://github.com/google/oss-fuzz/pull/4041Toni Uhlig2020-06-29
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changing the OSS-Fuzz script from our side is much more easier then opening a PR to google/oss-fuzz every time we have to change a single line. * https://github.com/google/oss-fuzz/pull/4041 will be updated once this PR is merged Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | | Make clean enhancementLuca Deri2020-07-01
| | | |
* | | | IndentLuca Deri2020-06-30
| | | |
* | | | Fix segfault on ndpi_guess_protocol_id with flow = nullAlfredo Cardigliano2020-06-30
| | | |
* | | | Added ndpi_print_bin() API callLuca Deri2020-06-29
|/ / /
* | | Merge branch 'dev' of https://github.com/ntop/nDPI into devLuca Deri2020-06-29
|\| |
| * | Merge pull request #939 from lnslbrty/improved/fuzzy-reader-smpLuca Deri2020-06-29
| |\ \ | | | | | | | | Improved fuzz_ndpi_reader which supports now SMP/MT w/o race-coniditi…
| | * | Improved fuzz_ndpi_reader which supports now SMP/MT w/o race-coniditions.Toni Uhlig2020-06-29
| |/ / | | | | | | | | | | | | | | | | | | ./tests/do.sh can supports SMP/MT via environment variables. Removed -fno-sanitize=shift as well, was fixed by 317d3ffd. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* / / Added ndpi_bin_similarity() for computing bin similarityLuca Deri2020-06-29
|/ /
* | Merge pull request #938 from IvanNardi/errorsLuca Deri2020-06-28
|\ \ | | | | | | Errors
| * | Update test resultsNardi Ivan2020-06-28
| | |
| * | Fix undefined behaviour in internal testsNardi Ivan2020-06-28
| | | | | | | | | | | | | | | | | | | | | | | | Error messages: ndpiReader.c:3211:2: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' ndpiReader.c:3207:5: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' The errors started popping up since 3d9285f1
| * | Fix memory leak about purged/expired flowsNardi Ivan2020-06-28
| | | | | | | | | | | | | | | Create an helper to avoid similar errors in the future Fixes: 1a62f4c7
| * | Fix use-after-free in http content parsingNardi Ivan2020-06-28
| | |
| * | DNP3: add missing initializationNardi Ivan2020-06-28
| | |
| * | Fix (harmless) memory leaks when DPDK is enabledNardi Ivan2020-06-28
| | |
| * | Fix startup when DPDK is enabledNardi Ivan2020-06-28
| | | | | | | | | | | | Fixes:a58c838c4