Commit Graph

46 Commits

Author SHA1 Message Date
b1v1r
0680e9e71a Fixed crash on configuration if SecMarker is used before any rules.
Fixed SecRuleUpdateActionById so that it will work on chain starters (MODSEC-37).
2009-08-12 21:41:15 +00:00
b1v1r
4a248f3202 Update regression tests. 2009-07-27 21:56:33 +00:00
b1v1r
c99f8fa2c9 Escape and reformat XML errors/warnings to avoid breaking audit log format. 2009-05-31 08:37:47 +00:00
b1v1r
c13980062e Correctly resolve chained rule actions in logs (MODSEC-53). 2009-05-21 05:32:02 +00:00
b1v1r
2d9e56bede Cleanup regression tests. 2009-05-16 11:17:36 +00:00
b1v1r
6359a86a38 Populate GEO:COUNTRY_NAME and GEO:COUNTRY_CONTINENT as documented (MODSEC-45).
Handle a newer geo database, avoiding a potential crash.
Allow checking &GEO "@eq 0" for a failed @geoLookup.
2009-05-16 07:44:58 +00:00
b1v1r
bf4b7e3b43 Added regression test for zero length part name. 2009-05-16 04:47:30 +00:00
b1v1r
993c718eb0 Added macro expansion for append/prepend action. 2009-03-06 05:28:12 +00:00
b1v1r
a78d2613c3 Merge in atomic counter updates and some cleanup from trunk. 2009-03-06 04:53:40 +00:00
b1v1r
fa96c349e5 Merge 2.5 changes. 2009-03-05 21:50:55 +00:00
b1v1r
b566ad5a17 Prepare 2.5.8 release fixing MODSEC-27. 2009-03-05 17:57:50 +00:00
brectanus
67c48bfdfb Added ability to use ctl:requestBodyAccess=off in phase:1 to avoid limit check.
Added regression tests for this as well.
2008-09-10 19:45:13 +00:00
brectanus
7b5d35c462 Added ability to use ctl:requestBodyAccess=off in phase:1 to avoid limit check.
Added regression tests for this as well.
2008-09-10 19:45:13 +00:00
brectanus
c5e258f0ba Added additional check for XML well formed. 2008-09-10 18:32:24 +00:00
brectanus
a8933475b7 Added additional check for XML well formed. 2008-09-10 18:32:24 +00:00
brectanus
f20059b009 Make sure we fail to validate DTD/schema after a parsing error. Fixes MODSEC-5. 2008-09-03 22:16:42 +00:00
brectanus
28bda503a3 Make sure we fail to validate DTD/schema after a parsing error. Fixes MODSEC-5. 2008-09-03 22:16:42 +00:00
brectanus
15b043e1c2 Update a regression test due to changed error message. 2008-08-15 21:04:12 +00:00
brectanus
ab5cd92618 Update a regression test due to changed error message. 2008-08-15 21:04:12 +00:00
brectanus
5298e29540 Added XML warn/error output to debug log. See #519. 2008-08-15 19:58:02 +00:00
brectanus
abbde8f1e7 Added XML warn/error output to debug log. See #519. 2008-08-15 19:58:02 +00:00
brectanus
e3ddb2403b Updated regression suite to use full path to LoadModule. 2008-08-08 22:50:47 +00:00
brectanus
5f648db898 Updated regression suite to use full path to LoadModule. 2008-08-08 22:50:47 +00:00
brectanus
10713fbd37 Sync up branches/2.5.x and trunk. 2008-07-31 22:36:24 +00:00
brectanus
eadc2832fe Cleanup regression suite to make it a bit more user-friendly. 2008-07-31 16:59:37 +00:00
brectanus
c066e8b3c4 Fixed VAR_CACHE/VAR_DONT_CACHE values with reasons for DONT.
Added a DEBUG_MEM define to disable optimization and for future enhcement.
Prevented "counting" vars from being cached.
Prevented vars from being cached unless they are marked "available" in phase.
Now use var->value as the cache hash key as a unique value.
Fixed which pools we are using for rule processing.
Updated regression tests for tfns.
Updated regression test script to handle extra APR_POOL_DEBUG output.
See #364.
2008-07-30 22:35:52 +00:00
brectanus
6a33fedc81 Regression suite cleanup merged from 2.5.x. 2008-07-29 05:50:03 +00:00
brectanus
40b6cd3ebe Cleanup. See #364. 2008-07-29 05:47:14 +00:00
brectanus
dde8e6c6a0 Typo. 2008-07-29 04:52:58 +00:00
brectanus
6ebc5ad6e7 Transformation caching fixes. See #364. 2008-07-29 00:18:16 +00:00
brectanus
ade22567bf Backport regression suite to 2.5. 2008-07-25 23:15:08 +00:00
brectanus
478389d5a4 Added regression tests for ctl:ruleRemoveById and disruptive actions in DetectionOnly mode. 2008-07-22 17:03:30 +00:00
brectanus
326208d02c Newer apaches default to text/plain instead of null.
Make matching files a bit more robust.
2008-06-16 17:20:50 +00:00
brectanus
493e71a9ec Tweak some regression tests. 2008-06-05 16:44:18 +00:00
brectanus
230837d4a3 Update/reorg some regression tests. 2008-06-03 20:24:14 +00:00
brectanus
e209cb7688 More regression testing updates. 2008-06-02 23:13:45 +00:00
brectanus
81145fe2b9 (Changeset Tracker. See #1234.) 2008-05-30 15:26:44 +00:00
brectanus
d06a3beab4 More tested regression tests.
Cleaned up script.
2008-05-30 00:13:50 +00:00
brectanus
8844813c91 Some more updates/tweaks to the regression suite.
Allow the ability to "make test-regression".
2008-05-28 20:31:41 +00:00
brectanus
3e58e99be7 Another small update to the regression tests. 2008-05-28 00:02:22 +00:00
brectanus
7ad2766e76 Some more updates for regression testing. 2008-05-27 23:52:16 +00:00
brectanus
4bc1fc39f0 Some reorg of regression tests. 2008-05-27 19:08:51 +00:00
brectanus
49e63a3e30 More regression updates. 2008-05-23 19:25:03 +00:00
brectanus
59629a6aff Add/update regression tests. 2008-05-23 16:30:18 +00:00
brectanus
29cd97b24c Reorg. 2008-05-22 20:37:49 +00:00
brectanus
813127aa13 Added some basic regression tests. 2008-05-22 18:44:22 +00:00