Skip to content

Instantly share code, notes, and snippets.

View pigri's full-sized avatar
💭
I may be slow to respond.

David Papp pigri

💭
I may be slow to respond.
View GitHub Profile
@pigri
pigri / suricata-advanced-lua-detection.lua
Created August 23, 2026 21:36 — forked from williamzujkowski/suricata-advanced-lua-detection.lua
Suricata Advanced Lua Detection - HTTP anomaly detection using Lua scripting and ML dataset configuration
-- Suricata Advanced Detection with Lua Scripts
-- Location: /etc/suricata/lua/http-anomaly.lua
-- Purpose: Complex HTTP anomaly detection using Lua scripting
-- ============================================================================
-- HTTP Anomaly Detection Script
-- ============================================================================
function init(args)
local needs = {}