450 Commits

Author SHA1 Message Date
brectanus
5735d5fc63 Fixed issue where the exec action may not be able to execute shell scripts. See #475. 2008-04-24 16:30:58 +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
070e0bb0c6 Update CHANGES with current releases. 2008-04-11 20:10:27 +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
c50e5b0b38 Update versions for release. 2008-04-02 16:10:47 +00:00
brectanus
955163389f Add docs for macro expansion. See #462. 2008-04-02 16:09:09 +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
d797619fcb Cleanup and update docs for 2.5.0. 2008-02-20 06:38:11 +00:00
brectanus
7a1e2db148 Fixed code according to Ivan's review. 2008-02-20 00:41:43 +00:00
brectanus
bdc746baff Update rules to 1.6.0. 2008-02-19 15:21:33 +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
63bccf793c Add additional CRS files. 2008-02-15 23:59:55 +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
brectanus
8cf74f5c91 Update version dates.
Fix a small typo in Lua example: nil, not null.
2008-02-14 22:16:21 +00:00
ivanr
fb9585735a Add operator messages to documentation. 2008-02-14 15:41:49 +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
20bc34a53f Update core rules to 1.6.0-rc3. 2008-02-11 22:57:54 +00:00
brectanus
de115fc4e2 Update core rules to 1.6.0-rc3. 2008-02-11 22:55:49 +00:00
brectanus
731ac3321b Update version date for 2.5.0-rc3. 2008-02-11 22:49:08 +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
94f617ae1c Update CHANGES and release dates. 2008-02-09 01:22:01 +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
45e85e4c89 Update CHANGES and version dates. 2008-02-08 01:24:46 +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