mirror of https://github.com/OISF/suricata
ftp: log completion code when the response message is empty
A response line carrying a code but no message, such as "221 \r\n" sent by
some servers in reply to QUIT, was logged with no completion_code, and with
the code itself in the reply field:
{"command": "QUIT", "reply": ["221"], "reply_received": "yes"}
parse_response_line split caused problems on no response message and prevented good logging of completion code
Ticket: #8966
pull/16363/head
parent
e7b22ba5fe
commit
23ff7feebb
Loading…
Reference in New Issue