blob: 9e3b25c6d3222b62212115bc35d12f40eca2bb9f [file] [log] [blame]
Pablo Neira014a48f2006-01-03 11:50:16 +00001This modules matches a given string by using some pattern matching strategy. It requires a linux kernel >= 2.6.14.
2.TP
Patrick McHardy510aef92008-06-02 12:48:48 +02003\fB--algo\fP {\fBbm\fP|\fBkmp\fP}
Pablo Neira014a48f2006-01-03 11:50:16 +00004Select the pattern matching strategy. (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris)
5.TP
6.BI "--from " "offset"
7Set the offset from which it starts looking for any matching. If not passed, default is 0.
8.TP
9.BI "--to " "offset"
10Set the offset from which it starts looking for any matching. If not passed, default is the packet size.
11.TP
12.BI "--string " "pattern"
13Matches the given pattern.
14.BI "--hex-string " "pattern"
15Matches the given pattern in hex notation.