Project

General

Profile

Actions

Bug #4663

closed
VJ VJ

rules: drop rules with noalert not fully dropping

Bug #4663: rules: drop rules with noalert not fully dropping

Added by Victor Julien over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport to 5.0, Needs backport to 6.0

Description

A simple drop rules like drop tcp any any -> any any (noalert; sid:1; rev:1;) fails to drop packets beyond the first in each direction of the flow.

The cause is that the rule is just evaluated once per flow direction, by the "IP-only" detection path. In this case the 'noalert' presence causes the drop not to be applied to the flow.


Related issues 5 (0 open5 closed)

Related to Suricata - Bug #4670: rules: mix of drop and pass rules issuesClosedVictor JulienActions
Related to Suricata - Bug #4941: alerts: 5.0.8/6.0.4 count noalert sigs towards built-in alert limitClosedJuliana Fajardini ReichowActions
Related to Suricata - Bug #3083: DROP rule with "noalert" ClosedJuliana Fajardini ReichowActions
Copied to Suricata - Bug #4675: rules: drop rules with noalert not fully droppingClosedVictor JulienActions
Copied to Suricata - Bug #4676: rules: drop rules with noalert not fully droppingClosedVictor JulienActions

VJ Updated by Victor Julien over 4 years ago Actions #1

  • Status changed from In Progress to In Review

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

  • Related to Bug #4670: rules: mix of drop and pass rules issues added

JL Updated by Jeff Lucovsky over 4 years ago Actions #3

  • Copied to Bug #4675: rules: drop rules with noalert not fully dropping added

JL Updated by Jeff Lucovsky over 4 years ago Actions #4

  • Copied to Bug #4676: rules: drop rules with noalert not fully dropping added

VJ Updated by Victor Julien over 4 years ago Actions #5

  • Status changed from In Review to Closed

VJ Updated by Victor Julien over 4 years ago Actions #6

  • Related to Bug #4941: alerts: 5.0.8/6.0.4 count noalert sigs towards built-in alert limit added

JF Updated by Juliana Fajardini Reichow about 2 months ago Actions #7

  • Related to Bug #3083: DROP rule with "noalert" added
Actions

Also available in: PDF Atom