Felipe Zimmerle
19137452c4
Updates `secrules-language-tests' reference.
...
SpiderLabs/ModSecurity#1098
2016-04-04 15:22:24 -03:00
Felipe Zimmerle
e5acc95de8
First version of global' and
ip' collections
2016-03-30 18:22:00 -03:00
Felipe Zimmerle
c43391072c
Fix some issues reported by the static analysis
2016-03-18 19:37:51 -03:00
Felipe Zimmerle
88ca736543
Avoids the installation of test utilities during `make install'
...
Those utilities are not interesting for the general usage, most
likekly it will be used by very retrict number of people whom are
likely to compile ModSecurity by their selfs.
This issue was reported on #1083
2016-03-18 14:26:41 -03:00
Felipe Zimmerle
e0926fee37
Fix parser error while dealing with operator negation
...
This patch closes the issue #960
2016-03-17 18:06:46 -03:00
Felipe Zimmerle
1f68075a28
Process the logging phase on the benchmark utility
2016-02-17 14:39:10 -03:00
Felipe Zimmerle
49fc1f8b79
Fix memory leak on the benchmark utility
...
Now deleting the transaction object even if there is an intervention
2016-02-16 23:04:07 -03:00
Felipe Zimmerle
a102b5ce2c
Improves the method fill the ARGS collection
2016-01-15 10:35:24 -03:00
Felipe Zimmerle
2830525f89
Adds missing file: script.lua
2016-01-14 12:07:59 -03:00
Felipe Zimmerle
a51e707517
Renames class Assay to Transaction
2016-01-13 15:57:00 -03:00
Felipe Zimmerle
f3fd5d6621
Adds owasp/2 experiemntal rules on the test set for benchmark
2016-01-12 14:24:59 -03:00
Felipe Zimmerle
331df90bab
Enables OWASP CRS optional_rules on becnhmark test case
2016-01-12 10:50:38 -03:00
Felipe Zimmerle
ab92bed6fa
Parser improvement: Supporting variables selection with regex
2016-01-12 09:59:33 -03:00
Felipe Zimmerle
ed13cab9f4
Adds script to download and configure benchmark script to use owasp v[3,2]
2016-01-11 17:50:15 -03:00
Felipe Zimmerle
a4d8dfd5ee
Adds ModSecurity recommended configuration file
2016-01-11 13:56:14 -03:00
Felipe Zimmerle
a225f8b5b7
Fix SecResponseBodyMimeType test case
2016-01-06 17:00:43 -03:00
Felipe Zimmerle
decf04d264
Adds support to SecResponseBodyMimeType
2015-12-24 11:55:24 -03:00
Felipe Zimmerle
c2d9a153cb
Adds support to afl fuzzer in the build system
2015-12-23 00:27:30 -03:00
Felipe Zimmerle
913e22a77d
Adds initial support to initcol action
2015-12-22 12:10:15 -03:00
Felipe Zimmerle
2a950a435b
Fix various minor bugs in the regression test suite
...
Now if a test fails it keep testing the others tests from the same
family. The output was also improved.
2015-12-10 18:36:20 -03:00
Felipe Zimmerle
80b82d3707
Adds the Global LDADD option and fed according to the platform
2015-12-01 17:34:18 -03:00
Felipe Zimmerle
b5a43871e6
Changes library namespace from ModSecurity to modsecurity
2015-12-01 10:55:59 -03:00
Felipe Zimmerle
a69e49a1b0
Makes DebugLogs optional by compilation flag
2015-11-26 17:11:40 -03:00
Felipe Zimmerle
fbf8ea74f3
Makes YAJL dependency to be optional
2015-11-24 16:03:33 -03:00
ajrpayne
45711b5224
Update issue-960.json with 3rd test.
2015-11-23 10:08:21 -03:00
Felipe Zimmerle
d8361d57c6
Adds a regression test for issue #960
2015-11-20 15:24:09 -03:00
Felipe Zimmerle
18c862a84a
Adds the concept of `resources' to the regression test utility
...
If a given resource is not available the test is skipped. Useful
to test operators that depends on 3rd party libraries that may
not be available, for instance: GeoIP.
2015-11-20 13:39:57 -03:00
Felipe Zimmerle
283c8c818d
Fix some static analysis warnings
2015-11-18 13:56:31 -03:00
Felipe Zimmerle
ac61d1c40b
Adds missing file
2015-11-18 13:30:59 -03:00
Felipe Zimmerle
3c45a57130
Fix regression tests structure : using method instead of protocol
2015-11-18 11:14:49 -03:00
Andrew Hutchings
c035e76ede
Avoid segfault if parser `ref' is empty
2015-11-17 11:28:47 -03:00
Ivan Prokhorov
7a300eb945
Fix pcre cflags variable and adds LDFLAGS for dependencies
2015-11-16 09:15:38 -08:00
Felipe Zimmerle
ca33ba4200
Temporary adds the missing optimization.cc
2015-11-06 05:37:47 -08:00
Felipe Zimmerle
9e295dedca
Adds rules optimization test app
2015-11-06 19:00:57 -03:00
Felipe Zimmerle
48704c27a9
Removes some memory leaks
2015-10-30 18:59:08 -03:00
Felipe Zimmerle
93031d93d0
Cosmetics: Fix coding style issues
2015-10-27 10:21:14 -03:00
Felipe Zimmerle
2a062b7fe2
Not using pcrecpp on verifycc anymore
2015-10-27 08:55:04 -03:00
Felipe Zimmerle
1716add77b
Adds support to replaceNulls transformation
2015-10-23 14:05:42 -03:00
Felipe Zimmerle
9932478705
Adds support to hexDecode transformation
2015-10-23 14:01:12 -03:00
Felipe Zimmerle
0ae09201f5
Adds support to replaceComments transformation
2015-10-23 13:05:08 -03:00
Felipe Zimmerle
7e826633f1
Adds support to the transformation normalisePath and normalisePathWin
2015-10-23 11:23:53 -03:00
Felipe Zimmerle
e3e8bac138
Adds support to URL decode transformation
2015-10-22 17:20:31 -03:00
Felipe Zimmerle
3d2ec2a3f5
Fix unit test utility to get it working with t:removeNulls
2015-10-21 16:05:07 -03:00
Felipe Zimmerle
17faef565e
Adds support for trim, left and right trim
2015-10-21 14:07:20 -03:00
Felipe Zimmerle
4a5e6b3e57
Fixed bad test cases
2015-10-19 23:05:44 -03:00
Felipe Zimmerle
c1e3eac09d
Fix variable exclusion regression test (label only)
2015-10-19 19:38:44 -03:00
Felipe Zimmerle
95a707964d
Warn about parser error during the regression test
2015-10-19 17:18:27 -03:00
Felipe Zimmerle
b0089cfde9
Adds MODSEC_NO_LOGS option to be part of the configure
2015-10-15 15:47:52 -03:00
Felipe Zimmerle
e54ef72051
Looks for external resources in the same path of the rule
2015-10-06 09:21:30 -03:00
Felipe Zimmerle
5cc9e94505
Splits operator into OPERATOR and FREE_TEXT on sec lang grammar
2015-10-02 12:07:18 -03:00