]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http2: document HTTP1 keywords enabling 6344/head
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 5 Jul 2021 07:40:23 +0000 (09:40 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 6 Sep 2021 10:36:37 +0000 (12:36 +0200)
For HTTP signatures to match on HTTP2 traffic if configure
option app-layer.protocols.http2.http1-rules is enabled

doc/userguide/configuration/suricata-yaml.rst
suricata.yaml.in

index a4fcd75fc0c65d7e6feeac1074f97715a7aa650d..02d7f8e06e89984705f3d9649a999bc8b28b1a9a 100644 (file)
@@ -1387,6 +1387,13 @@ the app-layer event ``http.compression_bomb`` is set
 (this event can also set from other conditions).
 This can happen on slow configurations (hardware, ASAN, etc...)
 
+HTTP2
+-----
+
+HTTP keywords can be enabled to match on HTTP1 traffic.
+To do so, you should set ``app-layer.protocols.http2.http1-rules``.
+In this case, you cannot have HTTP1-only rules.
+
 Configure SMB (Rust)
 ~~~~~~~~~~~~~~~~~~~~
 
index 0148c178aa2014a23ee869f67dd021833eacd50a..8b4e123d39a28168ee8abe8e820483b10185c1aa 100644 (file)
@@ -766,6 +766,8 @@ app-layer:
     # HTTP2: Experimental HTTP 2 support. Disabled by default.
     http2:
       enabled: no
+      # use http keywords on HTTP2 traffic
+      http1-rules: no
     smtp:
       enabled: yes
       raw-extraction: no