brectanus
0d24a08f33
Implemented SecRuleUpdateActionById. See #442 .
2008-01-19 02:23:41 +00:00
brectanus
be096d8f7c
Explain how to install mlogc after building.
2008-01-18 21:38:50 +00:00
brectanus
c6c4003942
More configure cleanup.
...
Update docs for new install: configure && make && make install
Spell check the docs.
2008-01-18 21:14:21 +00:00
brectanus
96ff268f64
Replace TABs with 4 spaces.
2008-01-18 01:04:47 +00:00
brectanus
f4a44bc320
Remove an extraneous debug log.
2008-01-18 01:02:29 +00:00
brectanus
9fb03d277d
Fixing code based on review comments...
...
Cleaned up what vars are cacheable.
Added parens around "*foo++" where it clarified the operation to be "*(foo++)".
Added " at VARNAME" to operator matches where needed.
Escaped var->name in the var generation (user-supplied data).
Marked a bunch of TODOs as ENHs instead.
Transformed some C++ style comments to C style.
Removed the %0-9 macros code which was commented out.
Optimized some ctl action code so that multiple ifs are else ifs.
Implemented some error messages marked as ENH.
Make commented out acmp debugging a configure-time option.
Cleanup GEO debug log messages.
Added relative filename support for geo dbs.
Added help text to Sec* directives.
2008-01-18 00:47:30 +00:00
brectanus
99c41afc3d
Added a check that SecServerSignature actually worked (Apache changed some of this code as of 2.2.4 and could potentially change it again and break this).
...
Cleaned up some configure code.
Cleaned up some extraneous cache logging.
Cleaned up the output from the test script.
2008-01-14 22:32:53 +00:00
brectanus
fabeaf5059
Final mlogc configure cleanup.
2008-01-11 18:21:17 +00:00
brectanus
62dfbeb80a
Do not bother with libcurl if there is no mlogc-src.
2008-01-11 18:18:18 +00:00
brectanus
bc6c0c76af
Add the ability to find curl for mlogc.
2008-01-11 17:51:58 +00:00
brectanus
0a6ac05590
Add the ability to build mlogc if it is in the mlogc-src subdir.
2008-01-11 17:51:06 +00:00
brectanus
b5033e6e29
It is 2008 now :)
2008-01-11 00:00:31 +00:00
ivanr
f15ef01be9
Tweak error message to make it clear it's not our fault.
2008-01-09 19:05:20 +00:00
brectanus
b6446dc836
Fixed an old bug in ctl:auditLogParts that was fixed in 2.1.x, but not trunk.
2008-01-09 01:02:51 +00:00
brectanus
106a54f876
Fixed partial transformation caching and reduced some debugging output.
2008-01-09 00:52:51 +00:00
brectanus
31e3ada844
Fixed phase 5 rules not being excludable.
2008-01-08 20:45:54 +00:00
brectanus
433ecf3427
Cleanup configure and add support for using apache src included libs (--with-httpd-src).
2008-01-08 19:03:24 +00:00
brectanus
7baf949929
Add --enable-FEATURE options to configure.
2008-01-08 17:25:43 +00:00
brectanus
c622e7ec93
Expand PERFORMANCE_MEASUREMENT output to break down the full rule timing into transformation, operator and full.
...
Add a "Transformation completed in N usec." debug line to compliment the operator timing.
2008-01-08 16:21:40 +00:00
brectanus
baac392bf5
More configure cleanup.
2008-01-03 01:09:01 +00:00
brectanus
40c57f8716
Cleanup configure script and add back unit tests (make test).
2008-01-02 23:52:34 +00:00
brectanus
badb2791f1
Initial 'configure' based compilation (buildconf generates configure script).
2008-01-02 21:32:10 +00:00
brectanus
be9931e00f
Make sure all tests pass.
2007-12-21 16:39:38 +00:00
brectanus
402f6318bb
More test updates.
2007-12-21 16:20:51 +00:00
ivanr
2068357af8
Added m.getvars() and finalised Lua support.
2007-12-21 12:50:03 +00:00
brectanus
8924f605d4
Add some more test cases.
2007-12-20 23:42:09 +00:00
brectanus
6dd6156466
Fixed returns for urlDecodeUni, urlDecode, urlEncode and normalisePathWin. See #439 .
2007-12-20 23:29:07 +00:00
brectanus
9551218d23
Fixed URL decoding with invalid encoding. See #439 .
2007-12-20 23:01:38 +00:00
brectanus
a210e73257
Fixed return codes for base64Decode, base64Encode, compressWhitespace as well as replaceComments not adding the space for a comment w/o ending. See #439 .
2007-12-20 22:59:26 +00:00
brectanus
ef18503f05
More cleanup and fixes in the testing framework.
2007-12-20 21:33:29 +00:00
brectanus
78f83198d0
Remove \0ooo support from t:escapeSeqDecode. See #423 .
2007-12-20 21:04:19 +00:00
brectanus
4104e261e7
Update verifyCC checks w/data Ofer sent me.
2007-12-20 19:23:20 +00:00
brectanus
9504be7d78
Fix a bug in testing framework where NUL is lost in parameter and add support for running only a single test in a conf file.
2007-12-20 19:22:13 +00:00
brectanus
246ed9cbc5
Make sure a zero-length CC# does not verify.
2007-12-20 19:19:34 +00:00
ivanr
f64c7c39e8
Lua: Added support for scripting to @inspectFile.
2007-12-20 15:53:23 +00:00
ivanr
4cecdf4c5b
Added support for Lua to the exec action.
2007-12-20 12:06:30 +00:00
ivanr
a45c4bb551
Lua: Fix compile warnings.
2007-12-20 10:38:16 +00:00
ivanr
4fcd787b94
Lua: Support relative filenames in SecRuleScript.
2007-12-20 10:17:48 +00:00
ivanr
235fd2c077
Lua: Add ability to retrieve values from persistent collections.
2007-12-20 09:55:58 +00:00
ivanr
fa4738e865
Lua: Preserve entire scripts, not just main(). This allows for more complex logic to be written as the user can now use functions. It also allows room for future expansion.
2007-12-20 09:21:35 +00:00
brectanus
3860a702ab
Added support for unit testing operators. Only verifyCC tests written.
2007-12-20 01:40:29 +00:00
brectanus
3a8e0a4dfd
Some more reorg of tests.
2007-12-19 23:43:51 +00:00
brectanus
a04e03b2c7
Some reorg of tests.
2007-12-19 23:41:49 +00:00
brectanus
61e4623bae
Move around some code to make unit tests easier to build.
2007-12-19 20:44:56 +00:00
brectanus
2103fb560b
Rename msc-test to msc_test.
2007-12-19 20:40:33 +00:00
brectanus
4e7c243c39
Make libxml2 *required*.
2007-12-19 18:13:41 +00:00
ivanr
6974a1c781
Fixed l_log to prevent percentage characters from Lua interfering with formatting.
2007-12-19 17:47:08 +00:00
ivanr
f3fae3155d
Adjust Lua debugging levels to 8, to avoid logging at level 9 from skewing the results.
2007-12-19 17:13:02 +00:00
brectanus
e834a860dd
Avoid double close of DBM on error.
2007-12-19 16:43:27 +00:00
brectanus
a96cbc0f69
Merge in Lua to test framework.
2007-12-19 16:11:42 +00:00