Project

General

Profile

Feature #2916

FTP decoder should have Rust port parsers

Added by Jeff Lucovsky 6 months ago. Updated 23 days ago.

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

Description

Feature 2459 and bug 2527 added support for FTP active mode.

That created 2 new functions to process the command lines associated with PORT and EPRT in active mode.

The new functions are
1. FTPGetV6PortNumber
2. FTPGetV4PortNumber

The existing functions for parsing the port number in passive mode have Rust language equivalents. These are:
1. FTPParsePassiveResponseV6 (Rust: rs_ftp_epsv_response)
2. FTPParsePassiveResponse (Rust: rs_ftp_pasv_response)

The new functions should have Rust equivalents for parsing the command line.

History

#1

Updated by Andreas Herz 4 months ago

  • Assignee set to Jeff Lucovsky
  • Target version set to TBD
#2

Updated by Victor Julien about 2 months ago

  • Status changed from New to Assigned
  • Target version changed from TBD to 5.0rc1
#3

Updated by Jeff Lucovsky 23 days ago

FTP Active mode:

IPv4 format:

PORT 192,168,0,13,234,10

IPv6 format:

EPRT |2|2a01:e34:ee97:b130:8c3e:45ea:5ac6:e301|41813|

FTP Passive Mode:

IPv4 format:

227 Entering Passive Mode (212,27,32,66,221,243)

IPv6 format:

229 Entering Extended Passive Mode (|||48758|).

Also available in: Atom PDF