blob: 01e15c2127e48fc76d54233bb65127c7d7094380 [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
Jan Engelhardt9b488b92008-06-08 19:11:51 +020012[\fB!\fP] \fB--string\fP \fIpattern\fP
Pablo Neira014a48f2006-01-03 11:50:16 +000013Matches the given pattern.
Jan Engelhardt9b488b92008-06-08 19:11:51 +020014.TP
15[\fB!\fP] \fB--hex-string\fP \fIpattern\fP
Pablo Neira014a48f2006-01-03 11:50:16 +000016Matches the given pattern in hex notation.