]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: ssh.{proto,software} documentation update
authorJeff Lucovsky <jeff@lucovsky.org>
Sun, 7 Apr 2019 15:36:51 +0000 (08:36 -0700)
committerVictor Julien <victor@inliniac.net>
Mon, 8 Apr 2019 10:13:02 +0000 (12:13 +0200)
doc/userguide/rules/ssh-keywords.rst

index ac0d74ead1399978bf977f1e2e768e156ac57920..d8ac1495fc7aa106d8298490ae3c351fedcb36ad 100644 (file)
@@ -3,7 +3,7 @@ SSH Keywords
 
 Suricata comes with several rule keywords to match on SSH connections.
 
-ssh_proto
+ssh.proto
 ---------
 
 Match on the version of the SSH protocol used.
@@ -11,29 +11,37 @@ Match on the version of the SSH protocol used.
 Example::
 
   alert ssh any any -> any any (msg:"match SSH protocol version"; \
-      ssh_proto; content:"2.0"; sid:1000010;)
+      ssh.proto; content:"2.0"; sid:1000010;)
 
 The example above matches on SSH connections with SSH version 2.
 
-``ssh_proto`` is a 'Sticky buffer'.
+``ssh.proto`` is a 'Sticky buffer'.
 
-``ssh_proto`` can be used as ``fast_pattern``.
+``ssh.proto`` can be used as ``fast_pattern``.
 
-ssh_version
------------
+``ssh.proto`` replaces the previous keyword name: ```ssh_proto``. You may continue
+to use the previous name, but it's recommended that rules be converted to use
+the new name.
+
+ssh.software
+------------
 
 Match on the software string from the SSH banner.
 
 Example::
 
   alert ssh any any -> any any (msg:"match SSH software string"; \
-      ssh_software: content:"openssh"; nocase; sid:1000020;)
+      ssh.software: content:"openssh"; nocase; sid:1000020;)
 
 The example above matches on SSH connections where the software string contains "openssh".
 
-``ssh_software`` is a 'Sticky buffer'.
+``ssh.software`` is a 'Sticky buffer'.
+
+``ssh.software`` can be used as ``fast_pattern``.
 
-``ssh_software`` can be used as ``fast_pattern``.
+``ssh.software`` replaces the previous keyword name: ```ssh_software``. You may continue
+to use the previous name, but it's recommended that rules be converted to use
+the new name.
 
 ssh.protoversion
 ----------------