]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/entropy: Add entropy keyword
authorJeff Lucovsky <jlucovsky@oisf.net>
Wed, 5 Feb 2025 20:53:30 +0000 (15:53 -0500)
committerVictor Julien <victor@inliniac.net>
Tue, 1 Apr 2025 19:11:11 +0000 (21:11 +0200)
commitfdc0ac590e74639d0cc895792a145e23516be08b
tree783ca1e486a35b27fdc06d34a5c1af048f9f0afb
parentc92f0f6d2794342795585f943da68640d452b225
detect/entropy: Add entropy keyword

This commit adds keyword/build support for the entropy keyword. The
entropy keyword compares an entropy value with a value calculated
according to the Shannon entropy on the available content.

Issue: 4162
rust/src/detect/entropy.rs
src/Makefile.am
src/detect-engine-register.c
src/detect-engine-register.h
src/detect-entropy.c [new file with mode: 0644]
src/detect-entropy.h [new file with mode: 0644]