Lots of /libhttp::request_uri_not_seen

system info:
NAME=“Ubuntu”
VERSION=“20.04.5 LTS (Focal Fossa)”

suricata info:
This is Suricata version 7.0.5 RELEASE

pcap info:

flow-http.log:

But it can be played back normally

tcpreplay --intf1=p5p1 111111.pcap

From the above, we can see that /libhttp::request_uri_not_seen appears in the http flow log, and it is normal through tcpreplay

I’ve encountered this a long time ago when replaying using a multi-queue nic:

Do you get a the problem also when suri reads the original pcap directly?

It won’t happen, how can I solve this problem?

Try to reproduce it if you create a dummy0 interface in Linux, replay the traffic towards that and attach Suricata to that one. It should help to narrow it down if it’s directly related to the NIC.

How to reproduce? In my experience, 1: something wrong makes reassemble-gaps, means losted packets in app layer, that will make uri not seen. 2: multi queue lets response packet come before request, libhtp will remain a hole for request in req-res pair, to verify, replay pcap in single mode.

The problem happened again and I found out that my machine was single-queued:

suricata log:


I read the package via tcpreplay and suricata -r and the url is correct, I’m confused

@Andreas_Herz @vjulien @antsknows

Can you help me, please :smile:

Can you reproduce it with a .pcap and when you read it via -r into Suricata?