Project

General

Profile

Actions

Feature #3487

closed

mime: multi-part parser in Rust

Added by Victor Julien almost 5 years ago. Updated 6 months ago.

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

Description

Implement a multi-part parser in Rust for use in the HTTP parser. It should be generic enough that other parts of the engine can also use it w/o too many changes.


Subtasks 3 (0 open3 closed)

Bug #6185: smtp: use every byte to compute email.body_md5ClosedPhilippe AntoineActions
Bug #6192: smtp: use every byte to compute email.body_md5 (6.0.x backport)ClosedPhilippe AntoineActions
Feature #6367: SMTP: do not delay mime chunk processingClosedPhilippe AntoineActions

Related issues 9 (4 open5 closed)

Related to Suricata - Feature #2696: http: implement parser in rustIn ProgressPhilippe AntoineActions
Related to Suricata - Optimization #2979: replace mime decoder with rust based implementationRejectedPhilippe AntoineActions
Related to Suricata - Bug #5725: smtp: quoted-printable encoding skips empty lines in filesClosedPhilippe AntoineActions
Related to Suricata - Feature #776: rules: Add smtp_envelope and smtp_header keywordsAssignedOISF DevActions
Related to Suricata - Task #4098: smtp: convert parser to RustAssignedPhilippe AntoineActions
Related to Suricata - Bug #6815: util/decode-mime: Possible derefernce of nullptrClosedAlexey SimakovActions
Related to Suricata - Bug #7059: smtp: split name logged as 2 namesClosedPhilippe AntoineActions
Blocked by Suricata - Bug #5952: http: multipart data is not filled up to request.body-limitClosedPhilippe AntoineActions
Blocks Suricata - Story #7140: protocols: C to Rust conversionsNewVictor JulienActions
Actions #1

Updated by Victor Julien almost 5 years ago

Actions #2

Updated by Victor Julien over 4 years ago

  • Target version changed from 6.0.0beta1 to 7.0.0-beta1
Actions #3

Updated by Victor Julien about 4 years ago

This might be done using the libhtp2 (rust libhtp) work underway. Libhtp contains a multipart parser I think, so this rust conversion would have this as well?

Actions #4

Updated by Philippe Antoine over 2 years ago

See HTTP and SMTP

Actions #5

Updated by Victor Julien over 2 years ago

  • Target version changed from 7.0.0-beta1 to 8.0.0-beta1
Actions #6

Updated by Victor Julien over 2 years ago

  • Priority changed from Normal to High
Actions #7

Updated by Philippe Antoine over 2 years ago

  • Status changed from Assigned to In Progress
Actions #8

Updated by Philippe Antoine about 2 years ago

  • Related to Optimization #2979: replace mime decoder with rust based implementation added
Actions #9

Updated by Philippe Antoine about 2 years ago

  • Related to Bug #5725: smtp: quoted-printable encoding skips empty lines in files added
Actions #11

Updated by Philippe Antoine almost 2 years ago

  • Status changed from In Progress to In Review
Actions #12

Updated by Philippe Antoine over 1 year ago

  • Blocked by Bug #5952: http: multipart data is not filled up to request.body-limit added
Actions #14

Updated by Philippe Antoine over 1 year ago

  • Subtask #6185 added
Actions #15

Updated by Philippe Antoine over 1 year ago

  • Related to Feature #776: rules: Add smtp_envelope and smtp_header keywords added
Actions #16

Updated by Philippe Antoine over 1 year ago

  • Subtask #6367 added
Actions #17

Updated by Philippe Antoine 11 months ago

  • Related to Task #4098: smtp: convert parser to Rust added
Actions #18

Updated by Philippe Antoine 10 months ago

  • Related to Bug #6815: util/decode-mime: Possible derefernce of nullptr added
Actions #19

Updated by Philippe Antoine 7 months ago

  • Related to Bug #7059: smtp: split name logged as 2 names added
Actions #20

Updated by Philippe Antoine 7 months ago

  • Status changed from In Review to Closed
Actions #21

Updated by Victor Julien 6 months ago

  • Subject changed from multi-part parser in Rust to mime: multi-part parser in Rust
Actions #22

Updated by Victor Julien 6 months ago

  • Blocks Story #7140: protocols: C to Rust conversions added
Actions

Also available in: Atom PDF