Project

General

Profile

Actions

Optimization #7044

open

applayer: clean up truncate callbacks and logic

Added by Juliana Fajardini Reichow 4 months ago. Updated about 2 months ago.

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

Description

Original :
It seems that when moving dcerpc to Rust (https://github.com/OISF/suricata/commit/bac69af7e4082d4829cd9aad5bdfd0b0d35070b9),
the callback/reference to rs_dcerpc_state_trunc ended up being missed (was here https://github.com/OISF/suricata/commit/8b2886635f2d69e302499971a1a0fde8b2099a50#diff-88368b0c2f03a908440ab63346e55e7561cc93233e0a5c0156959e122a783cbaR186)

Final : It was concluded that the entire truncate routine and callbacks were unneeded and this ended up being a cleanup instead of a bug.


Subtasks 1 (1 open0 closed)

Optimization #7046: applayer: clean up truncate callbacks and logic (7.0.x backport)AssignedShivani BhardwajActions
Actions #1

Updated by Shivani Bhardwaj 4 months ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Shivani Bhardwaj
Actions #2

Updated by Shivani Bhardwaj 3 months ago

  • Label Needs backport to 7.0 added
Actions #3

Updated by OISF Ticketbot 3 months ago

  • Subtask #7046 added
Actions #4

Updated by OISF Ticketbot 3 months ago

  • Label deleted (Needs backport to 7.0)
Actions #5

Updated by Shivani Bhardwaj 3 months ago

In Review PR: https://github.com/OISF/suricata/pull/11151

Thanks for the detailed analysis, @Juliana Fajardini Reichow :)

Actions #6

Updated by Shivani Bhardwaj 3 months ago

  • Status changed from Assigned to In Review
Actions #7

Updated by Juliana Fajardini Reichow 3 months ago

Shivani Bhardwaj wrote in #note-5:

In Review PR: https://github.com/OISF/suricata/pull/11151

Thanks for the detailed analysis, @Juliana Fajardini Reichow :)

No problems! Just wanted to make sure what I was reporting made sense xP

Actions #8

Updated by Shivani Bhardwaj 2 months ago

  • Description updated (diff)
Actions #9

Updated by Shivani Bhardwaj 2 months ago

  • Tracker changed from Bug to Optimization
  • Subject changed from dcerpc: missing call to truncate function to applayer: clean up truncate callbacks and logic
  • Description updated (diff)
  • Affected Versions deleted (7.0.5, git master)
Actions #10

Updated by Shivani Bhardwaj about 2 months ago

  • Status changed from In Review to Resolved
Actions

Also available in: Atom PDF