]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: http.host keyword note for matching on port
authorjason taylor <jtfas90@gmail.com>
Wed, 26 Aug 2020 17:25:23 +0000 (13:25 -0400)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Sep 2020 10:40:53 +0000 (12:40 +0200)
Signed-off-by: jason taylor <jtfas90@gmail.com>
doc/userguide/rules/http-keywords.rst

index da5529c796a4c75243ae1f578e7ac2a0a84f9748..7327e12cc20c18a7cc2dffe4f5c18d29343f1a5a 100644 (file)
@@ -648,6 +648,10 @@ to specify a lowercase pattern.
 Notes
 ~~~~~
 
+-  ``http.host`` does not contain the port associated with
+   the host (i.e. abc.com:1234). To match on the host and port
+   or negate a host and port use ``http.host.raw``.
+
 -  The ``http.host`` and ``http.host.raw`` buffers are populated
    from either the URI (if the full URI is present in the request like
    in a proxy request) or the HTTP Host header. If both are present, the