45#define KEYWORD_NAME "ftp.reply"
46#define KEYWORD_DOC "ftp-keywords.html#ftp-reply"
47#define BUFFER_NAME "ftp.reply"
48#define BUFFER_DESC "ftp reply"
50static int g_ftp_reply_buffer_id = 0;
64 uint8_t _flow_flags, uint32_t index,
const uint8_t **buffer, uint32_t *buffer_len)
77 *buffer = (
const uint8_t *)wrapper->
response->response;
78 *buffer_len = (uint32_t)wrapper->
response->length;
struct HtpBodyChunk_ * next
int SCDetectBufferSetActiveList(DetectEngineCtx *de_ctx, Signature *s, const int list)
void DetectBufferTypeSetDescriptionByName(const char *name, const char *desc)
void DetectAppLayerMultiRegister(const char *name, AppProto alproto, uint32_t dir, int progress, InspectionMultiBufferGetDataPtr GetData, int priority)
int DetectBufferTypeGetByName(const char *name)
void DetectFtpReplyRegister(void)
int SCDetectSignatureSetAppProto(Signature *s, AppProto alproto)
SigTableElmt * sigmatch_table
#define SIG_FLAG_TOCLIENT
#define TAILQ_FOREACH(var, head, field)
#define TAILQ_EMPTY(head)
main detection engine ctx
FTPResponseLine * response
FtpCommandInfo command_descriptor
FtpRequestCommand command_code
int(* Setup)(DetectEngineCtx *, Signature *, const char *)
#define DEBUG_VALIDATE_BUG_ON(exp)