| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
Fixed small warnings
Compilation fixes
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
levels of debug output:
0 - ERROR: Only for errors.
1 - TRACE: Start of each packets and if found protocol.
2 - DEBUG: Start of searching each protocol and excluding protocols.
3 - DEBUG_EXTRA: For all other messages.
Added field ndpi_struct->debug_logging for enable debug output of each protocols.
Simple macros for debugging output are added:
NDPI_LOG_ERR(), NDPI_LOG_INFO(), NDPI_LOG_DBG(), NDPI_LOG_DBG2(),
NDPI_EXCLUDE_PROTO()
|
| |
|
| |
|
| |
|
|
|
|
| |
Added new API calls ndpi_set_proto_breed() and ndpi_set_proto_category() for overwriting nDPI protocol specifications
|
|
|
|
|
|
| |
currently empty
Added ndpi_is_custom_category() to check if a defined category is custom
|
|
|
|
| |
If the user will provide a pcap for reproducing further potential issues reported we will consider them
|
| |
|
|
|
|
|
| |
- ndpi_add_string_value_to_automa
- ndpi_match_string_id
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
detection deleting parts that detect host name and ip addr (duplicate behaviour) - improved any detection after fix - added skype host name
|
|\
| |
| | |
Add protocol category ids
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
function returning void [-Wdocumentation]
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ndpi_init_automa()
ndpi_free_automa()
ndpi_add_string_to_automa()
ndpi_finalize_automa()
ndpi_match_string()
set_ndpi_malloc()
set_ndpi_free()
|
| |
|
| |
|
|
|
|
|
|
| |
given flow
Code cleanup
|
|
|
|
| |
Fixed bug that prevented content type to be properly detected
|
|
|
|
| |
Reworked protocol initialization
|
|
|
|
| |
Fixed DNS dissector decoding bug
|
|
|
|
| |
Switch from unsigned long to size_t as allocation functions parameter.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
src/include/ndpi_api.h:73:13: error: parameter 'ndpi_malloc' not found in the function declaration [-Werror,-Wdocumentation]
src/include/ndpi_api.h:91:13: error: parameter 'cache' not found in the function declaration [-Werror,-Wdocumentation]
src/include/ndpi_api.h:92:13: error: parameter 'cache' not found in the function declaration [-Werror,-Wdocumentation]
ndpiReader.c:152:22: error: not a Doxygen trailing comment [-Werror,-Wdocumentation]
ndpiReader.c:153:36: error: not a Doxygen trailing comment [-Werror,-Wdocumentation]
ndpiReader.c:156:39: error: not a Doxygen trailing comment [-Werror,-Wdocumentation]
|
|
|
|
| |
Implemented sub-protocol detection for SSL/HTTP/HTTPS
|
|
|
|
|
|
| |
Reworked protocol/master_protocol
Added new API call to print protocol/master_protocol
- ndpi_protocol2name()
|
|
|
|
| |
Modified ndpiReaded to print subprotocols
|
| |
|
|
|