summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* sync'd with ndpiSimpleIntegration from https://github.com/ntop/nDPI.gitndpi-example-proposallns2023-06-01
| | | | Signed-off-by: lns <matzeton@googlemail.com>
* sync'd with ndpiSimpleIntegration from https://github.com/ntop/nDPI.gitToni Uhlig2021-07-04
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* proposal ready for reviewToni Uhlig2020-06-24
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* unified logging prefixToni Uhlig2020-06-24
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* -Wl == CFLAGToni Uhlig2020-06-23
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* adding some comments, obey coding style, etcToni Uhlig2020-06-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* xcompile readyToni Uhlig2020-06-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* checking only IPv4/IPv6 header size, as rest is done through ↵Toni Uhlig2020-06-21
| | | | | | ndpi_detection_get_l4() Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fixed possible crash (extra packet dissection is done via packet processing)Toni Uhlig2020-06-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* using ndpi_detection_get_l4 to do some additional checks and get L4 payloadToni Uhlig2020-06-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* more fine-tuning regarding TCP flow endToni Uhlig2020-06-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* some fine-tuning regarding flow fin/idle cleanup, still not perfectToni Uhlig2020-06-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* reduced MAX_FLOW_ROOTS_PER_THREAD to 2048 to safe some mem, print something ↵Toni Uhlig2020-06-19
| | | | | | to stderr if flow can't be classified at all (besides L3/L4) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* improved console printing which is now more consistent any easier to readToni Uhlig2020-06-17
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* support for TCP-FINToni Uhlig2020-06-15
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* new features: l7/l7-dissect/l7-guess/tcp-midstream/ssl/tls detectionToni Uhlig2020-06-15
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* process extra packets if supported by protocol detection, prepare and print ↵Toni Uhlig2020-06-14
| | | | | | some statistics Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* do not print ThreadID during flow free'ingToni Uhlig2020-06-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* use ndpi_flowv(4|6)_flow_hash api call and only as fallback src + dstToni Uhlig2020-06-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* print total packets captured, reduced console spam and added VERBOSE mode to ↵Toni Uhlig2020-06-13
| | | | | | print some l3/l4 metadata, used ull instead of size_t as its size is architecture dependant Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* read captured packets from a pcap savefile, check if file is EoF or an error ↵Toni Uhlig2020-06-13
| | | | | | occurred Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* don't print ARP stuff, use ndpi_is_protocol_detected for checked protocol ↵Toni Uhlig2020-06-13
| | | | | | detection Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* renamed ndpi_flow_roots, max_available_flows, num_allocated_flows, ↵Toni Uhlig2020-06-13
| | | | | | | | | cur_allocated_flows to - ndpi_flows_active, max_active_flows, num_active_flows, cur_active_flows - consistent to idle flows naming Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* flow timeout handlingToni Uhlig2020-06-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* MAX_FLOWS_PER_THREAD -> MAX_FLOW_ROOTS_PER_THREAD, ndpi_flows_root -> ↵Toni Uhlig2020-06-12
| | | | | | ndpi_flow_roots, added per flow total packets Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fixed flow distirbution bug, removed invalid ntohl() and set thread index seedToni Uhlig2020-06-12
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* improved packet distribution over threads, missing byteswap for IPv4/IPv6, ↵Toni Uhlig2020-06-10
| | | | | | added first/last seen timevals Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* free_workflow if init_workflow fails, nDPId is tied to libnDPI>=3.2 for nowToni Uhlig2020-06-10
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* print per thread / total packets, use l4 protocol for per thread packet ↵lns2020-06-08
| | | | distribution
* subscriber tracking and master/app protocol detectionlns2020-06-07
|
* fixed flow tracking bug during tree find, added ip tuple comparing routinelns2020-06-07
|
* improved L3/L4 length checkslns2020-06-06
|
* flow trackinglns2020-06-06
|
* dissect UDP, TCP; sighandler improvment, correct IPv6 parsinglns2020-06-04
|
* Makefile use -I and -rpath if CUSTOM_LIBNDPI variable usedToni Uhlig2020-06-04
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* initial commitlns2020-06-03