Go to the documentation of this file.
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"
50 static 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 = wrapper->
response->length;
int DetectSignatureSetAppProto(Signature *s, AppProto alproto)
SigTableElmt * sigmatch_table
struct HtpBodyChunk_ * next
void DetectFtpReplyRegister(void)
main detection engine ctx
#define TAILQ_EMPTY(head)
#define TAILQ_FOREACH(var, head, field)
int SCDetectBufferSetActiveList(DetectEngineCtx *de_ctx, Signature *s, const int list)
#define SIG_FLAG_TOCLIENT
int(* Setup)(DetectEngineCtx *, Signature *, const char *)
int DetectBufferTypeGetByName(const char *name)
FtpCommandInfo command_descriptor
FtpRequestCommand command_code
FTPResponseLine * response
void DetectBufferTypeSetDescriptionByName(const char *name, const char *desc)
void DetectAppLayerMultiRegister(const char *name, AppProto alproto, uint32_t dir, int progress, InspectionMultiBufferGetDataPtr GetData, int priority)
#define DEBUG_VALIDATE_BUG_ON(exp)