30 Commits

Author SHA1 Message Date
Breno Silva
973bfae335 Fixed compat lua_load() with lua 5.2.x 2012-12-27 11:48:59 -04:00
brenosilva
866cb6d6b4 Update trunk for 2.7 2012-05-10 23:18:39 +00:00
brenosilva
4bebeb6dd7 Revert any lua change 2012-02-08 18:11:45 +00:00
brenosilva
f47fb8ebfc Dont create new lua vms 2011-11-09 12:24:27 +00:00
brenosilva
104f0de46e New License 2011-03-30 14:12:44 +00:00
brenosilva
49732256f6 Improvements, fixes and new features 2011-03-25 13:51:13 +00:00
brenosilva
549f059480 move 2.5.13 into trunk 2010-12-08 18:58:18 +00:00
b1v1r
08edc0c26f Merge 2.5.x (2.5.12) changes into trunk. 2010-02-05 19:05:20 +00:00
b1v1r
9a526c0900 Merge in 2.5.x build changes into trunk. 2009-10-21 18:14:14 +00:00
b1v1r
dc0a2161ac Merge 2.5.9 changes into trunk. 2009-03-12 15:31:10 +00:00
brectanus
10713fbd37 Sync up branches/2.5.x and trunk. 2008-07-31 22:36:24 +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
cc2110b187 Updates to build on Windows with MS VC++ 8. 2008-02-13 07:10:54 +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
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