Before, with Suricata 7, I did this and it worked:
sudo trafr -s | sudo /usr/bin/suricata -r /dev/stdin -knone -v -c /etc/suricata7/suricata7.yaml -l ./ --runmode autofp
Now, with Suricata 8, doing the same thing:
sudo trafr -s | sudo /usr/bin/suricata -r /dev/stdin -knone -v -c /etc/suricata8/suricata/suricata8.yaml -l ./ --runmode autof
I get the following error:
Info: detect: 52794 signatures processed. 1319 are IP-only rules, 4522 are inspecting packet payload, 46861 inspect application layer, 0 are decoder event only
Notice: mpm-hs: Rule group caching - loaded: 108 newly cached: 0 total cacheable: 108
Error: pcap: failed to get first packet timestamp. pcap_next_ex(): -1
Warning: pcap: Failed to init pcap file /dev/stdin, skipping
Error: pcap: pcap file reader thread failed to initialize
Notice: threads: Threads created -> RX: 1 W: 4 FM: 1 FR: 1 Engine started.
Notice: suricata: Signal Received. Stopping engine.
Regards,