|
suricata
|
#include "rust.h"

Go to the source code of this file.
Data Structures | |
| struct | FtpLineState_ |
| struct | FTPResponseWrapper_ |
| struct | FtpCommandInfo_ |
| struct | FTPTransaction_ |
| struct | FtpState_ |
| struct | FtpDataState_ |
Typedefs | |
| typedef uint32_t | FtpRequestCommandArgOfs |
| typedef struct FtpLineState_ | FtpLineState |
| typedef struct FTPResponseWrapper_ | FTPResponseWrapper |
| typedef struct FtpCommandInfo_ | FtpCommandInfo |
| typedef struct FTPTransaction_ | FTPTransaction |
| typedef struct FtpState_ | FtpState |
| typedef struct FtpDataState_ | FtpDataState |
Functions | |
| void | RegisterFTPParsers (void) |
| void | FTPParserRegisterTests (void) |
| void | FTPParserCleanup (void) |
| Free memory allocated for global FTP parser state. | |
| int | FTPSetMemcap (uint64_t size) |
| uint64_t | FTPMemuseGlobalCounter (void) |
| uint64_t | FTPMemcapGlobalCounter (void) |
| uint16_t | JsonGetNextLineFromBuffer (const char *buffer, const uint16_t len) |
| bool | EveFTPDataAddMetadata (void *vtx, SCJsonBuilder *jb) |
Definition in file app-layer-ftp.h.
| typedef struct FtpCommandInfo_ FtpCommandInfo |
| typedef struct FtpDataState_ FtpDataState |
FTP Data State for app layer parser
| typedef struct FtpLineState_ FtpLineState |
used to hold the line state when we have fragmentation.
| typedef uint32_t FtpRequestCommandArgOfs |
Definition at line 32 of file app-layer-ftp.h.
| typedef struct FTPResponseWrapper_ FTPResponseWrapper |
| typedef struct FTPTransaction_ FTPTransaction |
| bool EveFTPDataAddMetadata | ( | void * | vtx, |
| SCJsonBuilder * | jb | ||
| ) |
Definition at line 1382 of file app-layer-ftp.c.
References FtpDataState_::command, FtpDataState_::file_len, FtpDataState_::file_name, and JB_SET_STRING.
Referenced by OutputRegisterRootLoggers().

| uint64_t FTPMemcapGlobalCounter | ( | void | ) |
Definition at line 84 of file app-layer-ftp.c.
References SC_ATOMIC_GET.
Referenced by AppLayerRegisterGlobalCounters().

| uint64_t FTPMemuseGlobalCounter | ( | void | ) |
Definition at line 78 of file app-layer-ftp.c.
References SC_ATOMIC_GET.
Referenced by AppLayerRegisterGlobalCounters().

| void FTPParserCleanup | ( | void | ) |
Free memory allocated for global FTP parser state.
Definition at line 1407 of file app-layer-ftp.c.
Referenced by AppLayerParserDeSetup().

| void FTPParserRegisterTests | ( | void | ) |
Definition at line 1542 of file app-layer-ftp.c.
References UtRegisterTest().
Referenced by RegisterFTPParsers().


| int FTPSetMemcap | ( | uint64_t | size | ) |
Definition at line 90 of file app-layer-ftp.c.
References SC_ATOMIC_GET, and SC_ATOMIC_SET.
| uint16_t JsonGetNextLineFromBuffer | ( | const char * | buffer, |
| const uint16_t | len | ||
| ) |
Definition at line 1372 of file app-layer-ftp.c.
References len.
| void RegisterFTPParsers | ( | void | ) |
FTP
Definition at line 1271 of file app-layer-ftp.c.
References ALPROTO_FTP, ALPROTO_FTPDATA, AppLayerParserRegisterGetEventInfo(), AppLayerParserRegisterGetEventInfoById(), AppLayerParserRegisterGetStateProgressFunc(), AppLayerParserRegisterGetTx(), AppLayerParserRegisterGetTxCnt(), AppLayerParserRegisterGetTxFilesFunc(), AppLayerParserRegisterGetTxIterator(), AppLayerParserRegisterLocalStorageFunc(), AppLayerParserRegisterParser(), AppLayerParserRegisterProtocolUnittests(), AppLayerParserRegisterStateDataFunc(), AppLayerParserRegisterStateFuncs(), AppLayerParserRegisterStateProgressCompletionStatus(), AppLayerParserRegisterTxDataFunc(), AppLayerParserRegisterTxFreeFunc(), AppLayerProtoDetectRegisterProtocol(), AppLayerRegisterExpectationProto(), StreamingBufferConfig_::buf_size, StreamingBufferConfig_::Calloc, StreamingBufferConfig_::Free, FTPParserRegisterTests(), StreamingBufferConfig_::Realloc, SCAppLayerParserConfParserEnabled(), SCAppLayerParserRegisterLogger(), SCAppLayerParserRegisterParserAcceptableDataDirection(), SCAppLayerProtoDetectConfProtoDetectionEnabled(), and SCLogInfo.
Referenced by AppLayerParserRegisterProtocolParsers().

