Project

General

Profile

Bug #4447

ipv6 & ftp & passive mode & error

Added by yida zhang about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
high
Difficulty:
low
Label:
Needs backport to 5.0, Needs backport to 6.0

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

Copied to Bug #4451: ipv6 & ftp & passive mode & errorClosedJeff LucovskyActions
Copied to Bug #4452: ipv6 & ftp & passive mode & errorClosedShivani BhardwajActions
#1

Updated by Philippe Antoine about 2 months ago

  • Status changed from New to In Progress
  • Target version set to 7.0rc1
  • Affected Versions 6.0.2 added
  • Affected Versions deleted (4.1.6)
#2

Updated by Philippe Antoine about 2 months ago

  • Label Needs backport to 5.0, Needs backport to 6.0 added
#3

Updated by Philippe Antoine about 2 months ago

  • Status changed from In Progress to In Review
#4

Updated by Jeff Lucovsky about 2 months ago

  • Copied to Bug #4451: ipv6 & ftp & passive mode & error added
#5

Updated by Jeff Lucovsky about 2 months ago

  • Copied to Bug #4452: ipv6 & ftp & passive mode & error added

Also available in: Atom PDF