349 Commits

Author SHA1 Message Date
brectanus
f394c6faa2 Add atomic updates for persistent counters. See #20. 2008-05-13 00:05:02 +00:00
brectanus
5f6cb3aea9 Update msc_test with -N, better error support and support for actions. 2008-05-13 00:03:15 +00:00
brectanus
8f7b861d94 Added mod_rpaf-2.0 and mod_custom_header to the beforeme list. 2008-05-09 15:50:17 +00:00
brectanus
248bd0971c Update generated configure. 2008-04-30 22:36:17 +00:00
brectanus
c63d0ea21a Update the performance unit test generation example scripts. 2008-04-30 22:18:04 +00:00
brectanus
6d3da8c39a Add the configure script (even though it is generated) to make it easier for others. 2008-04-25 23:19:16 +00:00
brectanus
40fba3355e Allow actions to be unit tested.
Allow unit tests to be performance tested.
Add an example script to generate @rx vs @pm tests.
2008-04-25 23:16:48 +00:00
brectanus
06eeb7ef04 Fixed crash if a persistent variable name was more than 126 characters. See #478. 2008-04-24 16:40:14 +00:00
brectanus
b4f473f87f Expand macros in expirevar and deprecatevar. See #477.
Cleaned up debug logs in actions.
Warn on mismatched curly braces in macro expansion.
2008-04-24 16:23:35 +00:00
brectanus
d37ab94824 Minor tweaks to msc_test build. 2008-04-24 15:39:15 +00:00
brectanus
27601f6b40 Remove some extraneous debugging. 2008-04-11 20:12:42 +00:00
brectanus
fa3462f48f Add the MODSEC_2.5 define to 2.6 for compatibility. 2008-04-11 20:06:48 +00:00
brectanus
563a8e0f0c Fixed issue where the exec action may not be able to execute shell scripts. See #475. 2008-04-11 20:05:44 +00:00
brectanus
aa6be1614e Make sure all filehandles are closed at the end of a trasaction. See #464 and #465.
Fixes a few typos in some error messages when we are over the limits.
2008-03-28 20:00:37 +00:00
brectanus
b74b659114 Update version for trunk. 2008-03-28 17:33:19 +00:00
brectanus
5f09dbb3ee Sync up trunk with changes from 2.5.x. 2008-03-28 17:06:44 +00:00
brectanus
7a1e2db148 Fixed code according to Ivan's review. 2008-02-20 00:41:43 +00:00
brectanus
e4eaade2ca Make Lua support optional since it is still experimental (--without-lua). If someone still uses SecRuleScript, however, it iignores it and just warns on Apache startup. 2008-02-16 00:27:44 +00:00
brectanus
aef091a849 Reverted r950 which moved the periods from the message to after the "[offset ...]" tag. This tag was intended to be interpreted as metadata.
Enhanced the documentation from r951 to reflect "[offset ...]" as metadata and not the message.
2008-02-15 23:05:30 +00:00
brectanus
1fbf0c97f2 Update CHANGES, versions and dates for 2.5.0. 2008-02-15 22:51:01 +00:00
ivanr
258ef32adb Minor changes to operator messages. 2008-02-14 15:40:38 +00:00
brectanus
7ef661217d Make sure the test target gets the APR/APU CFLAGS. 2008-02-14 04:36:38 +00:00
brectanus
f00e15cc0a More updates for Windows builds suggested by Tom Donovan at apachelounge. 2008-02-13 18:10:04 +00:00
brectanus
cc2110b187 Updates to build on Windows with MS VC++ 8. 2008-02-13 07:10:54 +00:00
brectanus
1789b9935e Remove the generated apxs-wrapper on dist-clean. 2008-02-11 23:02:41 +00:00
brectanus
935677a780 Do not add alert message when a transformation is not specified in a Lua rule. 2008-02-11 21:57:21 +00:00
brectanus
2c74c55d4d Add the copywrite blurb in msc_lua.c. 2008-02-11 21:23:31 +00:00
brectanus
e9d1a44ce9 Explicitly define the target msc_test.lo target output file. 2008-02-11 21:22:53 +00:00
brectanus
d3831d679c Include the pmFromFile data file. 2008-02-08 22:05:35 +00:00
brectanus
06715a0dea Make sure to include the apxs cflags and apr cflags when building msc_test. 2008-02-08 22:03:48 +00:00
brectanus
96b3ea6f21 Update unit test framework to build with libtool and show test name in debug log. 2008-02-08 21:33:21 +00:00
brectanus
d24976a831 Add message to failed tests as well. 2008-02-08 01:18:15 +00:00
brectanus
8e43107827 Add target name to validateUrlEncoding message. 2008-02-08 01:17:46 +00:00
brectanus
83c13abfea Add/update more unit tests. 2008-02-08 00:07:12 +00:00
brectanus
16b2821d51 Update string match text for @within to not include the target test.
Make sure the empty string always matches (it does in @rx and @m so it should in other string operators).
2008-02-08 00:04:09 +00:00
brectanus
827a5831e2 A pattern of "" (empty string) should always match. 2008-02-07 23:21:31 +00:00
brectanus
b579e704ab Added unit tests for numeric comparison operators. 2008-02-07 22:38:58 +00:00
brectanus
50a9f76dde Fixed getting exit code for determining test status. 2008-02-07 22:23:39 +00:00
brectanus
ac449776fe Add pm operator unit tests. 2008-02-07 22:05:21 +00:00
brectanus
540de37e73 Fixed error detection for operator init. 2008-02-07 22:04:56 +00:00
brectanus
b934660034 Cleanup unit test debug log on make clean. 2008-02-07 21:46:12 +00:00
brectanus
f428d37680 Cleanup - remove extraneous whitespace and tabs. 2008-02-07 21:45:05 +00:00
brectanus
4b55882c4f Made msr_log() work with unit tests.
Now display the message generated by operators for unit tests.
2008-02-07 21:43:56 +00:00
brectanus
46cb2beeba Cleanup build to be more portable at searching for libs. 2008-02-06 20:02:01 +00:00
brectanus
fd8f4e319f Update CHANGES and versions for 2.5.0-rc3. 2008-02-05 00:55:16 +00:00
brectanus
e2ad283fdb Fix some sprintf formatters so they do not generate warnings. 2008-02-04 21:50:10 +00:00
brectanus
d3d4c66945 Allow "none" transformation to start the transformation chain over and not crash. See #456. 2008-02-04 19:58:16 +00:00
brectanus
13b5cdd5fc Expand macros in setenv (name and value). See #458. 2008-02-04 18:26:35 +00:00
brectanus
7250e4d03c Fix crash when there is no parameter to ENV target var. See #459. 2008-02-04 18:22:51 +00:00
brectanus
3232a2d41e Fix debug log "Expanded" msg to only print when expanded. 2008-02-04 18:21:27 +00:00