Luca
ed5b04791e
Added missing -lpthread
2018-08-30 11:26:49 +02:00
Luca
71b28e0774
Cleanup
2018-08-30 11:19:09 +02:00
Luca
33d6f2d52f
Added missing file
2018-08-30 11:17:19 +02:00
Luca
e4f01976a6
Added missing categorization when giveup/guess is called
...
Added optimization for TCP flows that do not start with a SYN packet: early giveup is performed
Code cleanup
2018-08-30 11:10:30 +02:00
Luca
0a33e439bd
Better clang handling
2018-08-30 10:05:53 +02:00
Luca
f948f3525f
Cleaned up makefile
...
Used clang instead of gcc on MacOS
2018-08-30 09:59:39 +02:00
Luca
a98c0a81be
Added target for shared liubrary creation
...
Added target for install
Fixes #593
2018-08-25 10:50:16 +02:00
Campus
2f83375eec
Merge branch 'eglooca-pr-remove-autoconf-include' into dev
2018-08-23 12:09:51 +02:00
Campus
2b9b996148
Merge branch 'pr-remove-autoconf-include' of https://github.com/eglooca/ndpi-pr into eglooca-pr-remove-autoconf-include
2018-08-23 12:01:14 +02:00
Michele Campus
48f3104774
Merge pull request #591 from alm-A/patch-2
...
README add protocol : removed Makefile.am step
2018-08-23 12:00:02 +02:00
Michele Campus
b8571475c9
Merge pull request #592 from alm-A/patch-3
...
ndpi_typedefs.h : missing include
2018-08-23 11:59:31 +02:00
Campus
ff83bfbad0
ADD: add prototype of function ht_free in hash.h - DEL: delete include file .c in ndpi_main.c
2018-08-23 11:22:21 +02:00
alm-A
dd307af215
ndpi_typedefs.h : missing include
...
include to ndpi_protocol_ids.h needed for:
- NDPI_PROTOCOL_SIZE
- NDPI_MAX_SUPPORTED_PROTOCOLS
- NDPI_MAX_NUM_CUSTOM_PROTOCOLS
2018-08-22 16:37:59 +02:00
alm-A
58a784e342
README add protocol : removed Makefile.am step
2018-08-22 16:18:44 +02:00
Luca Deri
89b3b085af
Moved to 2.5.0
2018-08-22 08:45:13 +02:00
Simone Mainardi
e6c3c0139a
Updates changelog release date
2018-08-21 18:13:54 +02:00
Simone Mainardi
aad896c2a8
Updates ChangeLog
2018-08-21 18:12:36 +02:00
Luca Deri
1a6a9593fb
Changed type to ease compilation accross platforms
2018-08-20 14:49:59 +02:00
Luca Deri
6cb40ac75e
Compilation fix
2018-08-20 12:39:55 +02:00
Luca Deri
50591238e5
Merge pull request #586 from eglooca/pr-sys-types-include-for-actypes-h
...
Include <sys/types.h> for u_int16_t.
2018-08-17 14:18:27 +02:00
Simone Mainardi
291acb9459
Hyperscan regex for domains such as .com.cn or .co.uk
2018-08-17 13:13:26 +02:00
Simone Mainardi
47c2ad1b5f
Webex category fix
2018-08-17 12:59:19 +02:00
Simone Mainardi
6491568e15
Fixes hyperscan WeChat detection
2018-08-17 12:48:53 +02:00
Simone Mainardi
28ac30d827
Fixes hyperscan skype detection
2018-08-17 12:41:35 +02:00
Simone Mainardi
db74459ca2
Fixes weibo detection
2018-08-17 12:29:08 +02:00
Simone Mainardi
d2bc3ea209
Initial hyperscan support for all protocols
2018-08-17 12:00:28 +02:00
Darryl Sokoloski
cd9d456994
Include sys/types.h for u_int16_t.
...
On various embedded environments (OpenWrt, EdgeOS), <sys/types.h> must be included for u_intX_t types. The Hyperscan changes made recently introducted a u_int16_t member in actypes.h which is undeclared in certainly environments without this include.
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
2018-08-16 22:31:23 -04:00
Darryl Sokoloski
06befec642
Remove autoconf include from typedefs headers.
...
Including this file in any "public" API header breaks all projects that also use autotools because macros such as PACKAGE_VERSION will be redefined.
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
2018-08-16 22:24:15 -04:00
Simone Mainardi
579f1b05db
Adds hyperscan support for Apple and Dropbox
2018-08-16 19:42:04 +02:00
Simone Mainardi
7e41309fa9
Hyperscan compilation fix
2018-08-16 15:43:35 +02:00
Luca Deri
3091dc3c48
Fix for #400
2018-08-16 15:23:30 +02:00
Luca Deri
01bf295a19
Completed custom category implementation
2018-08-16 14:57:44 +02:00
Luca Deri
f88648fbc8
Tests update
2018-08-16 12:05:07 +02:00
Luca Deri
18b9589e50
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2018-08-16 12:03:23 +02:00
Luca Deri
9847c2ccbb
Generic protocol cleanup (work in progress)
2018-08-16 12:03:09 +02:00
Simone Mainardi
335b336968
Hyperscan compilation fixes
2018-08-16 11:47:10 +02:00
Luca Deri
70eb619b86
Merge pull request #584 from eglooca/pr-memcached
...
Added new dissector for Memcached.
2018-08-16 09:36:35 +02:00
Darryl Sokoloski
b3b8feabf1
Added new dissector for Memcached.
...
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
2018-08-15 16:47:21 -04:00
Luca Deri
d9cf798753
Updated YouTube support
2018-08-06 10:34:45 +02:00
Luca Deri
cbb2eb8c8f
Merge pull request #576 from eglooca/pr-ssdp-min-length
...
Adjust the SSDP dissector's minimum packet length
2018-07-25 08:18:17 +02:00
Luca Deri
6474125c93
Merge pull request #577 from eglooca/pr-parse-packet-line-info-length
...
Fix end-of-line bounds handling.
2018-07-25 08:17:32 +02:00
Luca Deri
5100cc0eae
Added checks for missing protocol initialization
...
Fixed missing LOG_ERR initialization
Fixed logging warnings
2018-07-23 14:58:16 +02:00
Luca Deri
49ed41142c
Fixed SEGV with undepcified protos
2018-07-22 21:06:10 +02:00
Luca Deri
659649d2e9
Fixed warning
2018-07-21 18:23:48 +02:00
Luca
5246656ae0
Fixed required library prefix
2018-07-21 16:27:05 +02:00
Luca
f828dfc202
Added comment about typedefs
2018-07-21 16:17:12 +02:00
Luca
591158bb92
Defined type ndpi_protocol_id_t for protocol identifiers
2018-07-21 16:09:32 +02:00
Luca
667e77c609
Major code cleanup
...
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-07-21 16:02:54 +02:00
Luca
a499f369a5
Updated results based on the new output format
2018-07-21 15:20:11 +02:00
Darryl Sokoloski
fbf6bd2be8
Fix end-of-line bounds handling.
...
The existing implementation misses ending lines and as a result, fails
to match certain protocols (SMTP for example, which needs to see at
least 3 commain/response matches). It appears from the commit history
that an attempt was made (end-1) to prevent reads past payload length.
This can be ensured by simply not reading any payload that is < 3 bytes.
The updated logic for this loop is:
- Payload length is >= 3 bytes, or return.
- Loop over payload, compare for EOL (CR + NL) sequence.
- If found, process string.
- If index 'a' plus two is less than payload length, increment 'a' by
one and continue.
- Loop return always increments index 'a' by one.
2018-07-20 13:51:17 -04:00