Project

General

Profile

Actions

Bug #7653

open

ips: deconflict pass flow and drop packet rules

Added by Victor Julien 17 days ago. Updated 8 days ago.

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

Description

drop tcp [10.0.0.0/16] any -> any any (flow: to_server, established; sid:1;)
pass tls any any -> any any (ssl_state:client_hello; tls.sni; content:"google.com"; dotprefix; nocase; flow: to_server, established; sid:2;)

If on the client hello packet both rules match, the drop action is applied to the packet. However since the match of sid 1 isn't terminating, the flow action from sid 2 is also applied.

I broadly see 2 options:
- just stop after the first drop match
- deconflict, so if a drop rule matched first, ignore pass rules


Subtasks 1 (1 open0 closed)

Bug #7663: ips: deconflict pass flow and drop packet rules (7.0.x backport)AssignedVictor JulienActions
Actions #1

Updated by Victor Julien 8 days ago

  • Status changed from Assigned to Resolved
  • Label Needs backport to 7.0 added
Actions #2

Updated by OISF Ticketbot 8 days ago

  • Subtask #7663 added
Actions #3

Updated by OISF Ticketbot 8 days ago

  • Label deleted (Needs backport to 7.0)
Actions

Also available in: Atom PDF