]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/luaxform: initial lua transform support
authorJeff Lucovsky <jlucovsky@oisf.net>
Mon, 9 Sep 2024 15:06:32 +0000 (11:06 -0400)
committerJeff Lucovsky <jlucovsky@oisf.net>
Sun, 18 May 2025 13:04:28 +0000 (09:04 -0400)
commit6ed386082e7b3d5dcfe6d3bb19d3723fae07692a
tree945b2dcfb9bd79a03e9b7f3e62ebd23475338e23
parentc02f56877ef11b3b0a6c493efda06d51bd5cf8a2
detect/luaxform: initial lua transform support

Adds a new lua script capability to use a script as a buffer transform
keyword.

It uses a `transform` lua function that returns the input buffer after
modifying it.

Issue: 2290
src/Makefile.am
src/detect-engine-register.c
src/detect-engine-register.h
src/detect-lua.c
src/detect-transform-luaxform.c [new file with mode: 0644]
src/detect-transform-luaxform.h [new file with mode: 0644]
src/util-lua-common.h