Feature #9150
openlibsuricata: support stream input without synthetic packets
Description
Library users should be able to feed already-reassembled application data into Suricata without constructing synthetic TCP/IP packets or emulating TCP state.
This is useful for proxies, ICAP services, and other applications that already handle transport and may expose decrypted content. Today, integrations such as `icapsuricata` synthesize packets to access Suricata's application-layer parsing and detection.
The use case is already noted in #2693: Philippe Antoine's 2022-11-11 comment lists "Have some already reassembled stream (SSL proxy)". The [icapsuricata discussion](https://forum.suricata.io/t/6357/3) provides a concrete request for stream-oriented ingestion.
JI Updated by Jason Ish 2 months ago
- Related to Task #2693: tracking: libsuricata added
JI Updated by Jason Ish about 1 month ago
- Status changed from New to Triaged
I wonder if some helper functions to create TCP sessions from a stream of non-packet data would be helpful until we have a better solution for this. Could probably be done for 9, or even as a standalone lib.