Luca Deri
ba72865f23
Added missing ndpi_protocol2id() prototype
...
Fixed error when crearing symlink in Makefile
2018-09-19 11:11:15 +02:00
Иван Спиненко
efd8348c3a
Fixed duplicate protocol name. #607
2018-09-13 18:30:44 +05:00
Luca
6be5188ff9
Fixes #600
...
Backport of recent fixes (e.g. #601 )
2018-09-11 10:02:34 +03:00
Guido Falsi
91ac4e4bee
Move the configure include file inclusion and code depending on it in code protected by the NDPI_LIB_COMPILATION define, this should avoid it polluting the environment when including this file from ntopng, version against stable branch.
2018-08-27 17:52:56 +02:00
Luca Deri
1a6a9593fb
Changed type to ease compilation accross platforms
2018-08-20 14:49:59 +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
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
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
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
667e77c609
Major code cleanup
...
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-07-21 16:02:54 +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
Darryl Sokoloski
8b0e735f67
Decreased minimum packet payload length down to 19 from 100 for SSDP.
...
The minimum packet payload length is: "NOTIFY * HTTP/1.1" + 0x0d + 0x0a (19 bytes).
2018-07-20 13:26:44 -04:00
Luca Deri
30b72eae64
Changed RTP from VoIP to Media category
2018-07-18 21:29:26 +02:00
Luca Deri
475f54e9d1
Fixed name clash
2018-07-18 17:33:28 +02:00
Luca Deri
34dfe7d375
Improved tor detection to limit false positives
2018-07-17 18:21:06 +02:00
Luca Deri
06789406ad
Pattern match improvements
2018-07-17 17:49:59 +02:00
Luca Deri
1ebc510bcb
Fied substring matching
2018-07-17 15:48:24 +02:00
Luca Deri
90ffa1fc2c
Updated twitter invalid address range
...
Using content substring match in category search
2018-07-16 09:21:34 +02:00
Marcus Hufvudsson
7fce8f02d2
Added showmax.com detection
2018-07-02 19:54:37 +02:00
Luca
3986a951d8
Suppressed invalid messages with -q
...
-j now accepts - as stdout
2018-06-21 16:13:18 +02:00
Luca Deri
e00b06926e
Fix for handling IP address based custom categories
2018-06-11 16:22:02 +02:00
Luca Deri
dc9409ae12
Added missing include
2018-06-05 23:02:24 +02:00
Luca Deri
6b16ad709e
Fix for #560
2018-05-29 22:50:18 +02:00
Luca Deri
326a2fb7ed
Fix for https://github.com/ntop/nDPI/issues/572
2018-05-28 18:18:19 +02:00
Daniele De Lorenzi
9af00fdb4c
Merge branch 'dev' into rapidvideo
2018-05-25 21:57:38 +02:00
Daniele
5171309c43
Added RapidVideo
2018-05-25 21:41:14 +02:00
Daniele
c77ec63ed8
Added VidTO streaming service
2018-05-25 20:34:37 +02:00
Daniele De Lorenzi
e2310751f1
Updated Viber ports
...
New ports taken from
https://support.viber.com/customer/portal/articles/1506350-opening-ports-for-viber-desktop
2018-05-24 12:14:09 +02:00
Daniele De Lorenzi
47b5e45f13
Updated Viber subnet and domain
...
Added the new subnet, added viber.it and removed the old subnet 54.169.X since are no more part of viber network
daniele@bart:~$ whois 54.169.63.160
[Querying whois.arin.net]
[whois.arin.net]
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/whois_reporting/index.html
#
NetRange: 54.160.0.0 - 54.175.255.255
CIDR: 54.160.0.0/12
NetName: AMAZON-2011L
NetHandle: NET-54-160-0-0-1
Parent: NET54 (NET-54-0-0-0-0)
NetType: Direct Allocation
OriginAS:
Organization: Amazon Technologies Inc. (AT-88-Z)
RegDate: 2014-06-20
Updated: 2014-06-20
Ref: https://whois.arin.net/rest/net/NET-54-160-0-0-1
2018-05-24 12:14:09 +02:00
Luca Deri
1585503809
Added Musical.ly support
2018-05-23 22:53:03 +02:00
Campus
fcf4b25bc3
update google hangout detection from string
2018-05-23 18:31:27 +02:00
Daniele De Lorenzi
32c62faa78
Updated AmazonVideo
...
Updated CDN list of PrimeVideo
2018-05-22 11:28:17 +02:00
Daniele De Lorenzi
363deeb23d
Added support for SMTPS on port 587
...
Added support for SMTPS on port 587
2018-05-21 17:26:00 +02:00