detect-urilen.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectUrilenData_


#define DETECT_URILEN_LT   0
#define DETECT_URILEN_GT   1
#define DETECT_URILEN_RA   2
#define DETECT_URILEN_EQ   3


typedef struct DetectUrilenData_ DetectUrilenData


bool DetectUrilenValidateContent (const Signature *s, int list, const char **)
void DetectUrilenApplyToContent (Signature *s, int list)
 set prefilter dsize pair More...
int DetectUrilenMatch (ThreadVars *, DetectEngineThreadCtx *, Flow *, uint8_t, void *, Signature *, SigMatch *)
void DetectUrilenRegister (void)
 Registration function for urilen: keyword. More...

Detailed Description

Macro Definition Documentation


#define DETECT_URILEN_EQ   3

equal operator

Definition at line 31 of file detect-urilen.h.


#define DETECT_URILEN_GT   1

"greater than" operator

Definition at line 29 of file detect-urilen.h.


#define DETECT_URILEN_LT   0

"less than" operator

Definition at line 28 of file detect-urilen.h.


#define DETECT_URILEN_RA   2

range operator

Definition at line 30 of file detect-urilen.h.

Typedef Documentation

◆ DetectUrilenData

Function Documentation

◆ DetectUrilenApplyToContent()

void DetectUrilenApplyToContent ( Signature s,
int  list 

set prefilter dsize pair

ssignature to get dsize value from

Definition at line 293 of file detect-urilen.c.

◆ DetectUrilenMatch()

int DetectUrilenMatch ( ThreadVars ,
DetectEngineThreadCtx ,
Flow ,
uint8_t  ,
void *  ,
Signature ,

◆ DetectUrilenRegister()

void DetectUrilenRegister ( void  )

Registration function for urilen: keyword.

Definition at line 65 of file detect-urilen.c.

References SigTableElmt_::desc, DETECT_AL_URILEN, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectUrilenValidateContent()

bool DetectUrilenValidateContent ( const Signature s,
int  list,
const char **   

Definition at line 346 of file detect-urilen.c.