]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: checking validity of rules with http protocol
authorPhilippe Antoine <contact@catenacyber.fr>
Fri, 28 Jan 2022 13:02:32 +0000 (14:02 +0100)
committerVictor Julien <vjulien@oisf.net>
Fri, 28 Jan 2022 17:53:08 +0000 (18:53 +0100)
commitbf30eb344a851889d468f5caba75ad538e99143c
tree7d0ddddba06cc18253f97a91fc31c11798b98986
parentb53fced45254ca267e75ea7e8c60afab82ea1e08
detect: checking validity of rules with http protocol

We want to check that a rule beginning with alert http
can be valid, that is if either HTTP1 or HTTP2 is enabled.
So, AppLayerProtoDetectGetProtoName will do a more complex
check for this ALPROTO_HTTP (any).
src/app-layer-detect-proto.c