Luca Deri
9b91623d57
Added ndpi_is_subprotocol_informative() API call
2017-10-06 15:20:36 +02:00
Luca Deri
27d66f6845
Typo
2017-10-06 09:51:42 +02:00
Luca Deri
b10e526364
Leak fix
2017-10-05 16:21:32 +02:00
Michele Campus
cf26e8429e
Merge pull request #469 from vel21ripn/dev
...
Fix undefined behavior (detected by gcc):
2017-10-03 16:08:14 +02:00
Michele Campus
094ddc2048
Merge pull request #468 from danielengbert/dev
...
Fixed issue #459 by adding missing symbols.
2017-10-03 15:58:07 +02:00
Vitaly Lavrov
25a4569e67
Fix undefined behavior (detected by gcc):
...
ndpi_define.h.in:218: Macros NDPI_SET(), NDPI_CLR(), NDPI_ISSET()
runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
http.c:364: strncpy((char*)flow->protos.http.nat_ip,(char*)packet->forwarded_line.ptr,len);
runtime error: null pointer passed as argument 2, which is declared to never be null
ndpi_patricia.c:ndpi_comp_with_mask(): int m = ((-1) << (8 - (mask % 8)));
runtime error: left shift of negative value -1
Original function ndpi_comp_with_mask() is unreadable and slow.
We have only 2 type of address: 32 bit and 128 bit. The optimized version works 6 times faster (IPv4).
2017-10-03 16:43:23 +03:00
dangbert
47f922fa7b
Fixed issue #459 by adding missing symbols.
2017-10-02 15:35:22 -04:00
Michele Campus
82c244b04f
Merge pull request #466 from vel21ripn/dev-fixerr
...
Fix error: Use of uninitialized structures in tcp_udp.c
2017-10-02 00:45:17 +02:00
Vitaly Lavrov
f80f0eedc0
Fix error: Use of uninitialized structures in tcp_udp.c
...
Now the test results do not depend on the compiler optimization level and architecture.
2017-10-01 22:43:20 +03:00
Campus
1b162234f0
Merge branch 'vel21ripn-dev-tests' into dev
2017-09-29 12:18:00 +02:00
Campus
3ac47a5104
Merge branch 'dev-tests' of https://github.com/vel21ripn/nDPI into vel21ripn-dev-tests
2017-09-29 12:15:13 +02:00
Vitaly Lavrov
b2f0558080
A more predictable sorting of the flows list.
...
It is necessary for correct testing.
2017-09-29 12:46:27 +03:00
Michele Campus
50624b390e
Merge pull request #463 from vel21ripn/dev
...
Fixed a typo in lisp.c
2017-09-29 10:15:19 +02:00
Vitaly Lavrov
1dd93590e4
Fixed a typo in lisp.c
2017-09-29 10:04:03 +03:00
Campus
662ef2f65b
update results after many commits
2017-09-27 16:17:28 +02:00
Michele Campus
83104eb8b6
Merge pull request #460 from beratx/dev
...
memory improvement again for (-b flag) statistics
2017-09-26 22:36:35 +02:00
emanuele-f
cd2a328cc5
Add configure.ac and ndpi_define.h to gitignore
2017-09-26 20:25:40 +02:00
berat
f255b10524
memory improvement again for (-b flag) statistics
2017-09-26 17:20:51 +02:00
berat
4ba6ba70c5
memory usage is improved (-b flag)
2017-09-26 17:01:10 +02:00
Michele Campus
0827a6bf8b
Merge pull request #457 from la10736/fix_ndpiReader_dependencies
...
Fix #456 : ndpiReader depend from uthash.h heder
2017-09-25 15:21:51 +02:00
Michele Campus
4348109931
Merge pull request #455 from beratx/dev
...
improved memory usage by (-b flag) statistics
2017-09-25 15:21:23 +02:00
Michele d'Amico
59097a2d30
Fix #456 : ndpiReader depend from uthash.h heder
2017-09-25 15:08:55 +02:00
Luca Deri
b129487636
Custom protocols are not set as application and no longer master protocols
2017-09-25 14:51:46 +02:00
berat
2c014c5693
improved memory usage by (-b flag) statistics
2017-09-25 12:45:30 +02:00
Michele Campus
80fa0b5f98
Merge pull request #454 from beratx/dev
...
improved (-x flag) bpf filter condition
2017-09-25 11:25:52 +02:00
berat
688d7c33e4
improved (-x flag) bpf filter condition
2017-09-25 11:14:57 +02:00
berat
b0f3852fed
improved (-x flag) bpf filter condition
2017-09-25 11:06:47 +02:00
Michele Campus
cd595caf8d
Merge pull request #452 from beratx/dev
...
fixed another memory leak
2017-09-25 08:29:04 +02:00
Luca Deri
c115903fbb
Patch for giving prority in case of match to custom-defined protocols
2017-09-24 22:49:07 +02:00
berat
807db80afc
fixed another memory leak
2017-09-24 18:43:31 +02:00
Michele Campus
8939a72ea8
Merge pull request #450 from beratx/dev
...
fixed memory leak
2017-09-24 15:16:23 +02:00
berat
baae16ec2f
memory leak fixed
2017-09-23 19:55:47 +02:00
berat
41b40ddf18
memory leak fixed
2017-09-23 19:50:52 +02:00
Luca Deri
8cc2b04f3c
Fixed category for email services
2017-09-23 11:34:12 +02:00
Michele Campus
98b3268bfb
Merge pull request #449 from beratx/dev
...
typos and renames
2017-09-22 20:55:02 +02:00
berat
f575959cd2
typos and renames
2017-09-22 19:00:27 +02:00
Luca Deri
c2002cd48f
Removed / from category names that can cause issues in applications
2017-09-21 19:35:03 +02:00
Luca Deri
9fb5981128
Added ndpi_category_set_name() API call
2017-09-19 22:39:00 +02:00
Luca Deri
1a4e57e736
Code rework
2017-09-17 23:34:46 +02:00
Luca Deri
d6f7dd9c08
Implemented DHCP field 55 decode
2017-09-17 21:25:55 +02:00
Luca Deri
4176fd5068
Reworked categories
2017-09-15 11:56:40 +02:00
Luca Deri
1808519b5b
Reorganized protocol families
...
Added new API calls ndpi_set_proto_breed() and ndpi_set_proto_category() for overwriting nDPI protocol specifications
2017-09-15 11:23:34 +02:00
Luca Deri
83b1b34c18
Added custom 5 protocol categories to be used by applications. They are currently empty
...
Added ndpi_is_custom_category() to check if a defined category is custom
2017-09-15 11:13:25 +02:00
Campus
b4d535e184
Merge branch 'huniyaarif1-dev' into dev
2017-09-14 11:45:11 +02:00
huniya arif, xflowResearch
f7e9264c36
LISP PROTOCOL by Huniya Arif (xFlowResearch)
2017-09-14 12:52:18 +05:00
huniya arif, xflowResearch
d4d4f2a17c
Added LISP protocol. By Huniya Arif (xFlowResearch)
2017-09-14 11:38:31 +05:00
huniya arif, xflowResearch
d3d6a95da7
Added protocol LISP. By Huniya Arif xFlow Research
2017-09-14 11:05:20 +05:00
Michele Campus
8a6a8ea07e
Merge pull request #445 from beratx/dev
...
Extended filter produced by -b flag
2017-09-13 11:22:04 +02:00
berat
ecb048a7bc
Extended filter produced by -b flag
2017-09-08 18:00:32 +02:00
Campus
8e8445e02f
fix telegram detection
2017-09-03 16:40:41 +02:00