]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: http_header_names sticky buffer keyword
authorVictor Julien <victor@inliniac.net>
Mon, 19 Dec 2016 10:25:58 +0000 (11:25 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 16 Feb 2017 09:35:41 +0000 (10:35 +0100)
commitaaeeae0722ffdd91221518a6a2b7ef903cc7ef10
treec9c4ba0de0f273b0818483e7b836f18b88b48a40
parentcf9678d926f4e09d962ac1dee1cd808786ccf8cb
detect: http_header_names sticky buffer keyword

A sticky buffer that allows content inspection on a contructed buffer
of HTTP header names. The buffer starts with \r\n, the names are
separated by \r\n and the end of the buffer contains an extra \r\n.

E.g. \r\nHost\r\nUser-Agent\r\n\r\n

The leading \r\n is to make sure one can match on a full name in all
cases.
src/Makefile.am
src/detect-http-header-names.c [new file with mode: 0644]
src/detect-http-header-names.h [new file with mode: 0644]
src/detect.c
src/detect.h