Luca Deri
28879c570e
Reworked ndpi patricia includes to avoid compilation issues on some platforms
2021-03-31 19:43:55 +02:00
Alfredo Cardigliano
f8e83f7e35
Add support for MAC to Patricia tree. Expose full API to applications. Add utility functions.
2021-02-23 10:01:56 +01:00
Luca Deri
dc401f8a74
Split ptree user data in 32 and 64 bit entries
2020-12-30 12:12:33 +01:00
Luca Deri
8de62c6d34
Values stored in patricia tree are now 32 bit (they used to be 16 bit) long
2020-06-26 17:49:45 +02:00
Luca Deri
64fab4a478
Win fixes
2020-06-08 23:08:12 +02:00
Luca Deri
84f66b4d6b
Introduced custom protocols with IP and (optional) port support
...
Example
- Single IP address
ip:213.75.170.11@CustomProtocol
- IP address with CIDR
ip:213.75.170.11/32@CustomProtocol
- IP address with CIDR and port
ip:213.75.170.11/32:443@CustomProtocol
Please note that there are some restrictions on the port
usage. They have been listed in example/protos.txt
2020-05-06 12:51:44 +02:00
Luca Deri
7855e0318d
Various fixes to patricia tree handling
2020-05-06 11:13:57 +02:00
Luca Deri
48282369e2
False positive fixes
2020-05-06 01:34:55 +02:00
Luca Deri
427002d14f
Reworked protocol handling chnging it is u_int16_t
2020-05-06 00:31:40 +02:00
Luca Deri
90ca91caa8
Renamed files to avoid name clashes during compilation with other libs
2018-09-29 08:38:00 +02:00
Josh Soref
c51f88e62a
spelling: interface
2017-03-12 21:44:26 +00:00
Campus
a4f170604c
removed kernel support and #if 0s
2015-11-12 12:08:41 +01:00
Luca Deri
64121162dd
Win32 fix
2015-05-18 16:17:23 +02:00
Luca Deri
079a42c752
Minor code cleanup
2015-05-18 16:09:57 +02:00
Luca Deri
66394ba05e
File renamed to avoid name clashes
2015-05-18 15:26:16 +02:00