Commit Graph

346 Commits

Author SHA1 Message Date
brectanus
8beaef9fd8 Make sure the apache includes dir is always included. 2008-03-28 17:02:04 +00:00
brectanus
6b970c9185 Added back support for HTTP_* targets by aliasing it to REQUEST_HEADERS:*.
Fixed the severity warning message to only be displayed at a warn log level.
2008-03-19 21:31:41 +00:00
brectanus
b2cf7d1329 Change version to 2.5.1 for tagging. 2008-03-14 23:03:13 +00:00
brectanus
d38f5da865 Change branch version back to -rc1 for re-taging. 2008-03-07 20:50:00 +00:00
brectanus
5e08b6e4d3 2.5.1-breach2 not 2.5.0-breach2 2008-03-07 20:46:16 +00:00
brectanus
57e8fc57d9 Change version to 2.5.1-breach2 for appliance. 2008-03-07 20:41:27 +00:00
brectanus
024e854725 Fixed a bug in transformation caching, which would prevent a match in certian cases.
Updated docs on "pass" action to explicitly state that we execute all targets.
2008-03-07 20:23:16 +00:00
brectanus
e0f503a133 Add a needed function prototype for compiling in performance testing mode. 2008-03-05 20:42:41 +00:00
brectanus
69a547ccf9 Create a 2.5.1-breach1 for the M1100. 2008-03-05 18:16:23 +00:00
brectanus
20274563fb Make a severity in a default action just a warning instead of a fatal error. 2008-03-04 22:55:39 +00:00
brectanus
abbab078d5 Fix the module name macro to not end in "-" when there is no "-rc", etc. 2008-03-04 22:40:35 +00:00
brectanus
628321bb86 Cleaned up "make test" and document as still experimental. 2008-03-03 16:50:40 +00:00
brectanus
1e991d6fcd Add searching for lua in /usr/lib{64|32}.
Do not default to using -Werror (warnings are errors).
2008-02-27 23:18:03 +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
brectanus
e12a2f08d9 The apu is under the apr dir on Solaris. 2008-01-30 01:04:53 +00:00
brectanus
0903a061a6 Fix regression on non-solaris for lua (lua5.1, not lua51). 2008-01-30 01:00:53 +00:00
brectanus
8d05c9966d Add some further searching for apr/apu/lua for solaris. 2008-01-30 00:57:52 +00:00