blob: b6b271d13aea1e1cf3ac00daae07a3fe20cd1fe6 [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
Jan Engelhardt2b253f42010-06-04 12:51:24 +020010Set the offset up to which should be scanned. That is, byte \fIoffset\fP-1
11(counting from 0) is the last one that is scanned.
12If not passed, default is the packet size.
Pablo Neira014a48f2006-01-03 11:50:16 +000013.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010014[\fB!\fP] \fB\-\-string\fP \fIpattern\fP
Pablo Neira014a48f2006-01-03 11:50:16 +000015Matches the given pattern.
Jan Engelhardt9b488b92008-06-08 19:11:51 +020016.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +010017[\fB!\fP] \fB\-\-hex\-string\fP \fIpattern\fP
Pablo Neira014a48f2006-01-03 11:50:16 +000018Matches the given pattern in hex notation.