Actions
Bug #5706
closed
LS
LS
app-layer-htp: Condition depending on enabled IPS mode never true
Bug #5706:
app-layer-htp: Condition depending on enabled IPS mode never true
Affected Versions:
Effort:
Difficulty:
Label:
Description
When setting up HTP app layer in function HTPConfigParseParameters(), the function checks for enabled IPS mode. However, the function is called too early in the configuration process and IPS mode is not evaluated at that time. cfg_prec->http_body_inline then is always 0 when it should be equal to 1.
It is located in the file app-layer-htp.c at the line ~2864.
Actions