Project

General

Profile

Actions

Optimization #7018

closed
JF JF

Task #7026: app-protos: trigger raw stream inspection

dns/tcp: allow triggering raw stream reassembly

Optimization #7018: dns/tcp: allow triggering raw stream reassembly

Added by Juliana Fajardini Reichow almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

As seen with #7004, DNS over TCP transactions might not be seen by the stream detection engine until a later stage, unless the app-proto triggers the raw parsing of the stream once it knows there's enough data to be parsed.

This could lead to whole transactions being overseen: they're marked as inspected by DetectRunTx, then AppLayerParserTransactionsCleanup frees them, and once it's time to stream rules to match, earlier transactions may not exist for the detection engine any longer, or exist as an id only, but not be retrievable for alert metadata logging.

This is especially true if for some reason we have a DNS rule that doesn't use any DNS keywords, as to the engine this is a payload/stream-only rule.


Subtasks 1 (0 open1 closed)

Optimization #7075: dns/tcp: allow triggering raw stream reassembly (7.0.x backport)ClosedJuliana Fajardini ReichowActions

Related issues 4 (0 open4 closed)

Related to Suricata - Bug #7004: app-layer: wrong tx may be logged for stream rulesClosedShivani BhardwajActions
Related to Suricata - Documentation #7031: userguide: document SignatureProperties sigtypeClosedJuliana Fajardini ReichowActions
Related to Suricata - Bug #7000: pgsql: trigger raw stream reassemblyClosedJuliana Fajardini ReichowActions
Related to Suricata - Bug #7449: app-layer metadata does not get logged for stream rules and unidirectional protocolsClosedPhilippe AntoineActions

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #1

  • Related to Bug #7004: app-layer: wrong tx may be logged for stream rules added

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #2

  • Private changed from No to Yes

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #3

  • Parent task set to #7026

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #4

  • Subject changed from dns: allow triggering raw stream reassembly to dns/tcp: allow triggering raw stream reassembly
  • Description updated (diff)

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #5

  • Description updated (diff)

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #6

  • Description updated (diff)

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #7

  • Tracker changed from Task to Bug

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #8

  • Status changed from New to In Progress

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #9

  • Status changed from In Progress to In Review

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #10

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #11

  • Related to Bug #7000: pgsql: trigger raw stream reassembly added

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #12

  • Tracker changed from Bug to Optimization

Changing Tracker as per discussion with Philippe and Jason. If I understood it correctly.

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #14

  • Status changed from In Review to Closed

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #15

  • Status changed from Closed to Resolved
  • Label Needs backport to 7.0 added

OT Updated by OISF Ticketbot almost 2 years ago Actions #16

  • Subtask #7075 added

OT Updated by OISF Ticketbot almost 2 years ago Actions #17

  • Label deleted (Needs backport to 7.0)

JF Updated by Juliana Fajardini Reichow almost 2 years ago Actions #18

  • Private changed from Yes to No

VJ Updated by Victor Julien over 1 year ago Actions #19

  • Status changed from Resolved to Closed

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

Why is this closed but SV test task-7018-ids-dns-keywords does not pass ?

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #21

  • Related to Bug #7449: app-layer metadata does not get logged for stream rules and unidirectional protocols added
Actions

Also available in: PDF Atom