]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: http_start sticky buffer
authorVictor Julien <victor@inliniac.net>
Tue, 20 Dec 2016 13:04:55 +0000 (14:04 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 16 Feb 2017 09:35:41 +0000 (10:35 +0100)
commit1087495d6dccea7211e0a454ef9d994d7b05a7b5
treec2c66da0208a3f1bb18d98e05ddf8bededd94e2d
parent36535efa04b68fb687d0f60424aa00471ed3bf94
detect: http_start sticky buffer

Matches on the start of a HTTP request or response.

Uses a buffer constructed from the request line and normalized request
headers, including the Cookie header.

Or for the response side, it uses the response line plus the
normalized response headers, including the Set-Cookie header.

Both buffers are terminated by an extra \r\n.
src/Makefile.am
src/detect-http-start.c [new file with mode: 0644]
src/detect-http-start.h [new file with mode: 0644]
src/detect.c
src/detect.h