46 #define KEYWORD_NAME "ftp.command_data"
47 #define KEYWORD_DOC "ftp-keywords.html#ftp-command_data"
48 #define BUFFER_NAME "ftp.command_data"
49 #define BUFFER_DESC "ftp command_data"
51 static int g_ftp_cmd_data_buffer_id = 0;
64 static bool DetectFTPCommandDataGetData(
65 const void *txv,
const uint8_t _flow_flags,
const uint8_t **buffer, uint32_t *buffer_len)
77 *buffer = tx->
request + b_len + 1;
79 SCLogDebug(
"command data: \"%s\" [bytes %d]", *buffer, *buffer_len);
94 "sticky buffer to match on the FTP command data buffer";