]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect-ssh-proto-version: add description and url to keyword
authorMats Klepsland <mats.klepsland@gmail.com>
Tue, 16 Oct 2018 20:00:07 +0000 (22:00 +0200)
committerMats Klepsland <mats.klepsland@gmail.com>
Tue, 16 Oct 2018 20:05:18 +0000 (22:05 +0200)
src/detect-ssh-proto-version.c

index 13a6b69111e0630ccf8b0ff608cfdc2d7448d277..978a63d7d8ff43aa24ca8c6d4614b8edb84596a8 100644 (file)
@@ -76,6 +76,8 @@ static int g_ssh_banner_list_id = 0;
 void DetectSshVersionRegister(void)
 {
     sigmatch_table[DETECT_AL_SSH_PROTOVERSION].name = "ssh.protoversion";
+    sigmatch_table[DETECT_AL_SSH_PROTOVERSION].desc = "match SSH protocol version";
+    sigmatch_table[DETECT_AL_SSH_PROTOVERSION].url = DOC_URL DOC_VERSION "/rules/ssh-keywords.html#ssh-protoversion";
     sigmatch_table[DETECT_AL_SSH_PROTOVERSION].AppLayerTxMatch = DetectSshVersionMatch;
     sigmatch_table[DETECT_AL_SSH_PROTOVERSION].Setup = DetectSshVersionSetup;
     sigmatch_table[DETECT_AL_SSH_PROTOVERSION].Free  = DetectSshVersionFree;