前言
SURICATA是一个开源的网络入侵检测系统(IDS)和入侵防御系统(IPS),它可以捕获通讯流量并对其做协议解析,识别或防御通讯流量中可疑或恶意的行为。详细功能和开发指导,请访问SURICATA官网
本文主要说明如何在aarch64-linux平台下交叉编译SURICATA。
一、编译环境
编译机器:x86_64 ubuntu 18.04
工具链:buildroot-gcc540_aarch64
目标主机:aarch64-linux嵌入式设备
部分命令需要联网下载,所以要求机器能够联网。
二、操作步骤
1.下载编译依赖库
SURICATA所依赖的库如下:
0x0000000000000001 (NEEDED) Shared library: [libhtp.so.2]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libjansson.so.4]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libyaml-0.so