|
suricata
|

Go to the source code of this file.
Functions | |
| bool | DetectUrilenValidateContent (const Signature *s, const char **, const DetectBufferType *dbt) |
| void | DetectUrilenApplyToContent (Signature *s, int list) |
| set prefilter dsize pair | |
| void | DetectUrilenRegister (void) |
| Registration function for urilen: keyword. | |
Definition in file detect-urilen.h.
| 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.
References SignatureInitData_::buffer_index, SignatureInitData_::buffers, DetectContentData_::depth, DETECT_CONTENT, DETECT_CONTENT_DEPTH, DETECT_UINT_EQ, DETECT_UINT_GT, DETECT_UINT_GTE, DETECT_UINT_LT, DETECT_UINT_LTE, DETECT_UINT_NE, DETECT_UINT_RA, DETECT_URILEN, DetectContentData_::flags, SignatureInitDataBuffer_::head, DetectContentData_::id, SignatureInitDataBuffer_::id, Signature_::id, Signature_::init_data, and SCLogDebug.
| void DetectUrilenRegister | ( | void | ) |
Registration function for urilen: keyword.
Definition at line 61 of file detect-urilen.c.
References SigTableElmt_::desc, DETECT_URILEN, DetectBufferTypeRegister(), SigTableElmt_::Free, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::RegisterTests, 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, and SCLogError.
Referenced by DetectHttpUriRegister(), and DetectSipUriRegister().
