]> git.ipfire.org Git - thirdparty/suricata.git/commit
hsbd: inspect buffer depending on the engine mode
authorGiuseppe Longo <giuseppelng@gmail.com>
Mon, 11 May 2015 17:48:32 +0000 (19:48 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 18 Jun 2015 06:56:38 +0000 (08:56 +0200)
commit8f1998e35fc5e58b701f3973f68d9cf0804b1a73
treea4189367615f9b68fec565257837e684b2af8763
parenta459376d2e0e04937cdf603b5d8d8c86549ce2bf
hsbd: inspect buffer depending on the engine mode

Currently, data is buffered up to response-body-minimal size
and response-body-inspect-window before being inspected.
With this, in IPS mode, inspect data as it comes in up.

The sliding window concept is used here,
some data chunks are copied into the window (buffer)
then it's inspected.
src/detect-engine-hsbd.c