Vito Piserchia
4300208642
Added ndpi_flow_ free/malloc and set_ functions:
...
Ideally these two new functions will provide more flexibility
in regards of application that want to use specific allocation
approaches, for example storage queues for this structures
from where the application can pop and release the data it
needs.
Semantically they can be set up as the other ndpi_malloc and ndpi_free
functions, that is via the set_ndpi_flow_malloc and set_ndpi_flow_free.
In case a NULL parameter is passed to the above functions the old
approach will be used, that means that the ndpi_malloc will be used as
the ndpi_flow_malloc function and ndpi_free_flow as the ndpi_flow_free one.
Application that use the old functions will be not affected by this change,
and the ndpi_free_flow can be deprecated in the future and made private.
2017-03-16 17:35:10 +01:00
Campus
5de6a96af5
change behaviour for https://github.com/ntop/nDPI/issues/344 - fix skype detection deleting parts that detect host name and ip addr (duplicate behaviour) - improved any detection after fix - added skype host name
2017-03-15 17:28:31 +01:00
Josh Soref
fbe1fb285d
spelling: platform
2017-03-12 22:00:21 +00:00
Campus
c2c92b2e9b
added double tagging 802.1Q in dissection of vlan pkt
2017-02-21 13:04:17 +01:00
Campus
787ca096e6
Merge branch 'dev-numeronove-openbsd' of https://github.com/numeronove/nDPI into numeronove-dev-numeronove-openbsd
2017-02-13 13:11:54 +01:00
Luca Deri
e2cfc96577
Improvements for exporting info in MDNS and UBNTAC2 protocols
...
Added test pcap file for UBNTAC2
2017-02-13 01:29:25 +01:00
Numeronove
ffbe5d1e22
Easing OpenBSD build
...
Addedd macro AM_PROG_CC_C_O in configure.ac, needed to have autogen.sh
manage the error:
C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'
Modified case instance in example/ndpi_util.c, since DLT_LINUX_SLL
isn't defined in OpenBSD pcap.h.
2017-02-11 11:04:59 +01:00
Luca Deri
1d2e67d38c
Dissected SSH client/server versions and reported in data structures
2017-02-11 10:48:08 +01:00
Denis Volpato Martins
483eb63408
Removed some magic numbers
2016-12-06 18:48:26 -02:00
Campus
5f672dfb42
added comment to function process_packet
2016-12-02 02:32:46 +01:00
Luca Deri
45ca2ace0b
Code cleanup. Added coveralls badge
2016-11-27 10:57:42 +01:00
Luca
424fbb710c
Added fixes to properly honour subprotocols
2016-11-26 18:36:08 +02:00
Campus
797eb2c3ca
fix initialization of struct ndpi_flow_info *flow
2016-11-22 23:11:24 +01:00
Alexis La Goutte
3d6b4d4dff
ndpi_util: fix ‘type/ip_offset’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
2016-11-13 18:22:03 +01:00
Alexis La Goutte
d129abcde0
ndpi_util: unused variable 'nDPI_traceLevel' [-Wunused-const-variable]
2016-11-13 18:22:03 +01:00
Alexis La Goutte
6fad364daa
ndpi_util: fix unused variable 'ip6_offset/ethernet_2/llc_off/cdp/slarp' [-Wunused-variable]
2016-11-13 18:22:03 +01:00
Vito Piserchia
e3d15ef4e7
Prevent Segfault when building with -DNDPI_ENABLE_DEBUG_MESSAGES
2016-11-03 15:23:06 +01:00
Campus
097ba22a59
minor fix to keep same coherence of type used
2016-10-30 01:14:49 +02:00
Campus
8bccfa5b10
fixed invalid termination with ipv6 address
2016-08-09 23:00:33 +02:00
Luca
4fe8d350a2
Added fix to avoid IPv6 formatting differences across platforms
2016-07-12 00:38:07 +02:00
Luca Deri
72efa329db
Enhanced fragments support in ndpiReader
...
Improved RX protocol dissection and removed port guess as it caused false positives.
2016-05-31 12:20:25 +02:00
Alexis La Goutte
9935cb0e3b
ndpi_util.c: fix The right operand of '+' is a garbage value
2016-05-24 08:12:36 +02:00
Alexis La Goutte
594f7074f7
ndpi_util: Value stored to 'fcs' is never read
2016-05-23 23:04:50 +02:00
Alexis La Goutte
a6c9d33c09
ndpi_util: replace if / else by switch/case
...
Fix also
The left operand of '==' is a garbage value
Value stored to 'slarp' is never read
Value stored to 'cdp' is never read
2016-05-23 23:03:26 +02:00
Alexis La Goutte
2f7a9bb789
Fix missing break
2016-05-23 08:01:51 +02:00
Luca Deri
5c149e0363
Simplified ndpi_exit_detection_module()
2016-05-08 11:04:20 +02:00
Luca Deri
22e03ee98a
Simplified nDPI initialization function
2016-05-08 10:55:46 +02:00
Luca Deri
18901ca4d6
Added wrappers for substring-search
...
ndpi_init_automa()
ndpi_free_automa()
ndpi_add_string_to_automa()
ndpi_finalize_automa()
ndpi_match_string()
set_ndpi_malloc()
set_ndpi_free()
2016-05-07 18:45:18 +02:00
Campus
7c1e8ba2bf
rework some stuffs - added missing comments on functions
2016-04-24 23:43:22 +02:00
Luca Deri
e23446389c
Reworked 8a4c15ecf5 to avoid adding (un-needed) pcap dependency in nDPI core
2016-04-24 23:17:18 +02:00