Files
nDPI/tests/pcap
Vitaly Lavrov c418b7110b ahoсorasick. Code review. Part 2. (#1236)
Simplified the process of adding lines to AC_AUTOMATA_t.
Use the ndpi_string_to_automa() function to add patterns with domain names.
For other cases can use ndpi_add_string_value_to_automa().

ac_automata_feature(ac_automa, AC_FEATURE_LC) allows adding
and compare data in a case insensitive manner. For mandatory pattern comparison
from the end of the line, the "ac_pattern.rep.at_end=1" flag is used.
This eliminated unnecessary conversions to lowercase and adding "$" for
end-of-line matching in domain name patterns.

ac_match_handler() has been renamed ac_domain_match_handler() and has been greatly simplified.
ac_domain_match_handler() looks for the template with the highest domain level.
For special cases it is possible to manually specify the domain level.
Added test for checking ambiguous domain names like:
 - short.weixin.qq.com is QQ, not Wechat
 - instagram.faae1-1.fna.fbcdn.net is Instagram, not Facebook

If you specify a NULL handler when creating the AC_AUTOMATA_t structure,
then a pattern with the maximum length that satisfies the search conditions will be found
(exact match, from the beginning of the string, from the end of the string, or a substring).

Added debugging for ac_automata_search.
To do this, you need to enable debugging globally using ac_automata_enable_debug(1) and
enable debugging in the AC_AUTOMATA_t structure using ac_automata_name("name", AC_FEATURE_DEBUG).
The search will display "name" and a list of matching patterns.
Running "AHO_DEBUG=1 ndpiReader ..." will show the lines that were searched for templates
and which templates were found.

The ac_automata_dump() prototype has been changed. Now it outputs data to a file.
If it is specified as NULL, then the output will be directed to stdout.
If you need to get data as a string, then use open_memstream().

Added the ability to run individual tests via the do.sh script
2021-07-12 17:39:43 +02:00
..
2020-02-08 10:38:22 +01:00
2020-02-08 10:38:22 +01:00
2020-02-08 10:38:22 +01:00
2020-02-08 10:38:22 +01:00
2020-02-08 10:38:22 +01:00
2020-02-08 10:38:22 +01:00
2018-04-22 01:54:28 -03:00
2020-03-23 10:08:57 +01:00
2020-09-21 19:57:23 +02:00
2020-03-23 10:06:16 +01:00
2017-04-21 02:01:09 +02:00
2019-10-27 19:03:23 +01:00
2016-04-04 00:15:57 +02:00
2019-11-23 13:27:34 +01:00
2017-07-27 13:15:37 +02:00
2021-03-02 21:15:40 +01:00
2020-01-01 12:59:19 +01:00
2020-05-28 21:23:02 +02:00
2020-01-08 22:01:45 +01:00
2020-05-15 10:52:23 +02:00
2021-05-13 20:00:27 +02:00
2019-04-12 12:19:11 +02:00
2015-06-16 18:34:43 +02:00
2016-07-20 01:40:16 +02:00
2015-11-23 10:08:44 +01:00
2019-11-23 13:27:34 +01:00
2020-01-10 22:21:16 +01:00
2020-03-23 10:09:14 +01:00
2021-02-09 21:25:48 +01:00
2018-12-21 18:25:44 +01:00
2020-11-03 16:16:02 +01:00
2015-06-15 16:48:50 +02:00
2015-06-25 03:57:50 -07:00
2020-05-03 18:20:21 +02:00
2020-03-23 10:05:41 +01:00
2020-03-23 14:37:14 +01:00
2019-07-15 14:45:25 +02:00
2017-04-01 21:39:47 +02:00
2021-02-03 11:56:14 +01:00
2015-07-13 15:01:51 +02:00
2020-11-16 21:11:43 +01:00
2020-03-17 16:51:25 +01:00
2020-11-22 11:04:10 +01:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-21 22:04:55 +02:00
2020-08-24 13:53:36 +02:00
2020-08-24 13:53:36 +02:00
2021-02-05 22:22:33 +01:00
2021-02-05 22:22:33 +01:00
2020-11-16 21:13:01 +01:00
2016-04-15 15:47:39 +02:00
2020-03-27 09:35:59 +01:00
2019-09-21 09:40:20 +02:00
2015-05-19 08:14:33 +02:00
2020-10-27 08:45:09 +01:00
2019-07-15 14:45:25 +02:00
2015-05-19 08:14:33 +02:00
2020-03-23 10:09:47 +01:00
2019-08-08 23:33:40 +02:00
2015-07-05 19:21:12 +02:00
2019-08-22 19:36:36 +02:00
2020-04-16 15:23:07 +02:00
2017-05-29 19:09:32 +02:00
2021-02-21 21:45:46 +01:00
2020-01-01 21:27:18 +01:00
2020-11-16 21:14:06 +01:00
2018-11-07 22:45:29 +01:00
2016-10-12 00:14:46 +02:00
2020-03-23 14:44:33 +01:00
2020-03-23 14:44:33 +01:00
2015-07-11 16:04:58 +02:00
2017-04-15 21:18:50 +02:00
2016-05-13 01:05:13 +02:00
2019-07-24 19:18:20 +03:00
2019-10-29 19:25:46 +01:00

Place here test pcaps used for regressions testing