| Pablo Neira | 014a48f | 2006-01-03 11:50:16 +0000 | [diff] [blame] | 1 | This modules matches a given string by using some pattern matching strategy. It requires a linux kernel >= 2.6.14. |
| 2 | .TP |
| Patrick McHardy | 510aef9 | 2008-06-02 12:48:48 +0200 | [diff] [blame^] | 3 | \fB--algo\fP {\fBbm\fP|\fBkmp\fP} |
| Pablo Neira | 014a48f | 2006-01-03 11:50:16 +0000 | [diff] [blame] | 4 | Select the pattern matching strategy. (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris) |
| 5 | .TP |
| 6 | .BI "--from " "offset" |
| 7 | Set the offset from which it starts looking for any matching. If not passed, default is 0. |
| 8 | .TP |
| 9 | .BI "--to " "offset" |
| 10 | Set the offset from which it starts looking for any matching. If not passed, default is the packet size. |
| 11 | .TP |
| 12 | .BI "--string " "pattern" |
| 13 | Matches the given pattern. |
| 14 | .BI "--hex-string " "pattern" |
| 15 | Matches the given pattern in hex notation. |