blob: 725f3ffa0069a99b257809203aafb1d170cbe0c9 [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
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01003\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
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01006\fB\-\-from\fP \fIoffset\fP
Pablo Neira014a48f2006-01-03 11:50:16 +00007Set the offset from which it starts looking for any matching. If not passed, default is 0.
8.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01009\fB\-\-to\fP \fIoffset\fP
Pablo Neira014a48f2006-01-03 11:50:16 +000010Set the offset from which it starts looking for any matching. If not passed, default is the packet size.
11.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010012[\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
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010015[\fB!\fP] \fB\-\-hex\-string\fP \fIpattern\fP
Pablo Neira014a48f2006-01-03 11:50:16 +000016Matches the given pattern in hex notation.