Project

General

Profile

Actions

Bug #4700

closed

suricata calls luajit crashes on Raspberry Pi 4B(arm64)

Added by hycsxs 羽音 about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
high
Difficulty:
medium
Label:
C

Description

The platform I am using is Raspberry Pi 4B with 4G RAM, when I compile the latest V5.0.7 and V6.0.3 version after starting suricata prompted to call lua script error, lua script and error report screenshot see below.
After googling the error, I found that luajit officially does not recommend using "lightuserdata" and suggests using FFI bindings to replace it, refer to https://github.com/LuaJIT/LuaJIT/pull/230

the crash picture

the rules picture

lua script picture


Files

crash.png (24.4 KB) crash.png the crash picture hycsxs 羽音, 09/21/2021 02:09 PM
lua.png (13.3 KB) lua.png lua script picture hycsxs 羽音, 09/21/2021 02:10 PM
rules.png (18.3 KB) rules.png the rules picture hycsxs 羽音, 09/21/2021 02:11 PM
attack.pcap (156 KB) attack.pcap the test pcap file hycsxs 羽音, 09/21/2021 02:12 PM
Actions

Also available in: Atom PDF