]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #574 in SNORT/snort3 from documentation_error to master
authorRuss Combs (rucombs) <rucombs@cisco.com>
Tue, 2 Aug 2016 14:05:32 +0000 (10:05 -0400)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Tue, 2 Aug 2016 14:05:32 +0000 (10:05 -0400)
Squashed commit of the following:

commit 85376a42339fd01d6fcc5ec99a68474006adea7f
Author: allewi <allewi@cisco.com>
Date:   Mon Aug 1 12:42:54 2016 -0400

    updated documentation for ips_option files

src/ips_options/ips_ack.cc
src/ips_options/ips_fragoffset.cc
src/ips_options/ips_seq.cc
src/ips_options/ips_tos.cc
src/ips_options/ips_ttl.cc
src/ips_options/ips_window.cc

index bbd089256dc2ddf593d3dfdfa92ea940b9a8e963..e6f54f138a9b213ce5bc1365bc32cf29f331539e 100644 (file)
@@ -107,7 +107,7 @@ int TcpAckOption::eval(Cursor&, Packet* p)
 static const Parameter s_params[] =
 {
     { "~range", Parameter::PT_STRING, nullptr, nullptr,
-      "check if packet payload size is 'size | min<>max | <max | >min'" },
+      "check if tcp ack value is 'value | min<>max | <max | >min'" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
 };
index 0ba6fa5c33b387642874ff6ce7cf1a123c15c446..06c8cdf822aceaf195c504aea178b58eed4cccea 100644 (file)
@@ -105,7 +105,7 @@ int FragOffsetOption::eval(Cursor&, Packet* p)
 static const Parameter s_params[] =
 {
     { "~range", Parameter::PT_STRING, nullptr, nullptr,
-      "check if packet payload size is 'size | min<>max | <max | >min'" },
+      "check if ip fragment offset value is 'value | min<>max | <max | >min'" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
 };
index 27295a5e4f34861cb1cad21eee591cba14b5dd8f..b677490a89031d1563c74df12668a7bc8106f0ca 100644 (file)
@@ -100,7 +100,7 @@ int TcpSeqOption::eval(Cursor&, Packet* p)
 static const Parameter s_params[] =
 {
     { "~range", Parameter::PT_STRING, nullptr, nullptr,
-      "check if packet payload size is 'size | min<>max | <max | >min'" },
+      "check if tcp sequence number value is 'value | min<>max | <max | >min'" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
 };
index 77f7aa9c1c04c827efaa1149d253ceb11cd81b1a..f8b312cb12fbcf236bd35522cf35b2ca9c9c987d 100644 (file)
@@ -102,7 +102,7 @@ int IpTosOption::eval(Cursor&, Packet* p)
 static const Parameter s_params[] =
 {
     { "~range", Parameter::PT_STRING, nullptr, nullptr,
-      "check if packet payload size is 'size | min<>max | <max | >min'" },
+      "check if ip tos value is 'value | min<>max | <max | >min'" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
 };
index 9baca92cb349af5e95192faaee31ac64032da0c7..8b75f8ee297e6f390e97b8c1aaf2c5bb5e08392c 100644 (file)
@@ -100,7 +100,7 @@ int TtlOption::eval(Cursor&, Packet* p)
 static const Parameter s_params[] =
 {
     { "~range", Parameter::PT_STRING, nullptr, nullptr,
-      "check if packet payload size is 'size | min<>max | <max | >min'" },
+      "check if ip ttl field value is 'value | min<>max | <max | >min'" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
 };
index 8cd32a0fabea4ba9f0ac3ce379ea06c430848bc4..21cd06c2a34158bf69cacdd15eeb84d52b896eb4 100644 (file)
@@ -100,7 +100,7 @@ int TcpWinOption::eval(Cursor&, Packet* p)
 static const Parameter s_params[] =
 {
     { "~range", Parameter::PT_STRING, nullptr, nullptr,
-      "check if packet payload size is 'size | min<>max | <max | >min'" },
+      "check if tcp window field size is 'size | min<>max | <max | >min'" },
 
     { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
 };