Project

General

Profile

Actions

Bug #6095

closed

windows: lua script path truncated

Added by Peter Manev 11 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

As privately reported.
On windows only when lua scripts are used.
It seems that on Windows exclusively, Suricata removes the last letter of each lua file present in rule and that prevents the execution of the script:

For "luajit: myscript.lua;", suricata will search for the file "myscript.lu" without the last letter.

We need to add a random letter to bypass the problem, like this:

"luajit: myscript.luaa;" 

Subtasks 1 (0 open1 closed)

Bug #6227: windows: lua script path truncated (6.0.x backport)ClosedJeff LucovskyActions
Actions

Also available in: Atom PDF