Introduce content_len keyword
Add support for the content_len keyword.
Can be used as -
op - >, <, >=, <=, = ,!=,
no - unsigned integer
The content_len can be modified by the http_* modifiers.
content:"index"; http_uri; content_len:=,8; http_uri;
If no modifier is used, it would match on the packet payload length(which is the same as dsize)
I think the syntax should probably be more like urilen, filesize and dsize:
dsize:1; is exact match
urilen:5<>10; is a range
Like the concept. Think it makes sense to have a generic match for this.
Have almost completed this work, but I've used the operators like the way I've specified. Felt it was neater if one wants to specify equal_to or not_equal_to.
Will change it to the dsize format if needed.
- Status changed from New to Assigned
- Target version changed from TBD to 2.0rc2
- Target version changed from 2.0rc2 to 3.0RC2
- Target version changed from 3.0RC2 to TBD
- Assignee changed from Anoop Saldanha to OISF Dev
- Assignee changed from OISF Dev to Victor Julien
- Target version changed from TBD to Soon
- Status changed from Assigned to Closed
- Target version changed from Soon to 4.1beta1
Also available in: Atom