suricata
|
#include "suricata-common.h"
#include "util-unittest.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-state.h"
#include "app-layer-ftp.h"
#include "detect-ftpdata.h"
Go to the source code of this file.
Macros | |
#define | PARSE_REGEX "^\\s*(stor|retr)\\s*$" |
Regex for parsing our keyword options. More... | |
Functions | |
void | DetectFtpdataRegister (void) |
Registration function for ftpcommand: keyword. More... | |
Match on ftp command used to trigger a ftp data transfer
Definition in file detect-ftpdata.c.
#define PARSE_REGEX "^\\s*(stor|retr)\\s*$" |
Regex for parsing our keyword options.
Definition at line 41 of file detect-ftpdata.c.
void DetectFtpdataRegister | ( | void | ) |
Registration function for ftpcommand: keyword.
registers the keyword into the engine. Called from detect.c::SigTableSetup()
This function is called once in the 'lifetime' of the engine.
Definition at line 59 of file detect-ftpdata.c.
References SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, DETECT_FTPDATA, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().