Project

General

Profile

Actions

Optimization #4908

open

ftp: use AppLayerResult instead of buffering wherever possible

Added by Shivani Bhardwaj 10 months ago. Updated 6 months ago.

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

Description

Use AppLayerResult https://github.com/OISF/suricata/blob/master/src/app-layer-parser.h#L84-L98 instead of buffering the data.
If the length of the required incomplete data is not known, return 1 from AppLayerResult::incomplete to indicate that at least one more byte is required by the parser if it's available.


Related issues 2 (1 open1 closed)

Related to Optimization #4907: smtp: use AppLayerResult instead of buffering wherever possibleClosedShivani BhardwajActions
Blocks Feature #4906: ftp: add stream app-layer frame support AssignedShivani BhardwajActions
Actions #1

Updated by Victor Julien 10 months ago

  • Related to Optimization #4907: smtp: use AppLayerResult instead of buffering wherever possible added
Actions #2

Updated by Victor Julien 10 months ago

  • Blocks Feature #4906: ftp: add stream app-layer frame support added
Actions #3

Updated by Sam Muhammed 8 months ago

  • Status changed from Assigned to In Progress
Actions #4

Updated by Victor Julien 6 months ago

  • Status changed from In Progress to Assigned
  • Assignee changed from Sam Muhammed to Shivani Bhardwaj
Actions

Also available in: Atom PDF