]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: add reference to ipaddr in IP matching
authorEric Leblond <el@stamus-networks.com>
Mon, 22 Aug 2022 21:46:01 +0000 (23:46 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 27 Oct 2022 07:44:20 +0000 (09:44 +0200)
doc/userguide/rules/datasets.rst
doc/userguide/rules/intro.rst
doc/userguide/rules/ipaddr.rst

index 0a5374d1c768436c5ddfbeceda9d914830e07660..5e08350b20c8a24ce2641a418ab83f4bed918967 100644 (file)
@@ -1,3 +1,5 @@
+.. _datasets:
+
 Datasets
 ========
 
index 8db71745432e8210aa7d5aca9550ed2f9bd34606..80e6919bfbd2e536d58e899de6db02b206f36bb6 100644 (file)
@@ -166,6 +166,11 @@ $HOME_NET                           Your setting of HOME_NET in yaml
    You cannot write a signature using ``$EXTERNAL_NET`` because it evaluates to
    'not any', which is an invalid value.
 
+.. note::
+
+   Please note that the source and destination address can also be matched via the ``ip.src`` and ``ip.dst`` keywords (See :ref:`ipaddr`). These
+   keywords are mostly used in conjuction with the dataset feature (:ref:`datasets`).
+
 Ports (source and destination)
 ------------------------------
 .. container:: example-rule
index a42657f326594b61f79a503c33309967497f9e4e..c4e1953b3cf0e6e3f81021facaf0142a9d1a1501 100644 (file)
@@ -1,3 +1,5 @@
+.. _ipaddr:
+
 IP Addresses Match
 ==================