Actions
Bug #8966
closed
AB
AB
ftp: incorrect reply logged on empty response message
Bug #8966:
ftp: incorrect reply logged on empty response message
Affected Versions:
Effort:
Difficulty:
Label:
Description
I have a pcap where the server answers QUIT with a status code and an empty message. The bytes on the wire are exactly 221 \r\n — three digit code, one space separator, zero-length message.
Suricata 8.0.6 logs that transaction as:
{"command": "QUIT", "reply": ["221"], "reply_received": "yes", "reply_truncated": false}
No completion_code, and the code itself ends up in reply. 7.0.13 on the same pcap logs completion_code: ["221"].
I have fix I will suggest in a dedicated MR
PA Updated by Philippe Antoine 2 months ago
- Status changed from New to In Review
- Assignee set to Amir Boussejra
- Target version changed from TBD to 9.0.0-beta1
PA Updated by Philippe Antoine about 2 months ago
- Status changed from In Review to Resolved
PA Updated by Philippe Antoine about 2 months ago
- Label Needs backport to 8.0 added
OT Updated by OISF Ticketbot about 2 months ago
- Subtask #9159 added
OT Updated by OISF Ticketbot about 2 months ago
- Label deleted (
Needs backport to 8.0)
JI Updated by Jason Ish about 1 month ago
- Status changed from Resolved to Closed
SB Updated by Shivani Bhardwaj about 1 month ago
- Subject changed from ftp: completion_code missing and code logged as reply when the response message is empty in to ftp: incorrect reply logged on empty response message
Actions