suricata
detect-filesize.c File Reference
#include "suricata-common.h"
#include "app-layer-protos.h"
#include "app-layer-htp.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-misc.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-state.h"
#include "detect-filesize.h"
#include "util-debug.h"
#include "util-byte.h"
#include "flow-util.h"
#include "stream-tcp.h"
#include "stream.h"
#include "stream-tcp-private.h"
#include "stream-tcp-reassemble.h"
#include "detect-engine-mpm.h"
#include "app-layer-parser.h"
Include dependency graph for detect-filesize.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^(?:\\s*)(<|>)?(?:\\s*)([0-9]{1,23}[a-zA-Z]{0,2})(?:\\s*)(?:(<>)(?:\\s*)([0-9]{1,23}[a-zA-Z]{0,2}))?\\s*$"
 Regex for parsing our filesize. More...
 
#define MAX_SUBSTRINGS   30
 

Functions

void DetectFilesizeRegister (void)
 Registration function for filesize: keyword. More...
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements the filesize keyword

Definition in file detect-filesize.c.

Macro Definition Documentation

#define MAX_SUBSTRINGS   30

Referenced by DetectFilesizeRegister().

#define PARSE_REGEX   "^(?:\\s*)(<|>)?(?:\\s*)([0-9]{1,23}[a-zA-Z]{0,2})(?:\\s*)(?:(<>)(?:\\s*)([0-9]{1,23}[a-zA-Z]{0,2}))?\\s*$"

Regex for parsing our filesize.

Definition at line 47 of file detect-filesize.c.

Referenced by DetectFilesizeRegister().

Function Documentation