X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extensions%2Flibipt_string.man;fp=extensions%2Flibipt_string.man;h=3f3e5b79f574b8f38f065d012ed57fd0eab00d7c;hb=5aa051d09fae870c8b4023bad2951eeed0067e35;hp=0000000000000000000000000000000000000000;hpb=6792e289921dae5ca92bacbf6a0fd3b9b71d0def;p=iptables.git 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.