ModSecurity/CHANGES

252 строки
8.0 KiB
Plaintext
Исходник Обычный вид История

2007-02-06 15:29:22 +03:00
?? ??? 2007 - 2.2.0-trunk
-------------------------
* TODO: Add file/line to audit log
* TODO: Detect static files (trac #15)
* Added new parallel matching operators, @pm and @pmfile. These use
an alternate set based matching engine to perform faster keyword
type matches.
2007-05-30 20:13:22 +04:00
* Cache transformations per-request/phase so they are not repeated.
* Fixed problem with subrequests not being intercepted (only logged).
* Add Solaris to the list of platforms not supporting the hidden
visibility attribute.
2007-05-17 16:02:59 +04:00
* Remove excessive debug log entries about "capture" action.
* Fixed decoding full-width unicode in t:urlDecodeUni.
* Only calculate debugging vars when we are debugging (more to come).
* Removed strnlen() calls for non-GNU platforms.
11 May 2007 - 2.2.0-dev1
-------------------------
2007-05-11 20:14:11 +04:00
* Add SecGeoLookupsDb, @geoLookups and GEO collection to support
geographical lookups by IP/host.
* Do not try to intercept a request after a failed rule. This fixes the
issue associated with an "Internal Error: Asked to intercept request
but was_intercepted is zero" error message.
* Removed extraneous exported symbols.
* Merged the PDF XSS protection functionality into ModSecurity.
* Exported API for registering custom variables. Example in api directory.
* Added experimental variables RESPONSE_CONTENT_LENGTH, RESPONSE_CONTENT_TYPE,
and RESPONSE_CONTENT_ENCODING.
* Added experimental support for content injection. Directive
SecContentInjection (On|Off) controls whether injection is taking place.
Actions "prepend" and "append" inject content when executed. Do note that
it is your responsibility to make sure the response is of the appropriate
content type (e.g. HTML, plain text, etc).
* Added string comparison operators with support for macro expansion:
2007-05-03 07:41:29 +04:00
@contains, @streq, @beginsWith and @endsWith.
* Enhanced debug log output to log macro expansion, quote values and
correctly display values that contained NULs.
* Removed support for %0 - %9 capture macros as they were incorrectly
expanding url encoded values. Use %{TX.0} - %{TX.9} instead.
* Added t:length to transform a value to its character length.
* Added t:trimLeft, t:trimRight, t:trim to remove whitespace
from a value on the left, right or both.
2007-04-26 00:46:23 +04:00
* Added SecAuditLog2 directive to allow redundent concurrent audit log
index files. This will allow sending audit data to two consoles, etc.
2007-04-05 21:43:22 +04:00
* Removed CGI style HTTP_* variables in favor of REQUEST_HEADERS:Header-Name.
2007-04-05 21:43:22 +04:00
* Store filename/line for each rule and display it and the ID (if available)
in the debug log when invoking a rule. Thanks to Christian Bockermann
for the idea.
2007-04-05 21:43:22 +04:00
* Do not log 'allow' action as intercepted in the debug log.
2007-04-05 21:43:22 +04:00
* Write debug log messages when "capture" is set, but the regex does not
capture and vice-versa.
2007-04-05 21:43:22 +04:00
* Small performance improvement in memory management for rule execution.
2007-03-21 01:09:04 +03:00
2007-04-05 21:43:22 +04:00
* Fixed some collection variable names not printing with the parameter
and/or counting operator in the debug log.
11 Apr 2007 - 2.1.1
-------------------
* Add the PCRE_DOLLAR_ENDONLY option when compiling regular expression
for the @rx operator and variables.
* Really set PCRE_DOTALL option when compiling the regular expression
for the @rx operator as the docs state.
2007-04-05 21:43:22 +04:00
* Fixed potential memory corruption when expanding macros.
* Fixed error when a collection was retrieved from storage in the same second
as creation by setting the rate to zero.
* Fixed ASCIIZ (NUL) parsing for application/x-www-form-urlencoded forms.
2007-04-05 21:43:22 +04:00
* Fixed the faulty REQUEST_FILENAME variable, which used to change
the internal Apache structures by mistake.
2007-04-05 21:43:22 +04:00
* Updates to quiet some compiler warnings.
2007-04-05 21:43:22 +04:00
* Fixed some casting issues for compiling on NetWare (patch from Guenter Knauf).
23 Feb 2007 - 2.1.0
2007-02-22 16:20:17 +03:00
-------------------
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Removed the "Connection reset by peer" message, which has nothing
to do with us. Actually the message was downgraded from ERROR to
NOTICE so it will still appear in the debug log.
2007-04-05 21:43:22 +04:00
* Removed the (harmless) message mentioning LAST_UPDATE_TIME missing.
2007-04-05 21:43:22 +04:00
* It was not possible to remove a rule placed in phase 4 using
SecRuleRemoveById or SecRuleRemoveByMsg. Fixed.
2007-04-05 21:43:22 +04:00
* Fixed a problem with incorrectly setting requestBodyProcessor using
the ctl action.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Bundled Core Rules 2.1-1.3.2b4.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Updates to the reference manual.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Reversed the return values of @validateDTD and @validateSchema, to
make them consistent with other operators.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Added a few helpful debug messages in the XML validation area.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Updates to the reference manual.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed the validateByteRange operator.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Default value for the status action is now 403 (as it was supposed to
be but it was effectively 500).
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Rule exceptions (removing using an ID range or an regular expression)
is now applied to the current context too. (Previously it only worked
on rules that are inherited from the parent context.)
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fix of a bug with expired variables.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed regular expression variable selectors for many collections.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Performance improvements - up to two times for real-life work loads!
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Memory consumption improvements (not measured but significant).
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* The allow action did not work in phases 3 and 4. Fixed.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Unlocked collections GLOBAL and RESOURCE.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Added support for variable expansion in the msg action.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* New feature: It is now possible to make relative changes to the
audit log parts with the ctl action. For example: "ctl:auditLogParts=+E".
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* New feature: "tag" action. To be used for event categorisation.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* XML parser was not reporting errors that occured at the end
of XML payload.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Files were not extracted from request if SecUploadKeepFiles was
Off. Fixed.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Regular expressions that are too long are truncated to 256
characters before used in error messages. (In order to keep
the error messages in the log at a reasonable size.)
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed the sha1 transformation function.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed the skip action.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed REQUEST_PROTOCOL, REMOTE_USER, and AUTH_TYPE.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* SecRuleEngine did not work in child configuration contexts
(e.g. <Location>).
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed base64Decode and base64Encode.
2007-02-06 15:29:22 +03:00
15 Nov 2006 - 2.0.4
-------------------
2007-04-05 21:43:22 +04:00
* Fixed the "deprecatevar" action.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Decreasing variable values did not work.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Made "nolog" do what it is supposed to do - cause a rule match to
not be logged. Also "nolog" now implies "noauditlog" but it's
possible to follow "nolog" with "auditlog" and have the match
not logged to the error log but logged to the auditlog. (Not
something that strikes me as useful but it's possible.)
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Relative paths given to SecDataDir will now be treated as relative
to the Apache server root.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Added checks to make sure only correct actions are specified in
SecDefaultAction (some actions are required, some don't make any
sense) and in rules that are not chain starters (same). This should
make the unhelpful "Internal Error: Failed to add rule to the ruleset"
message go away.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed the problem when "SecRuleInheritance Off" is used in a context
with no rules defined.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed a problem of lost input (request body) data on some redirections,
for example when mod_rewrite is used.
2007-02-06 15:29:22 +03:00
26 Oct 2006 - 2.0.3
-------------------
2007-04-05 21:43:22 +04:00
* Fixed a memory leak (all platforms) and a concurrency control
problem that could cause a crash (multithreaded platforms only).
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed a SecAuditLogRelevantStatus problem, which would not work
properly unless the regular expression contained a subexpression.
2007-02-06 15:29:22 +03:00
19 Oct 2006 - 2.0.2
-------------------
2007-04-05 21:43:22 +04:00
* Fixed incorrect permissions on the global mutex, which prevented
the mutex from working properly.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed incorrect actionset merging where the status was copied from
the child actionset even though it was not defined.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed missing metadata information (in the logs) for warnings.
2007-02-06 15:29:22 +03:00
16 Oct 2006 - 2.0.1
-------------------
2007-04-05 21:43:22 +04:00
* Rules that used operator negation did not work. Fixed.
2007-02-06 15:29:22 +03:00
2007-04-05 21:43:22 +04:00
* Fixed bug that prevented invalid regular expressions from being reported.
2007-02-06 15:29:22 +03:00
16 Oct 2006 - 2.0.0
-------------------
2007-04-05 21:43:22 +04:00
* First stable 2.x release.
2007-02-06 15:29:22 +03:00