summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorPablo Neira <pablo@eurodev.net>2006-01-03 11:50:16 +0000
committerPatrick McHardy <kaber@trash.net>2006-01-03 11:50:16 +0000
commit014a48fb2ddc0552547a47530ac5c89bacdf9aa1 (patch)
tree756e2ccc62dd667ab0095ee7f46a5203396e9907 /extensions
parentf5b86e698be2f1f96c974a4af176269f5c677596 (diff)
Add documentation for string match (Pablo Neira)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libipt_string.man15
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/libipt_string.man b/extensions/libipt_string.man
new file mode 100644
index 00000000..3f3e5b79
--- /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.