From: Russ Combs (rucombs) Date: Tue, 2 Aug 2016 14:05:32 +0000 (-0400) Subject: Merge pull request #574 in SNORT/snort3 from documentation_error to master X-Git-Tag: 3.0.0-233~320 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1009f844c907ef26487d40bfb7a4e92fcadc5a2b;p=thirdparty%2Fsnort3.git Merge pull request #574 in SNORT/snort3 from documentation_error to master Squashed commit of the following: commit 85376a42339fd01d6fcc5ec99a68474006adea7f Author: allewi Date: Mon Aug 1 12:42:54 2016 -0400 updated documentation for ips_option files --- diff --git a/src/ips_options/ips_ack.cc b/src/ips_options/ips_ack.cc index bbd089256..e6f54f138 100644 --- a/src/ips_options/ips_ack.cc +++ b/src/ips_options/ips_ack.cc @@ -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 | min'" }, + "check if tcp ack value is 'value | min<>max | min'" }, { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } }; diff --git a/src/ips_options/ips_fragoffset.cc b/src/ips_options/ips_fragoffset.cc index 0ba6fa5c3..06c8cdf82 100644 --- a/src/ips_options/ips_fragoffset.cc +++ b/src/ips_options/ips_fragoffset.cc @@ -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 | min'" }, + "check if ip fragment offset value is 'value | min<>max | min'" }, { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } }; diff --git a/src/ips_options/ips_seq.cc b/src/ips_options/ips_seq.cc index 27295a5e4..b677490a8 100644 --- a/src/ips_options/ips_seq.cc +++ b/src/ips_options/ips_seq.cc @@ -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 | min'" }, + "check if tcp sequence number value is 'value | min<>max | min'" }, { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } }; diff --git a/src/ips_options/ips_tos.cc b/src/ips_options/ips_tos.cc index 77f7aa9c1..f8b312cb1 100644 --- a/src/ips_options/ips_tos.cc +++ b/src/ips_options/ips_tos.cc @@ -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 | min'" }, + "check if ip tos value is 'value | min<>max | min'" }, { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } }; diff --git a/src/ips_options/ips_ttl.cc b/src/ips_options/ips_ttl.cc index 9baca92cb..8b75f8ee2 100644 --- a/src/ips_options/ips_ttl.cc +++ b/src/ips_options/ips_ttl.cc @@ -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 | min'" }, + "check if ip ttl field value is 'value | min<>max | min'" }, { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } }; diff --git a/src/ips_options/ips_window.cc b/src/ips_options/ips_window.cc index 8cd32a0fa..21cd06c2a 100644 --- a/src/ips_options/ips_window.cc +++ b/src/ips_options/ips_window.cc @@ -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 | min'" }, + "check if tcp window field size is 'size | min<>max | min'" }, { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } };