[netfilter-cvslog] r6342 - trunk/iptables/extensions

kaber at netfilter.org kaber at netfilter.org
Tue Jan 3 12:50:16 CET 2006


Author: kaber at netfilter.org
Date: 2006-01-03 12:50:16 +0100 (Tue, 03 Jan 2006)
New Revision: 6342

Added:
   trunk/iptables/extensions/libipt_string.man
Log:
Add documentation for string match (Pablo Neira)


Added: trunk/iptables/extensions/libipt_string.man
===================================================================
--- trunk/iptables/extensions/libipt_string.man	2006-01-03 11:29:44 UTC (rev 6341)
+++ trunk/iptables/extensions/libipt_string.man	2006-01-03 11:50:16 UTC (rev 6342)
@@ -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.




More information about the netfilter-cvslog mailing list