Project

General

Profile

Actions

Bug #2257

closed
RU VJ

rate_filter doesn't honor "timeout" if it is longer than "seconds" parameter

Bug #2257: rate_filter doesn't honor "timeout" if it is longer than "seconds" parameter

Added by Ruslan Usmanov about 9 years ago. Updated about 1 hour ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

When rate_filter set with "timeout" longer than "seconds" (which is common configuration, see example in http://suricata.readthedocs.io/en/latest/configuration/global-thresholds.html ), program restarts counting of detections when "seconds" expire after last detection, not when "timeout" expires.
In function ThresholdTimeoutCheck(), tv_timeout not taken into consideration, causing program to ignore this parameter and allowing the entry to expire.


Subtasks 1 (0 open — 1 closed)

Bug #9509: rate_filter doesn't honor "timeout" if it is longer than "seconds" parameter (8.0.x backport)ClosedVictor JulienActions

AH Updated by Andreas Herz about 9 years ago Actions #1

  • Assignee set to OISF Dev
  • Target version set to TBD

VJ Updated by Victor Julien almost 8 years ago Actions #2

Hi Ruslan, did you submit a fix for this ticket as well? I don't see the ticket number referenced in the commits you have in the tree.

RU Updated by Ruslan Usmanov almost 8 years ago Actions #3

Victor Julien wrote:

Hi Ruslan, did you submit a fix for this ticket as well? I don't see the ticket number referenced in the commits you have in the tree.

Hi Julien, sorry for delay in the answer, I don't think I fixed this issue, created the ticket in order to address it later.

AH Updated by Andreas Herz over 7 years ago Actions #4

  • Status changed from New to Feedback

Are you willing to submit a PR for that?

PA Updated by Philippe Antoine over 1 year ago Actions #5

  • Status changed from Feedback to New

PA Updated by Philippe Antoine over 1 year ago Actions #6

  • Status changed from New to Feedback

Is this still a problem in Suricata 8 ?
How can we reproduce ?

PA Updated by Philippe Antoine 4 months ago Actions #7

  • Label Needs Suricata-Verify test added

VJ Updated by Victor Julien 6 days ago Actions #8

  • Status changed from Feedback to In Progress
  • Assignee changed from OISF Dev to Victor Julien
  • Target version changed from TBD to 9.0.0-beta1
  • Label deleted (Needs Suricata-Verify test)

VJ Updated by Victor Julien 5 days ago Actions #9

  • Status changed from In Progress to In Review

JI Updated by Jason Ish 4 days ago Actions #11

  • Status changed from In Review to Closed

JI Updated by Jason Ish 4 days ago Actions #12

  • Label Needs backport to 8.0 added

JI Updated by Jason Ish 4 days ago Actions #13

  • Status changed from Closed to Resolved

OT Updated by OISF Ticketbot 4 days ago Actions #14

  • Subtask #9509 added

OT Updated by OISF Ticketbot 4 days ago Actions #15

  • Label deleted (Needs backport to 8.0)

JI Updated by Jason Ish about 1 hour ago Actions #16

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom