mbox series

[meta-security,0/1] suricata: update 7.0.13 -> 8.0.4

Message ID 336649dc-b99f-4e1c-b23d-c9520187c7b0@gmail.com
Headers show
Series suricata: update 7.0.13 -> 8.0.4 | expand

Message

Clayton Casciato March 20, 2026, 11:39 p.m. UTC
Tested against:
Poky - 6.0 M2
Image - core-image-selinux
Target - qemuarm64 (2 GB RAM)

Previous results (7.0.12):
https://lists.yoctoproject.org/g/yocto-patches/topic/116119035

Tooling note:
update_crates behaves much better.
I only had to add SRC_URI checksums (prompted).

Target testing:
```
root@qemuarm64:~# systemctl status suricata
* suricata.service - Suricata IDS/IDP daemon
     Loaded: loaded (/usr/lib/systemd/system/suricata.service; enabled; preset: enabled)
     Active: active (running) since Fri 2026-03-20 22:23:37 UTC; 21s ago
 Invocation: 0a0439fe27d84ec19eaff6f718822f53
       Docs: man:suricata(8)
             man:suricatasc(8)
             https://redmine.openinfosecfoundation.org/projects/suricata/wiki
   Main PID: 489 (Suricata-Main)
      Tasks: 10 (limit: 296)
     Memory: 63.2M (peak: 64.6M)
        CPU: 1.732s
     CGroup: /system.slice/suricata.service
             `-489 /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0

Mar 20 22:23:37 qemuarm64 systemd[1]: Started Suricata IDS/IDP daemon.
Mar 20 22:23:38 qemuarm64 suricata[489]: i: suricata: This is Suricata version 8.0.4 RELEASE running in SYSTEM mode
Mar 20 22:23:38 qemuarm64 suricata[489]: W: detect: No rule files match the pattern /var/lib/suricata/rules/suricata.rules
Mar 20 22:23:38 qemuarm64 suricata[489]: W: detect: 1 rule files specified, but no rules were loaded!
Mar 20 22:23:38 qemuarm64 suricata[489]: i: threads: Threads created -> W: 4 FM: 1 FR: 1   Engine started.

root@qemuarm64:~# suricata-update
20/3/2026 -- 22:28:36 - <Info> -- Using data-directory /var/lib/suricata.
20/3/2026 -- 22:28:36 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
20/3/2026 -- 22:28:36 - <Info> -- Using /usr/share/suricata/rules for Suricata provided rules.
20/3/2026 -- 22:28:36 - <Info> -- Found Suricata version 8.0.4 at /bin/suricata.
20/3/2026 -- 22:28:36 - <Info> -- Loading /etc/suricata/suricata.yaml
20/3/2026 -- 22:28:36 - <Info> -- Disabling rules for protocol pgsql
20/3/2026 -- 22:28:36 - <Info> -- Disabling rules for protocol modbus
20/3/2026 -- 22:28:36 - <Info> -- Disabling rules for protocol dnp3
20/3/2026 -- 22:28:36 - <Info> -- Disabling rules for protocol enip
20/3/2026 -- 22:28:36 - <Info> -- No sources configured, will use Emerging Threats Open
20/3/2026 -- 22:28:36 - <Info> -- Fetching https://rules.emergingthreats.net/open/suricata-8.0.4/emerging.rules.tar.gz.
 100% - 5398510/5398510
20/3/2026 -- 22:28:37 - <Info> -- Done.
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/app-layer-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/decoder-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/dhcp-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/dnp3-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/dns-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/files.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/http2-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/http-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/ipsec-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/kerberos-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/modbus-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/mqtt-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/nfs-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/ntp-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/quic-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/rfb-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/smb-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/smtp-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/ssh-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/stream-events.rules
20/3/2026 -- 22:28:37 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/tls-events.rules
20/3/2026 -- 22:28:39 - <Info> -- Ignoring file e8e18dbaadbcd7eebb54ecdb5c78f603/rules/emerging-deleted.rules
20/3/2026 -- 22:29:04 - <Info> -- Loaded 65077 rules.
20/3/2026 -- 22:29:08 - <Info> -- Disabled 15 rules.
20/3/2026 -- 22:29:08 - <Info> -- Enabled 0 rules.
20/3/2026 -- 22:29:08 - <Info> -- Modified 0 rules.
20/3/2026 -- 22:29:08 - <Info> -- Dropped 0 rules.
20/3/2026 -- 22:29:10 - <Info> -- Enabled 136 rules for flowbit dependencies.
20/3/2026 -- 22:29:10 - <Info> -- Creating directory /var/lib/suricata/rules.
20/3/2026 -- 22:29:10 - <Info> -- Backing up current rules.
20/3/2026 -- 22:29:10 - <Info> -- Writing rules to /var/lib/suricata/rules/suricata.rules: total: 65077; enabled: 49217; added: 65077; removed 0; modified: 0
20/3/2026 -- 22:29:11 - <Info> -- Writing /var/lib/suricata/rules/classification.config
20/3/2026 -- 22:29:12 - <Info> -- Testing with suricata -T.
20/3/2026 -- 22:29:54 - <Info> -- Done.

root@qemuarm64:~# systemctl restart suricata

root@qemuarm64:~# systemctl status suricata
* suricata.service - Suricata IDS/IDP daemon
     Loaded: loaded (/usr/lib/systemd/system/suricata.service; enabled; preset: enabled)
     Active: active (running) since Fri 2026-03-20 22:30:33 UTC; 59s ago
 Invocation: a95034e5d76f418fa530bcb8027f0183
       Docs: man:suricata(8)
             man:suricatasc(8)
             https://redmine.openinfosecfoundation.org/projects/suricata/wiki
   Main PID: 623 (Suricata-Main)
      Tasks: 10 (limit: 2406)
     Memory: 1.1G (peak: 1.1G)
        CPU: 38.435s
     CGroup: /system.slice/suricata.service
             `-623 /usr/bin/suricata -c /etc/suricata/suricata.yaml -i eth0

Mar 20 22:30:33 qemuarm64 systemd[1]: Started Suricata IDS/IDP daemon.
Mar 20 22:30:34 qemuarm64 suricata[623]: i: suricata: This is Suricata version 8.0.4 RELEASE running in SYSTEM mode
Mar 20 22:31:11 qemuarm64 suricata[623]: i: threads: Threads created -> W: 4 FM: 1 FR: 1   Engine started.

root@qemuarm64:~# wget -O /tmp/arst http://testmynids.org/uid/index.html
Connecting to testmynids.org (18.238.176.2:80)
[...]
'/tmp/arst' saved

root@qemuarm64:~# tail /var/log/suricata/fast.log
03/20/2026-22:31:56.562766  [**] [1:2100498:7] GPL ATTACK_RESPONSE id check returned root [**] [Classification: Potentially Bad Traffic] [Priority: 2] {TCP} 18.238.176.2:80 -> 10.0.2.15:38026

root@qemuarm64:~# suricatactl -h
Usage: suricatactl [OPTIONS] <COMMAND>

Commands:
  filestore  Filestore management commands
  help       Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose...
  -q, --quiet       Quiet mode, only warnings and errors will be logged
  -h, --help        Print help

root@qemuarm64:~# suricatasc -h
Usage: suricatasc [OPTIONS] [SOCKET]

Arguments:
  [SOCKET]  Optional path to Suricata unix socket

Options:
  -v, --verbose            Enable verbose output
  -c, --command <COMMAND>  Execute command and return JSON
  -h, --help               Print help

root@qemuarm64:~# journalctl -u suricata -p notice
-- No entries --
```

Clayton Casciato (1):
  suricata: update 7.0.13 -> 8.0.4

 ...kefile-from-using-its-own-rust-steps.patch |   36 +-
 recipes-ids/suricata/libhtp_0.5.52.bb         |   23 -
 recipes-ids/suricata/suricata-crates.inc      | 3282 +++++++++++++----
 .../{suricata_7.0.13.bb => suricata_8.0.4.bb} |   22 +-
 4 files changed, 2673 insertions(+), 690 deletions(-)