Next: Format
Up: Payload Detection Rule Options
Previous: Format
Contents
offset
The offset keyword allows the rule writer to specify where to start searching
for a pattern within a packet. offset modifies the previous 'content' keyword
in the rule.
An offset of 5 would tell Snort to start looking for the specified pattern
after the first 5 bytes of the payload.
As this keyword is a modifier to the previous 'content' keyword, there must be
a content in the rule before 'offset' is specified.
See Figure for an example of a
combined content, offset, and depth search rule.
Subsections
Steven Sturges
2007-10-04
|