Felipe Zimmerle
4f47651a6f
Adds variable TX and action "capture".
2015-08-05 10:07:47 -03:00
Felipe Zimmerle
e016b72a8e
Handles better the memory utilization
...
- Added reference counts to Rule and AuditLog;
- Some memory leaks were removed, including GeoLookup;
- Deal better with parser errors;
- Overriding the AutlogLogWritter destructor.
2015-07-26 22:51:57 -03:00
Felipe Zimmerle
0e7c13e3c0
Adds more regression tests to SecRemoteRules
2015-07-25 08:18:59 -03:00
Felipe Zimmerle
7ba5c76c78
Returns elegant errors if rules load operation failed
2015-07-25 03:04:57 -03:00
Felipe Zimmerle
b8f7fb441d
Adds support to SecRemoteRules and Include directives
...
This commit includes a refactoring on important pieces of the parser
to allow it work in a stack fashion. Driver and Rules classes were
simplified and the RulesProperties class was created.
2015-07-24 22:57:29 -03:00
Felipe Zimmerle
70bc15cb73
Adds support to quoted ID action
2015-07-23 14:14:19 -03:00
Felipe Zimmerle
64543e3aa2
Using A-Z instead of A-z while parsing with ?i: to avoid warnings
2015-07-23 09:45:25 -03:00
Felipe Zimmerle
b5ca607e76
Places class Driver under the Parser namespace
2015-07-23 01:37:15 -03:00
Felipe Zimmerle
9c2158958e
parser: Loads content straight from buffer.
2015-07-23 01:37:08 -03:00
Felipe Zimmerle
261ee9f115
Adds support to BodyLimitAction and support for parser errors
2015-07-22 21:31:58 -03:00
Felipe Zimmerle
667586c42e
Adds UNIQUE_ID variable
2015-07-22 21:24:21 -03:00
Felipe Zimmerle
d20a47fb03
Adds support to the variables: REMOTE_HOST, SERVER_{ADDR,PORT}
2015-07-22 21:24:18 -03:00
Felipe Zimmerle
6f7d3fa67a
Adds support to the TIME* variables
2015-07-22 01:07:42 -03:00
Felipe Zimmerle
dbbb2c526e
Adds support to REMOTE_PORT variable
2015-07-21 23:21:15 -03:00
Felipe Zimmerle
e8476771e6
Adds support to REMOTE_HOST variable
2015-07-21 23:14:56 -03:00
Felipe Zimmerle
7f76bb6df1
Adds PATH_INFO variable
2015-07-21 22:29:52 -03:00
Felipe Zimmerle
62fece7823
Adds support to SecResponseBodyLimit directive and OUTBOUND_DATA_ERROR var
2015-07-21 19:46:15 -03:00
Felipe Zimmerle
a9147b76ad
Adds support to the MULTIPART_STRICT_ERROR variable
...
Still missing to check:
- MULTIPART_FILE_LIMIT_EXCEEDED
- REQBODY_PROCESSOR_ERROR
- MULTIPART_HEADER_FOLDING
- MULTIPART_INVALID_HEADER_FOLDING
2015-07-21 17:47:00 -03:00
Felipe Zimmerle
09beb1a5c0
Adds support to MULTIPART_NAME variable
2015-07-21 15:54:49 -03:00
Felipe Zimmerle
954e275b32
Adds support to MULTIPART_FILENAME variable
2015-07-21 15:42:24 -03:00
Felipe Zimmerle
abec93263b
Adds support to MULTIPART_CRLF_LF_LINES variable
2015-07-21 15:29:13 -03:00
Felipe Zimmerle
21f4c49a0f
Adds support to MATCHED_VAR_NAME variable
2015-07-21 14:32:05 -03:00
Felipe Zimmerle
b089c44c1a
Adds support to MATCHED_VARS_NAMES variable
2015-07-21 14:24:05 -03:00
Felipe Zimmerle
09867791c7
Adds support to MATCHED_VARS variable
2015-07-21 14:21:49 -03:00
Felipe Zimmerle
4f20f5bf74
Adds initial support to chained rules
2015-07-21 12:02:10 -03:00
Felipe Zimmerle
9c066e3198
Adds support to the INBOUND_DATA_ERROR variable and SecRequestBodyLimit direc.
2015-07-21 10:02:33 -03:00
Felipe Zimmerle
95c2fed89c
Adds support to severity action and HIGHEST_SEVERITY variable
2015-07-21 01:09:13 -03:00
Felipe Zimmerle
e189055ec3
Adds support to GeoIP operator and variables.
2015-07-20 21:05:14 -03:00
Felipe Zimmerle
41bf1490b7
Adds MODSEC_BUILD variable
2015-07-20 20:43:07 -03:00
Felipe Zimmerle
e516ded1e7
Adds FULL_REQUEST variable
2015-07-20 20:41:39 -03:00
Felipe Zimmerle
5d5e10bfde
Adds support for basic Multipart process
...
Adjustments will be needed, for instance: the logging support is still missing
2015-07-17 15:12:15 -03:00
Felipe Zimmerle
d0b7a9966d
Adds support to the ENV variable
2015-07-15 12:34:06 -03:00
Felipe Zimmerle
33dff0f1bf
Refactoring on the variables resoluvtion method
2015-07-15 12:34:06 -03:00
Felipe Zimmerle
8c408ebcd7
Adds support to AUTH_TYPE variable
2015-07-15 12:33:59 -03:00
Felipe Zimmerle
1ddb36a781
Adds SecComponentSignature configuration directive
2015-07-10 18:37:48 -03:00
Felipe Zimmerle
fd8f26f763
Adds all auditlog related directives to the configuration parser
...
Added the support for the following configuration directives:
- SecAuditLogDirMode
- SecAuditLogStorageDir
- SecAuditEngine
- SecAuditLogFileMode
- SecAuditLog2
- SecAuditLogParts
- SecAuditLog
- SecAuditLogRelevantStatus
- SecAuditLogType
2015-07-10 18:37:42 -03:00
Felipe Zimmerle
95cb4c56ab
Very first commit: libmodsecurity
...
Check the README.md file for further information about the libmodsecurity.
2015-06-26 14:35:15 -03:00