]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
test/luaxform: Ensure ip.src/ip.dst work with transforms 2730/head 2731/head
authorJeff Lucovsky <jlucovsky@oisf.net>
Wed, 22 Oct 2025 14:57:46 +0000 (10:57 -0400)
committerVictor Julien <vjulien@oisf.net>
Wed, 29 Oct 2025 15:33:51 +0000 (15:33 +0000)
commitc166eed11700845936c9a1e39f1b3591fa0106d5
tree3a201ad09705a8232bf9e79eb1d377e991fbeed1
parentfc55a721db3ec5435d88075de414559ba55bf1a2
test/luaxform: Ensure ip.src/ip.dst work with transforms

Demonstrate that the sticky buffers ip.src/ip.dst work with transforms.
The sample lua script creates a string "cidr" from an ipv4 src/dst
address.

E.g., "1.2.3.0/24"

The tests require 9.0 or greater; when issue 8016 is addressed,
additional version constraints will be added.

Issue: 8015
tests/lua/lua-transform-09/README.md [new file with mode: 0644]
tests/lua/lua-transform-09/test.rules [new file with mode: 0644]
tests/lua/lua-transform-09/test.yaml [new file with mode: 0644]
tests/lua/lua-transform-09/transform.lua [new file with mode: 0644]