Project

General

Profile

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

Added by Lukas Sismis over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.


Related issues 1 (0 open1 closed)

Related to Suricata - Bug #5934: app-layer-htp: Condition depending on enabled IPS mode never true (6.0.x backport)ClosedLukas SismisActions

VJ Updated by Victor Julien over 3 years ago Actions #2

  • Priority changed from Normal to High

VJ Updated by Victor Julien over 3 years ago Actions #3

  • Status changed from New to In Review

VJ Updated by Victor Julien about 3 years ago Actions #4

  • Status changed from In Review to Closed
  • Priority changed from High to Normal

VJ Updated by Victor Julien about 3 years ago Actions #5

@Lukas Sismis is this an issue in 6 as well?

LS Updated by Lukas Sismis about 3 years ago Actions #6

  • Label Needs backport to 6.0 added

@Victor Julien yes, this is also in 6. Adding a label "Needs backport to 6.0" and will start working on it.

VJ Updated by Victor Julien about 3 years ago Actions #7

  • Status changed from Closed to Resolved

OT Updated by OISF Ticketbot about 3 years ago Actions #8

  • Subtask #5934 added

OT Updated by OISF Ticketbot about 3 years ago Actions #9

  • Label deleted (Needs backport to 6.0)

VJ Updated by Victor Julien about 3 years ago Actions #10

  • Subtask deleted (#5934)

VJ Updated by Victor Julien about 3 years ago Actions #11

  • Related to Bug #5934: app-layer-htp: Condition depending on enabled IPS mode never true (6.0.x backport) added

VJ Updated by Victor Julien about 3 years ago Actions #12

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom