X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trunk%2Fextensions%2Flibxt_string.man;fp=trunk%2Fextensions%2Flibxt_string.man;h=01e15c2127e48fc76d54233bb65127c7d7094380;hb=65d1e3fdac47d3d758f6f018457c28d6f3f6306a;hp=0000000000000000000000000000000000000000;hpb=98c90cbcc6f660e13f9e7878bbb80dfc9d03ceae;p=iptables.git diff --git a/trunk/extensions/libxt_string.man b/trunk/extensions/libxt_string.man new file mode 100644 index 0000000..01e15c2 --- /dev/null +++ b/trunk/extensions/libxt_string.man @@ -0,0 +1,16 @@ +This modules matches a given string by using some pattern matching strategy. It requires a linux kernel >= 2.6.14. +.TP +\fB--algo\fP {\fBbm\fP|\fBkmp\fP} +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 +[\fB!\fP] \fB--string\fP \fIpattern\fP +Matches the given pattern. +.TP +[\fB!\fP] \fB--hex-string\fP \fIpattern\fP +Matches the given pattern in hex notation.