41#define KEYWORD_NAME "ftp.command"
42#define KEYWORD_DOC "ftp-keywords.html#ftp-command"
43#define BUFFER_NAME "ftp.command"
44#define BUFFER_DESC "ftp command"
46static int g_ftp_cmd_buffer_id = 0;
59static bool DetectFTPCommandGetData(
60 const void *txv,
const uint8_t _flow_flags,
const uint8_t **buffer, uint32_t *buffer_len)
68 if (SCGetFtpCommandInfo(
int SCDetectBufferSetActiveList(DetectEngineCtx *de_ctx, Signature *s, const int list)
int SCDetectHelperBufferMpmRegister(const char *name, const char *desc, AppProto alproto, uint8_t direction, InspectionSingleBufferGetDataPtr GetData)
void DetectFtpCommandRegister(void)
int SCDetectSignatureSetAppProto(Signature *s, AppProto alproto)
SigTableElmt * sigmatch_table
main detection engine ctx
FtpCommandInfo command_descriptor
FtpRequestCommand command_code
int(* Setup)(DetectEngineCtx *, Signature *, const char *)