Project

General

Profile

Actions

Bug #4447

closed

ipv6 & ftp & passive mode & error

Added by yida zhang almost 3 years ago. Updated almost 3 years 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 2 (0 open2 closed)

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

Updated by Philippe Antoine almost 3 years ago

  • Status changed from New to In Progress
  • Target version set to 7.0.0-beta1
  • Affected Versions 6.0.2 added
  • Affected Versions deleted (4.1.6)
Actions #2

Updated by Philippe Antoine almost 3 years ago

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

Updated by Philippe Antoine almost 3 years ago

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

Updated by Jeff Lucovsky almost 3 years ago

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

Updated by Jeff Lucovsky almost 3 years ago

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

Also available in: Atom PDF