aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party/include/shoco_domains_model.h
Commit message (Collapse)AuthorAge
* Domain Classification Improvements (#2396)Luca Deri2024-04-18
* Added size_t ndpi_compress_str(const char * in, size_t len, char * out, size_t bufsize); size_t ndpi_decompress_str(const char * in, size_t len, char * out, size_t bufsize); used to compress short strings such as domain names. This code is based on https://github.com/Ed-von-Schleck/shoco * Major code rewrite for ndpi_hash and ndpi_domain_classify * Improvements to make sure custom categories are loaded and enabled * Fixed string encoding * Extended SalesForce/Cloudflare domains list