Luca
ecdece83fe
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2018-10-29 14:44:53 +01:00
Michele Campus
d7478c6ed3
Merge pull request #630 from pchaigno/fix-typo
...
Fix typo in README
2018-10-16 11:01:41 +02:00
Paul Chaignon
b467005fac
Fix typo in README
2018-10-16 10:14:09 +02:00
Luca
952215c0ac
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2018-10-11 17:47:10 +02:00
Luca
3e5db956a8
Added further ubuntu servers
2018-10-11 17:47:00 +02:00
kyrol
a62f90073a
fix domain name checking for https://github.com/ntop/nDPI/issues/617
2018-10-11 16:16:55 +02:00
emanuele-f
6789d41993
Fix category match not using client certificate
2018-10-11 12:40:11 +02:00
emanuele-f
4b4f4be3a5
Add -g flag
2018-10-11 12:27:13 +02:00
emanuele-f
40294f3aed
Custom categories have now priority over protocol related categories
2018-10-10 15:56:46 +02:00
emanuele-f
67a1a07ac1
Fix custom categories match by IP not working
2018-10-10 13:33:02 +02:00
emanuele-f
cdf197ccfe
Add function to search host in custom categories
2018-10-10 13:29:49 +02:00
emanuele-f
6ff6c2e5af
Fix category field not accounted in ndpi_get_proto_category
...
Fixes #627
2018-10-10 10:43:51 +02:00
Luca Deri
cf0c8be63d
Merge pull request #616 from wang-xuefei/dev
...
remake clean or remake install failed.
2018-10-09 17:45:23 +03:00
root
1d56c9aa1b
fix remake
2018-10-02 23:54:01 +08:00
Luca Deri
ab2f3cefc8
Merge pull request #612 from xcorail/dev
...
Add LGTM code quality badges
2018-10-02 10:07:04 +02:00
Luca Deri
3cbdbc1db5
Merge pull request #610 from eglooca/pr-nest-log-sink
...
New dissector: Nest Log Sink
2018-10-02 10:06:07 +02:00
Luca Deri
90ca91caa8
Renamed files to avoid name clashes during compilation with other libs
2018-09-29 08:38:00 +02:00
Luca Deri
1f24adc9cd
Renamed source files to avoid clashes
2018-09-29 08:28:26 +02:00
Xavier RENE-CORAIL
a1f7ab776e
Add LGTM.com code quality badges
2018-09-27 13:00:00 +02:00
Luca Deri
f639c237a1
Added check for not going beyond the string lenght
2018-09-24 09:57:51 +02:00
Darryl Sokoloski
46ebf541e1
Removed unused varaibles.
...
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca >
2018-09-19 22:05:39 -04:00
Darryl Sokoloski
53910f0737
Added missing declarations for nest_log_sink dissector.
...
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca >
2018-09-19 22:05:03 -04:00
Darryl Sokoloski
31f62c5cf5
New dissector: Nest Log Sink
...
This is a dissector for the Nest Log Sink protocol which is used by the Nest Protect (https://nest.com/ca/smoke-co-alarm/overview/ ).
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca >
2018-09-19 21:25:16 -04:00
Luca
7117f0532c
Mapped the mining category in ndpi_category_get_name()
2018-09-18 18:32:08 +02:00
Luca
c6b427c252
Implementation of Bitcoin, Ethereum, ZCash, Monero dissectors all identified as mining
...
Implements #503
2018-09-18 18:13:04 +02:00
Luca Deri
b0f9f76b79
Addes support for SMBv1 traffic that has been split from SMBv23
2018-09-17 23:15:44 +02:00
Luca
8689d3293a
Added ndpi_protocol2id() API call
2018-09-17 17:57:47 +02:00
Luca Deri
51fdd12d23
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2018-09-13 00:11:09 +02:00
Luca Deri
24110acafc
Merge pull request #606 from eglooca/pr-fix-parse-packet-line-info
...
Prevent missing text lines and invalid reads past end-of-buffer.
2018-09-13 01:11:01 +03:00
Michele Campus
f6f242b899
Merge pull request #604 from DanieleDeSensi/dev
...
Bug fix and performance improvement for spotify dissector.
2018-09-13 00:09:56 +02:00
Luca Deri
e8c738282d
Improved Facebook Messenger support
2018-09-13 00:04:19 +02:00
Darryl Sokoloski
c0ed50d5b0
Prevent invalid reads past end-of-buffer.
...
The recent revert commit applied to ndpi_parse_packet_line_info resurrects an old bug where the last lines in packets that end with a CR+NL will not be parsed. This revert commit is an attempt to prevent invalid reads past the end of the packet buffer. This PR moves the end-of-bounds test to before the 16-bit read and returns if true. This fixes the case where a text line ends aligned to the buffer-end boundary, and it fixes the invalid read issue.
Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca >
2018-09-11 17:16:12 -04:00
Daniele De Sensi
f48c7ab8e6
Fixed bug in spotify dissector (subnet /24 was matched as /22).
...
Slight performance improvements in spotify dissector (avoid doing ntohl and masking in each and all if conditions).
2018-09-11 12:41:05 +02:00
诟屍
adcb82d2b5
parse protocol's string_to_match into hex which could be match by hyperscan ( #589 )
...
* if one protocol do not have it's regex (pattern_to_match)
then parse it's string (string_to_match) into hex
so we can match every protocol with hyperscan
* fix string2hex()
* fix init_hyperscan():
check return value of string2hex()
2018-09-11 10:46:13 +02:00
Simone Mainardi
6ac83ce7eb
Fixes broken hyperscan compilation
2018-09-11 10:43:04 +02:00
Luca
b9ae0f8888
Fixes #578
2018-09-11 10:07:39 +03:00
Luca Deri
7b4d335944
Merge pull request #603 from pavlosantoniou/dev
...
Avoid possible NULL pointer dereference in ndpi_detection_process_packet
2018-09-11 10:04:15 +03:00
Luca
9bf05c3534
Indentation fix
2018-09-11 09:33:09 +03:00
Luca
1075283d8e
Fixes #601
2018-09-11 09:26:01 +03:00
Pavlos Antoniou
77ea1c25bd
Avoid possible NULL pointer dereference in ndpi_detection_process_packet
2018-09-09 08:20:54 +00:00
Luca Deri
6373c355cf
Added fix for out of boundary memory access
...
Fixes warning
2018-09-05 23:23:54 +02:00
Campus
225826ce83
FIX: dropbox dissector. UPD: updated pcap file with new dropbox pkts
2018-09-05 16:10:07 +02:00
Luca Deri
0c3989b40f
Merge pull request #596 from madpilot78/Add_back_pkgconfig_file
...
Add back pkgconfig file. It is required by ntopng to find the install…
2018-08-30 11:29:12 +02:00
Luca Deri
4a2525241f
Merge pull request #598 from madpilot78/include_hyperscan_fix
...
Move the configure include file inclusion and code depending on it in…
2018-08-30 11:28:41 +02:00
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