Anoop Saldanha
|
8c21511c99
|
don't buffer raw headers. Retrieve them individually from htp_state during mpm stage and content valiadation stage
|
14 years ago |
Victor Julien
|
2422c7471a
|
Reduce number of locks required for http_header and http_client_body inspection.
|
14 years ago |
Victor Julien
|
55ca988222
|
Change locking of http_header, http_raw_header and http_client_body so that flow isn't accessed without lock anywhere.
|
14 years ago |
Victor Julien
|
435d0fb327
|
Clean up signature flags creating room for merging flags and mpm_flags. Merge flags and mpm_flags. Move new mpm id's into signature header. Get rid of full signature access in signature prefiltering.
|
14 years ago |
Victor Julien
|
169aa5581a
|
Rename SIG_FLAG_AMATCH flag to SIG_FLAG_STATE_MATCH to better reflects its purpose.
|
14 years ago |
Victor Julien
|
d7b92d9bfe
|
Consolidate several signature flags into one.
|
14 years ago |
Victor Julien
|
2102a54c26
|
Cleanup and rearrange detection code slightly.
|
14 years ago |
Anoop Saldanha
|
25588b6910
|
comment out hrhd flags that we were using previously. Also remove the de_mpm_ based flags inside detect.h used by uri|hcbd|hhd|hrhd mpms. indentation fix as well
|
14 years ago |
Anoop Saldanha
|
e50503e820
|
cleanup/remove dead code
|
14 years ago |
Anoop Saldanha
|
93fa7ea828
|
modify detection engine to run hrhd mpm before building the match array
|
14 years ago |
Anoop Saldanha
|
ea3fd38291
|
fix lock issue with mpms inspecting http state for body, header
|
14 years ago |
Anoop Saldanha
|
b140ed1c9c
|
modify detection engine to run hhd mpm before building the match array
|
14 years ago |
Anoop Saldanha
|
4e273f2c8b
|
modify detection engine to carry out hcbd mpm run before build match array if alproto is http and if sgh has atleast one sig with hcbd mpm set
|
14 years ago |
Anoop Saldanha
|
72b0fcf419
|
modify detection engine to carry out uri mpm run before build match array if alproto is http and if sgh has atleast one sig with uri mpm set
|
14 years ago |
Anoop Saldanha
|
6648d1faf0
|
allow sigs for http uri of the form content:one; content:two; distance:0; http_[raw_]header;
|
14 years ago |
Anoop Saldanha
|
8f1d17846f
|
allow sigs for http uri of the form content:one; content:two; distance:0; http_uri;
|
14 years ago |
Anoop Saldanha
|
07f20674ac
|
allow sigs for http client body of the form content:one; content:two; distance:0; http_client_body;
|
14 years ago |
Victor Julien
|
6a5d2cb40d
|
Fix potential locking issue in out of memory conditions in the http_header, http_raw_header code. Fix other potential small issues in http_ code.
|
14 years ago |
Anoop Saldanha
|
eecf2d7e13
|
Add the makefile.am addition that I forgot to add in the previous commit for http_raw_header
|
14 years ago |
Anoop Saldanha
|
7ec0382774
|
support fast pattern for http raw header. Also support relative modifiers for http raw header
|
14 years ago |
Victor Julien
|
0c806f70bb
|
Fix --enable-debug compilation, just unittest with --enable-debug-validation enabled.
|
14 years ago |
Victor Julien
|
1a32d9b5ec
|
Fix printing unprintable characters in the engine-analysis fast_pattern mode.
|
14 years ago |
Anoop Saldanha
|
075719ea8c
|
fix fast pattern unittests
|
14 years ago |
Victor Julien
|
18d3c87947
|
Add check to fast pattern keyword to make sure that the offset and length don't exceed the actual pattern length.
|
14 years ago |
Anoop Saldanha
|
c61c68fd36
|
mpm and fast pattern support for http_header. Also support relative modifiers for http_header
|
14 years ago |
Anoop Saldanha
|
778ec0939c
|
make client body buffer limit configurable. Also some minor changes
|
14 years ago |
Anoop Saldanha
|
fc46f216ca
|
detect-http-header.c cleanup before we start working on it
|
14 years ago |
Anoop Saldanha
|
302011dbca
|
fix compilation issues with debug enabled.
|
14 years ago |
Anoop Saldanha
|
0aa5cffb12
|
fast pattern support for http_client_body keyword added. Also mpm support for http_client_body added
|
14 years ago |
Anoop Saldanha
|
c227aeeacb
|
remove support for skipping reinspecting fast pattern contents once again during packet payload inspection. Also make some changes to our detection engine
|
14 years ago |
Anoop Saldanha
|
bbd0c5056b
|
store the content added for mpm inside Signature. also carry out an unconditional cleanup of packet pattern matcher pmq det_ctx->pmq
|
14 years ago |
Anoop Saldanha
|
68b78664fa
|
Add unittests for checking content flags. Fix indentation in PopulateMpmAddPatternToMpm(). Also fix DETECT_CONTENT_IS_SINGLE
|
14 years ago |
Anoop Saldanha
|
b15ada8102
|
set content_packet_mpm and content_stream_mpm flag for content to prevent double check inside inspection code
|
14 years ago |
Anoop Saldanha
|
67aecc73c2
|
set content_uri_mpm flag for uri content to prevent double check inside inspection code
|
14 years ago |
Anoop Saldanha
|
1cd8bd3d3c
|
make changes for uri mpm, when uricontent is negated and also is the fp and we ignore checking it once again in engine-uri.c
|
14 years ago |
Anoop Saldanha
|
6df051321f
|
fix fp when content is negated and also added to mpm
|
14 years ago |
Anoop Saldanha
|
5c6a65dc58
|
support relative modifiers for http_client_body. Introduce body processing engine in detect-engine-hcbd.[ch]
|
14 years ago |
Victor Julien
|
234656e5f6
|
Fix compilation in --enable-debug mode.
|
14 years ago |
Anoop Saldanha
|
eade60f0fd
|
make some name changes. break PopulateMpm(). Set the avoid mpm double check flags
|
14 years ago |
Anoop Saldanha
|
96bf15bd74
|
unifying content structure - http_stat_msg now uses DetectContentData
|
14 years ago |
Anoop Saldanha
|
4c53a9d606
|
unifying content structure - http_header now uses DetectContentData
|
14 years ago |
Anoop Saldanha
|
1957eee389
|
unifying content structure - http_method now uses DetectContentData
|
14 years ago |
Anoop Saldanha
|
041f5b1a4f
|
unifying content structure - http_cookie now uses DetectContentData
|
14 years ago |
Anoop Saldanha
|
f05b0f4e1e
|
unifying content structure - http_client_body now uses DetectContentData
|
14 years ago |
Anoop Saldanha
|
4883efd0f6
|
unifying content structure - uricontent now uses DetectContentData
|
14 years ago |
Anoop Saldanha
|
3b0a9ca97e
|
add support for http_uri; content fast_patterns
|
14 years ago |
Anoop Saldanha
|
3c73854d2d
|
completely remove populate_mpm_flags. Some indentation changes. Also disable support to avoid double checks inside payload inspection for patterns added to mpm. Also add support to MpmFactory to reclaim a mpm_ctx
|
14 years ago |
Anoop Saldanha
|
fde2c64ea7
|
fix code after fresh rebase. change some pmatch and amatch lists to sm_lists[] format
|
14 years ago |
Anoop Saldanha
|
a6899218fc
|
remove populate_mpm_flags from inside PatternMatchPreparePopulateMpm()
|
14 years ago |
Anoop Saldanha
|
6eaba8941c
|
Use new flags to indicate uricontent has a mpm set
|
14 years ago |