]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: document tcp.mss keyword
authorVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 13:05:51 +0000 (15:05 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 21 Jun 2019 05:16:16 +0000 (07:16 +0200)
doc/userguide/rules/header-keywords.rst

index edffbc4d027db243e9c4ba46e047cdca752cd299..c53f870c9e1a3fddef311234ba75316951969a3f 100644 (file)
@@ -328,6 +328,24 @@ Example of window in a rule:
 
     alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"GPL DELETED typot trojan traffic"; flow:stateless; flags:S,12; :example-rule-emphasis:`window:55808;` reference:mcafee,100406; classtype:trojan-activity; sid:2182; rev:8;)
 
+tcp.mss
+^^^^^^^
+
+Match on the TCP MSS option value. Will not match if the option is not
+present.
+
+The format of the keyword::
+
+  tcp.mss:<min>-<max>;
+  tcp.mss:[<|>]<number>;
+  tcp.mss:<value>;
+
+Example rule:
+
+.. container:: example-rule
+
+    alert tcp $EXTERNAL_NET any -> $HOME_NET any (flow:stateless; flags:S,12; :example-rule-emphasis:`tcp.mss:<536;` sid:1234; rev:5;)
+
 ICMP keywords
 -------------