mirror of https://github.com/OISF/suricata
app-layer: add flow accessors for probing parsers
Probing parsers written in Rust cannot look into the Flow, which is opaque to them. Add SCFlowGetAppProtocolToClient() to get the protocol detected on the to-client side, and SCAppLayerProtoDetectGetStreamDataSize() to get the amount of stream data available for protocol detection in a given direction. These are needed by the IMAP probing parser to tell IMAP apart from FTP on "USER CAPABILITY". Ticket #8276pull/16515/head
parent
9a37bb659b
commit
67f2f243f7
Loading…
Reference in New Issue