From 485992232f826226f112ebd59b3b107e4b827aa4 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org" Date: Tue, 3 Jan 2006 11:50:16 +0000 Subject: Add documentation for string match (Pablo Neira) --- extensions/libipt_string.man | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extensions/libipt_string.man (limited to 'extensions') diff --git a/extensions/libipt_string.man b/extensions/libipt_string.man new file mode 100644 index 0000000..3f3e5b7 --- /dev/null +++ b/extensions/libipt_string.man @@ -0,0 +1,15 @@ +This modules matches a given string by using some pattern matching strategy. It requires a linux kernel >= 2.6.14. +.TP +.BI "--algo " "bm|kmp" +Select the pattern matching strategy. (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris) +.TP +.BI "--from " "offset" +Set the offset from which it starts looking for any matching. If not passed, default is 0. +.TP +.BI "--to " "offset" +Set the offset from which it starts looking for any matching. If not passed, default is the packet size. +.TP +.BI "--string " "pattern" +Matches the given pattern. +.BI "--hex-string " "pattern" +Matches the given pattern in hex notation. -- cgit v1.2.3