Project

General

Profile

Actions

Bug #4451

closed

ipv6 & ftp & passive mode & error

Added by Jeff Lucovsky over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
high
Difficulty:
low
Label:

Description

When the incoming data is "229 Entering Extended Passive Mode (|||495…
…88|)", an Incomplete error will be generated.

The reason for the problem is that "tag!("|).")" is matched first.
Reference link: https://docs.rs/nom/4.0.0/nom/macro.alt.html

Source file : rust/src/ftp/mod.rs

The following modification is helpful to solve this problem.


Files

clipboard-202104271130-mpy4m.png (57.6 KB) clipboard-202104271130-mpy4m.png yida zhang, 04/27/2021 03:30 AM

Related issues 1 (0 open1 closed)

Copied from Suricata - Bug #4447: ipv6 & ftp & passive mode & errorClosedPhilippe AntoineActions
Actions #1

Updated by Jeff Lucovsky over 3 years ago

  • Copied from Bug #4447: ipv6 & ftp & passive mode & error added
Actions #2

Updated by Jeff Lucovsky over 3 years ago

  • Status changed from Assigned to In Progress

Cherry-pick(s):
- ca6e434e0b84dc8478763dc0a8716c5e3686a99a

Actions #3

Updated by Jeff Lucovsky over 3 years ago

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

Updated by Jeff Lucovsky over 3 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF