Commit Graph

22 Commits

Author SHA1 Message Date
b1v1r
b2f8dc1941 Remove some Apache build files that were not required.
Fix compiler warning causing CI build server to report errors with older compiler.
2009-10-21 18:06:37 +00:00
b1v1r
2370606d70 Updated copyright year to 2009. 2009-03-06 05:32:03 +00:00
ivanr
7edd9cc7f7 Update licensing headers in all source code files. 2008-07-31 09:30:59 +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