|
suricata
|
#include "suricata-common.h"#include "app-layer.h"#include "app-layer-protos.h"#include "app-layer-htp.h"#include "util-unittest.h"#include "util-unittest-helper.h"#include "detect.h"#include "detect-parse.h"#include "detect-engine.h"#include "detect-engine-state.h"#include "detect-engine-build.h"#include "detect-content.h"#include "detect-engine-uint.h"#include "detect-urilen.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 "detect-engine-alert.h"
Go to the source code of this file.
Functions | |
| void | DetectUrilenRegister (void) |
| Registration function for urilen: keyword. More... | |
| void | DetectUrilenApplyToContent (Signature *s, int list) |
| set prefilter dsize pair More... | |
| bool | DetectUrilenValidateContent (const Signature *s, const char **sigerror, const DetectBufferType *dbt) |
Implements the urilen keyword
Definition in file detect-urilen.c.
| void DetectUrilenApplyToContent | ( | Signature * | s, |
| int | list | ||
| ) |
set prefilter dsize pair
| s | signature to get dsize value from |
Definition at line 149 of file detect-urilen.c.
| void DetectUrilenRegister | ( | void | ) |
Registration function for urilen: keyword.
Definition at line 61 of file detect-urilen.c.
References SigTableElmt_::desc, DETECT_URILEN, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().

| bool DetectUrilenValidateContent | ( | const Signature * | s, |
| const char ** | sigerror, | ||
| const DetectBufferType * | dbt | ||
| ) |
Definition at line 217 of file detect-urilen.c.
References SignatureInitData_::buffer_index, SignatureInitData_::buffers, DetectContentData_::content_len, DetectContentData_::depth, DETECT_CONTENT, SignatureInitDataBuffer_::head, DetectBufferType_::id, SignatureInitDataBuffer_::id, Signature_::init_data, SigMatch_::next, and SCLogError.