package/suricata: new package
PATCH v2 1/1 package/suricata: new package
Suricata is a free and open source, mature, fast and robust network threat detection engine.
The Suricata engine is capable of real time intrusion detection (IDS), inline intrusion prevention (IPS), network security monitoring (NSM) and offline pcap processing.
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Update S99suricata to follow the same template than S02klogd
- Always disable gccprotect
- Enable python3
- Add EnvironmentFile to suricata.service
DEVELOPERS | 1 + package/Config.in | 1 + package/suricata/Config.in | 22 ++++++ package/suricata/S99suricata | 64 +++++++++++++++ package/suricata/suricata.hash | 6 ++ package/suricata/suricata.mk | 126 ++++++++++++++++++++++++++++++ package/suricata/suricata.service | 14 ++++ 7 files changed, 234 insertions(+) create mode 100644 package/suricata/Config.in create mode 100644 package/suricata/S99suricata create mode 100644 package/suricata/suricata.hash create mode 100644 package/suricata/suricata.mk create mode 100644 package/suricata/suricata.service
DEVELOPERS +1 -0
@@ -835,6 +835,7 @@ F: package/oprofile/ F: package/pcmanfm/ F: package/rygel/ F: package/safeclib/ +F: package/suricata/ F: package/tinycbor/ F: package/tinydtls/ F: package/tinymembench/
package/Config.in +1 -0
@@ -2035,6 +2035,7 @@ endif source "package/sslh/Config.in" source "package/strongswan/Config.in" source "package/stunnel/Config.in" + source "package/suricata/Config.in" source "package/tcpdump/Config.in" source "package/tcping/Config.in" source "package/tcpreplay/Config.in"
package/suricata/Config.in new file +22 -0
@@ -0,0 +1,22 @@ +config BR2_PACKAGE_SURICATA + bool "suricata" + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBHTP + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_LIBYAML + select BR2_PACKAGE_PCRE + help + Suricata is a free and open source, mature, fast and robust + network threat detection engine. + + The Suricata engine is capable of real time intrusion + detection (IDS), inline intrusion prevention (IPS), network + security monitoring (NSM) and offline pcap processing. + + https://suricata-ids.org + +comment "suricata needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/suricata/S99suricata new file +64 -0
64 lines not on this page · raw message
package/suricata/suricata.hash new file +6 -0
@@ -0,0 +1,6 @@ +# Locally computed: +sha256 6cda6c80b753ce36483c6be535358b971f3890b9aa27a58c2d2f7e89dd6c6aa0 suricata-4.1.3.tar.gz + +# Hash for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE
package/suricata/suricata.mk new file +126 -0
126 lines not on this page · raw message
package/suricata/suricata.service new file +14 -0
@@ -0,0 +1,14 @@ +[Unit] +Description=Suricata Intrusion Detection Service +After=network.target + +[Service] +EnvironmentFile=-/etc/default/suricata +ExecStartPre=/bin/rm -f /var/run/suricata.pid +ExecStartPre=/usr/bin/mkdir -p /var/log/suricata +ExecStart=/usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0 --pidfile /var/run/suricata.pid +ExecReload=/bin/kill -USR2 $MAINPID +Restart=always + +[Install] +WantedBy=multi-user.target
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH v2 1/1 package/suricata: new package
Quoted 9 lines · On Mon, 15 Apr 2019 22:44:10 +0200 Fabrice Fontaine…
Suricata is a free and open source, mature, fast and robust network threat detection engine.
The Suricata engine is capable of real time intrusion detection (IDS), inline intrusion prevention (IPS), network security monitoring (NSM) and offline pcap processing.
Quoted 7 lines
Signed-off-by Fabrice Fontaine <[email protected]>---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Update S99suricata to follow the same template than S02klogd
- Always disable gccprotect
- Enable python3
- Add EnvironmentFile to suricata.service
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com