15 Commits

Author SHA1 Message Date
brectanus
f428d37680 Cleanup - remove extraneous whitespace and tabs. 2008-02-07 21:45:05 +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
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
ivanr
2068357af8 Added m.getvars() and finalised Lua support. 2007-12-21 12:50:03 +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
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
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
ivanr
cdcb3bdb14 Lua: Added support for retrieving parametarised parameters (e.g. ARGS:p). 2007-12-19 15:46:45 +00:00
ivanr
4414cb8527 Lua: Support retrieval of individual variables from scripts. 2007-12-19 14:35:20 +00:00
ivanr
aef5a460b6 Fix Lua support. Enable logging from Lua scripts (using m.log()). 2007-12-19 12:50:21 +00:00
ivanr
afd3cbf14f Implemented SecRuleScript LUA_SCRIPT [ACTIONS]. 2007-12-19 11:22:52 +00:00