]> granicus.if.org Git - apache/log
apache
12 years agoMore configure time dependencies:
Stefan Fritsch [Sat, 21 Jan 2012 10:26:51 +0000 (10:26 +0000)]
More configure time dependencies:
mod_cache_disk depends on mod_cache
mod_heartbeat depends on mod_watchdog

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234297 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMake APACHE_MODULE() accept an optional prerequisite module for configure.
Stefan Fritsch [Fri, 20 Jan 2012 22:14:31 +0000 (22:14 +0000)]
Make APACHE_MODULE() accept an optional prerequisite module for configure.

Introduce the following configure time dependencies:
  mod_proxy_* (except proxy_html) require mod_proxy
  mod_dav_* require mod_dav
  mod_session_* require mod_session

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1234180 13f79535-47bb-0310-9956-ffa450edef68

12 years ago* server/core_filters.c (ap_core_input_filter): Only treat EAGAIN as
Joe Orton [Fri, 20 Jan 2012 12:41:18 +0000 (12:41 +0000)]
* server/core_filters.c (ap_core_input_filter): Only treat EAGAIN as
  success if a non-blocking read was requested; for a blocking read,
  it is an error condition.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1233882 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdjust CVE-2011-3368/CVE-2011-4317 fixes to rely solely on
Jeff Trawick [Thu, 19 Jan 2012 22:23:15 +0000 (22:23 +0000)]
Adjust CVE-2011-3368/CVE-2011-4317 fixes to rely solely on
core's translate-name to fail unsupported URIs.

Rewrite and proxy now decline what they don't support rather
than fail the request.

Suggested by: trawick
Implemented by: jorton
Tweaked by: wrowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1233604 13f79535-47bb-0310-9956-ffa450edef68

12 years agoconfigure: Move the --with-included-apr check so that srcdir!=builddir builds
Graham Leggett [Wed, 18 Jan 2012 11:30:27 +0000 (11:30 +0000)]
configure: Move the --with-included-apr check so that srcdir!=builddir builds
aren't broken by it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232838 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAnticipate win32+win64
William A. Rowe Jr [Tue, 17 Jan 2012 22:58:23 +0000 (22:58 +0000)]
Anticipate win32+win64

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232630 13f79535-47bb-0310-9956-ffa450edef68

12 years agoService named 2.x on trunk
William A. Rowe Jr [Tue, 17 Jan 2012 22:50:13 +0000 (22:50 +0000)]
Service named 2.x on trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232624 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFurther win32 edits anticipating 1.0.1-final is soon
William A. Rowe Jr [Tue, 17 Jan 2012 22:49:16 +0000 (22:49 +0000)]
Further win32 edits anticipating 1.0.1-final is soon

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232622 13f79535-47bb-0310-9956-ffa450edef68

12 years agoReword the paragraph about --with-included-apr to mention the -deps
Stefan Fritsch [Tue, 17 Jan 2012 21:41:24 +0000 (21:41 +0000)]
Reword the paragraph about --with-included-apr to mention the -deps
tarball.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232594 13f79535-47bb-0310-9956-ffa450edef68

12 years agoTrunk is at 2.5
Stefan Fritsch [Tue, 17 Jan 2012 21:30:22 +0000 (21:30 +0000)]
Trunk is at 2.5

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232583 13f79535-47bb-0310-9956-ffa450edef68

12 years agoconfigure: Improve the error message when --with-included-apr is specified
Graham Leggett [Tue, 17 Jan 2012 21:12:19 +0000 (21:12 +0000)]
configure: Improve the error message when --with-included-apr is specified
but either APR or APR-Util is not included.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232575 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRPM: Add mod_bucketeer, mod_case_filter and mod_case_filter_in to the RPM
Graham Leggett [Mon, 16 Jan 2012 23:17:23 +0000 (23:17 +0000)]
RPM: Add mod_bucketeer, mod_case_filter and mod_case_filter_in to the RPM
spec file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1232224 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate xforms
Stefan Fritsch [Sun, 15 Jan 2012 22:46:12 +0000 (22:46 +0000)]
Update xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231783 13f79535-47bb-0310-9956-ffa450edef68

12 years agogenerated files and revision numbers
Jeff Trawick [Sun, 15 Jan 2012 01:40:32 +0000 (01:40 +0000)]
generated files and revision numbers

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231608 13f79535-47bb-0310-9956-ffa450edef68

12 years agofix syntax errors in Mutex examples
Jeff Trawick [Sun, 15 Jan 2012 01:36:45 +0000 (01:36 +0000)]
fix syntax errors in Mutex examples

Submitted by: Daniel Shahaf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231607 13f79535-47bb-0310-9956-ffa450edef68

12 years agofix const warning with strchr->ap_strchr mapping
Jeff Trawick [Sun, 15 Jan 2012 00:27:57 +0000 (00:27 +0000)]
fix const warning with strchr->ap_strchr mapping

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231602 13f79535-47bb-0310-9956-ffa450edef68

12 years agoremove unused function
Jeff Trawick [Sun, 15 Jan 2012 00:27:16 +0000 (00:27 +0000)]
remove unused function

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231601 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdates.
Lucien Gentis [Sat, 14 Jan 2012 15:58:59 +0000 (15:58 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231518 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdates.
Lucien Gentis [Sat, 14 Jan 2012 15:01:11 +0000 (15:01 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231510 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate.
Lucien Gentis [Sat, 14 Jan 2012 14:53:49 +0000 (14:53 +0000)]
Update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231509 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate.
Lucien Gentis [Sat, 14 Jan 2012 14:51:08 +0000 (14:51 +0000)]
Update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231508 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix the request/response header error
Takashi Sato [Sat, 14 Jan 2012 07:33:30 +0000 (07:33 +0000)]
Fix the request/response header error

Submitted by: INOUE Seiichiro <inoue ariel-networks.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231446 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd svn:keywords LastChangedRevision
Takashi Sato [Sat, 14 Jan 2012 06:38:39 +0000 (06:38 +0000)]
Add svn:keywords LastChangedRevision

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231442 13f79535-47bb-0310-9956-ffa450edef68

12 years agowhitespace only: shift a block refactored in r1231255 over 8 spaces.
Eric Covener [Fri, 13 Jan 2012 19:18:03 +0000 (19:18 +0000)]
whitespace only: shift a block refactored in r1231255 over 8 spaces.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231257 13f79535-47bb-0310-9956-ffa450edef68

12 years ago *) mod_authnz_ldap: Don't try a potentially expensive nested groups
Eric Covener [Fri, 13 Jan 2012 19:16:50 +0000 (19:16 +0000)]
  *) mod_authnz_ldap: Don't try a potentially expensive nested groups
     search before exhausting all AuthLDAPGroupAttribute checks on the
     current group. PR52464

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231255 13f79535-47bb-0310-9956-ffa450edef68

12 years agoadd compat info to CacheQuickHandler
Eric Covener [Wed, 11 Jan 2012 22:24:10 +0000 (22:24 +0000)]
add compat info to CacheQuickHandler

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1230286 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSECURITY (CVE-2012-0031): Fix possible crash on shutdown if a child
Joe Orton [Wed, 11 Jan 2012 14:33:47 +0000 (14:33 +0000)]
SECURITY (CVE-2012-0031): Fix possible crash on shutdown if a child
changes the sb_type field in the scoreboard.  Since unprivileged
children should not be able to affect the parent in this way, this is
treated as a Low severity security issue.

Thanks to "halfdog" <me halfdog.net> for reporting this issue.

* include/scoreboard.h (global_score): Remove sb_type field.

* include/ap_mmn.h: Bump MMN for above.

* server/scoreboard.c (ap_cleanup_scoreboard, ap_create_scoreboard):
  Use a static global to store store the scoreboard type.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1230065 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMore registered media types
Roy T. Fielding [Wed, 11 Jan 2012 08:29:46 +0000 (08:29 +0000)]
More registered media types

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229930 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations
Takashi Sato [Mon, 9 Jan 2012 15:55:25 +0000 (15:55 +0000)]
Update transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229222 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix English Revisions.
Takashi Sato [Mon, 9 Jan 2012 15:25:05 +0000 (15:25 +0000)]
Fix English Revisions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229201 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix cut'n'paster error
Stefan Fritsch [Mon, 9 Jan 2012 13:08:11 +0000 (13:08 +0000)]
Fix cut'n'paster error

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229136 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRename ap_func_attr_* macros to AP_FN_ATTR_*
Stefan Fritsch [Mon, 9 Jan 2012 13:06:18 +0000 (13:06 +0000)]
Rename ap_func_attr_* macros to AP_FN_ATTR_*
Add macro for attribute alloc_size on newer gcc's

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229134 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd <glossary> to nroff.xsl and revert r1222335 partially.
Takashi Sato [Mon, 9 Jan 2012 12:41:42 +0000 (12:41 +0000)]
Add <glossary> to nroff.xsl and revert r1222335 partially.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229116 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix XML validation error.
Takashi Sato [Mon, 9 Jan 2012 11:47:28 +0000 (11:47 +0000)]
Fix XML validation error.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229099 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSync with 2.2 branch
Takashi Sato [Mon, 9 Jan 2012 08:27:00 +0000 (08:27 +0000)]
Sync with 2.2 branch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229059 13f79535-47bb-0310-9956-ffa450edef68

12 years agoChanges to mod_heart* docs upon review by rjung
Sander Temme [Mon, 9 Jan 2012 04:20:46 +0000 (04:20 +0000)]
Changes to mod_heart* docs upon review by rjung

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229024 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCore configuration: add AllowOverride option to treat syntax
Nick Kew [Mon, 9 Jan 2012 04:01:06 +0000 (04:01 +0000)]
Core configuration: add AllowOverride option to treat syntax
errors in .htaccess as non-fatal.
PR 52439

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1229021 13f79535-47bb-0310-9956-ffa450edef68

12 years agorewrite guesses URL or Filesystem in server context, but treats everything
Eric Covener [Sun, 8 Jan 2012 16:57:55 +0000 (16:57 +0000)]
rewrite guesses URL or Filesystem in server context, but treats everything
as a URL in per-dir context.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228894 13f79535-47bb-0310-9956-ffa450edef68

12 years agofix signedness issue with SSL_X509_NAME_to_string()'s maxlen argument
Kaspar Brand [Sun, 8 Jan 2012 10:08:19 +0000 (10:08 +0000)]
fix signedness issue with SSL_X509_NAME_to_string()'s maxlen argument

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228816 13f79535-47bb-0310-9956-ffa450edef68

12 years agooptimize this... Do strlen() ONLY if we need to check
Jim Jagielski [Sun, 8 Jan 2012 01:40:01 +0000 (01:40 +0000)]
optimize this... Do strlen() ONLY if we need to check
for overflow.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228766 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate heartbeat module documentation, add documentation for mod_watchdog
Sander Temme [Sat, 7 Jan 2012 19:10:28 +0000 (19:10 +0000)]
Update heartbeat module documentation, add documentation for mod_watchdog

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228700 13f79535-47bb-0310-9956-ffa450edef68

12 years agoClean up size_t abuse, part 2. ap_malloc/calloc/realloc are explicitly
William A. Rowe Jr [Fri, 6 Jan 2012 18:15:08 +0000 (18:15 +0000)]
Clean up size_t abuse, part 2.  ap_malloc/calloc/realloc are explicitly
excluded from this cleanup as they must be signature identical to the
clib functions, and although the definition of size_t has been flakey,
the definition of those functions appears to be generally clean since
ANSI C.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228323 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSimple edit, when 'saved' this will always alphasort anyways
William A. Rowe Jr [Fri, 6 Jan 2012 00:35:54 +0000 (00:35 +0000)]
Simple edit, when 'saved' this will always alphasort anyways

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227910 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCure size_t abuse, curse some recent code [recommit good bits from r1227852]
William A. Rowe Jr [Thu, 5 Jan 2012 21:50:31 +0000 (21:50 +0000)]
Cure size_t abuse, curse some recent code [recommit good bits from r1227852]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227856 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRevert a whole mess that was not ment to be committed
William A. Rowe Jr [Thu, 5 Jan 2012 21:48:21 +0000 (21:48 +0000)]
Revert a whole mess that was not ment to be committed

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227855 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCure size_t abuse, curse some recent code
William A. Rowe Jr [Thu, 5 Jan 2012 21:43:24 +0000 (21:43 +0000)]
Cure size_t abuse, curse some recent code

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227852 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate the comment and checks around address/connection reusability
Eric Covener [Thu, 5 Jan 2012 15:45:01 +0000 (15:45 +0000)]
Update the comment and checks around address/connection reusability
in mod_proxy.

The checks and comment are a vestige of 2.0.x
mod_proxy_http where the backend proxy conn was stored in
the frontend r->conn_config, but ap_proxy_determine_connection()
doesn't associate the frontend and backend conns like this.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227642 13f79535-47bb-0310-9956-ffa450edef68

12 years agorestore the generic proxy workers to not being address-reusable.
Eric Covener [Thu, 5 Jan 2012 15:41:47 +0000 (15:41 +0000)]
restore the generic proxy workers to not being address-reusable.

The guts of mod_proxy is not really ready for the addr and host on a
proxy_conn_rec to change over time and differ from the 1 cached in the worker.

* proxy_worker->cp->addr needs to know what host/port it cached
* conn->addr and conn->hostname need to be allocated from their own subpool
  so they can be cleared as they change
* ap_proxy_determine_connection needs to be more careful about which
  addr is the TCP endpoint and what we have in either cache.
* may need to avoid updating the proxy_worker addr cache if we know
  the value is flipping.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1227637 13f79535-47bb-0310-9956-ffa450edef68

12 years agoxforms
Eric Covener [Tue, 3 Jan 2012 20:48:22 +0000 (20:48 +0000)]
xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226942 13f79535-47bb-0310-9956-ffa450edef68

12 years agoadd heartbeat to list of lb methods living in other modules.
Eric Covener [Tue, 3 Jan 2012 13:26:45 +0000 (13:26 +0000)]
add heartbeat to list of lb methods living in other modules.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226775 13f79535-47bb-0310-9956-ffa450edef68

12 years agofill in the heartbeat modules' documentation.
Eric Covener [Tue, 3 Jan 2012 02:11:25 +0000 (02:11 +0000)]
fill in the heartbeat modules' documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226603 13f79535-47bb-0310-9956-ffa450edef68

12 years agos/2011/2012/g
Rich Bowen [Mon, 2 Jan 2012 22:52:11 +0000 (22:52 +0000)]
s/2011/2012/g

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226563 13f79535-47bb-0310-9956-ffa450edef68

12 years agoadd/enhance some hints about configuration section merging (or lack of it in
Eric Covener [Mon, 2 Jan 2012 17:18:39 +0000 (17:18 +0000)]
add/enhance some hints about configuration section merging (or lack of it in
the case of mod_access_compat)
PR52406

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226477 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd a bit of debug logging
Stefan Fritsch [Mon, 2 Jan 2012 09:00:55 +0000 (09:00 +0000)]
Add a bit of debug logging

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226375 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAvoid using C++ reserved word 'new' in arg name in header
Stefan Fritsch [Mon, 2 Jan 2012 04:17:46 +0000 (04:17 +0000)]
Avoid using C++ reserved word 'new' in arg name in header
Doc tweaks

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226339 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDisplay registered providers
Stefan Fritsch [Fri, 30 Dec 2011 11:00:31 +0000 (11:00 +0000)]
Display registered providers

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225799 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd new ap_list_provider_groups() API for mod_info
Stefan Fritsch [Fri, 30 Dec 2011 10:55:00 +0000 (10:55 +0000)]
Add new ap_list_provider_groups() API for mod_info

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225798 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSort list of modules
Stefan Fritsch [Fri, 30 Dec 2011 10:52:51 +0000 (10:52 +0000)]
Sort list of modules

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225796 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDisplay all those shiny new hooks that we have in 2.4
Stefan Fritsch [Fri, 30 Dec 2011 10:49:43 +0000 (10:49 +0000)]
Display all those shiny new hooks that we have in 2.4

Add new section "Other Hooks" for those that don't fit into "Startup Hooks"
or "Request Hooks"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225795 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix another case of #ifdef-within-a-macro (which was inadvertently
Kaspar Brand [Fri, 30 Dec 2011 10:39:00 +0000 (10:39 +0000)]
Fix another case of #ifdef-within-a-macro (which was inadvertently
introduced a few days ago).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225791 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDocument the unfortunate side effect of converting ap_log_*error into macros
Stefan Fritsch [Thu, 29 Dec 2011 09:07:48 +0000 (09:07 +0000)]
Document the unfortunate side effect of converting ap_log_*error into macros
with respect to #ifdef.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225478 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDon't use #ifdef inside macro calls
Stefan Fritsch [Thu, 29 Dec 2011 08:57:55 +0000 (08:57 +0000)]
Don't use #ifdef inside macro calls

The behavior is undefined according to C99 6.10.3.11 and it breaks with
xlc on AIX

PR: 52394

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225476 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSECURITY: CVE-2012-0021 (cve.mitre.org)
Stefan Fritsch [Wed, 28 Dec 2011 23:15:04 +0000 (23:15 +0000)]
SECURITY: CVE-2012-0021 (cve.mitre.org)

Fix segfault when trying to log a nameless valueless cookie

PR: 52256
Submitted by: Rainer Canavan <rainer-apache 7val com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225380 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix handling of piped, syslog, or inherited ErrorLog entries
Stefan Fritsch [Wed, 28 Dec 2011 16:33:11 +0000 (16:33 +0000)]
Fix handling of piped, syslog, or inherited ErrorLog entries

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225223 13f79535-47bb-0310-9956-ffa450edef68

12 years agoCheck during configtest that the directories for error logs exist
Stefan Fritsch [Wed, 28 Dec 2011 14:54:49 +0000 (14:54 +0000)]
Check during configtest that the directories for error logs exist

Testing under Windows is welcome

PR: 29941

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225199 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix -DDUMP_RUN_CFG output for piped and syslog loggers
Stefan Fritsch [Wed, 28 Dec 2011 14:50:44 +0000 (14:50 +0000)]
Fix -DDUMP_RUN_CFG output for piped and syslog loggers

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225198 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdapt loglevel of config errors during second pass
Stefan Fritsch [Wed, 28 Dec 2011 14:48:28 +0000 (14:48 +0000)]
Adapt loglevel of config errors during second pass

Don't use APLOG_STARTUP since at that point, the error log is already
available. This gives us timestamps if these errors happen during graceful
restart.

Use level 'emerg' as these errors are fatal.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225197 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdjust the translations to r1223048 (Apache Tomcat link)
Takashi Sato [Wed, 28 Dec 2011 00:27:29 +0000 (00:27 +0000)]
Adjust the translations to  r1223048 (Apache Tomcat link)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225060 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix link to Apache Tomcat.
Takashi Sato [Sun, 25 Dec 2011 06:46:42 +0000 (06:46 +0000)]
Fix link to Apache Tomcat.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1223048 13f79535-47bb-0310-9956-ffa450edef68

12 years agoadd missing #ifdef in ssl_cmd_protocol_parse (should have been in r1222921)
Kaspar Brand [Sat, 24 Dec 2011 07:31:50 +0000 (07:31 +0000)]
add missing #ifdef in ssl_cmd_protocol_parse (should have been in r1222921)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222930 13f79535-47bb-0310-9956-ffa450edef68

12 years agoupdate transformations
Kaspar Brand [Sat, 24 Dec 2011 06:50:55 +0000 (06:50 +0000)]
update transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222923 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSSLProtocol: allow explicit control of TLSv1.1 and TLSv1.2 flavors when
Kaspar Brand [Sat, 24 Dec 2011 06:40:10 +0000 (06:40 +0000)]
SSLProtocol: allow explicit control of TLSv1.1 and TLSv1.2 flavors when
compiled against OpenSSL 1.0.1 or later. Update documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222921 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSet OPENSSL_NO_SSL_INTERN when compiling against OpenSSL 1.0.1
Kaspar Brand [Sat, 24 Dec 2011 06:31:37 +0000 (06:31 +0000)]
Set OPENSSL_NO_SSL_INTERN when compiling against OpenSSL 1.0.1
or later, so that mod_ssl retains binary compatibility with future
versions when internal structures are changed. Use API functions
where available, and fall back to direct access for OpenSSL up
to 1.0.0, where needed.

Remove SSL_make_ciphersuite() from ssl_util_ssl.[ch], as it was
never used by any released version of mod_ssl.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222917 13f79535-47bb-0310-9956-ffa450edef68

12 years agoREMOTE_ADDR is now r->useragent_ip, which is not/never available at
Kaspar Brand [Sat, 24 Dec 2011 06:22:49 +0000 (06:22 +0000)]
REMOTE_ADDR is now r->useragent_ip, which is not/never available at
SSL_CB_HANDSHAKE_DONE time. ap_log_cerror() already logs c->client_ip
for us, however, so we can simply drop REMOTE_ADDR from the message.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222915 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformation.
Graham Leggett [Thu, 22 Dec 2011 21:55:21 +0000 (21:55 +0000)]
Update transformation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222475 13f79535-47bb-0310-9956-ffa450edef68

12 years agoClarify how the filters are merged when defined using the AddOuputFilter
Graham Leggett [Thu, 22 Dec 2011 21:54:55 +0000 (21:54 +0000)]
Clarify how the filters are merged when defined using the AddOuputFilter
directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222473 13f79535-47bb-0310-9956-ffa450edef68

12 years agomod_mime: Don't arbitrarily bypass AddOutputFilter during a ProxyPass,
Graham Leggett [Thu, 22 Dec 2011 17:48:17 +0000 (17:48 +0000)]
mod_mime: Don't arbitrarily bypass AddOutputFilter during a ProxyPass,
but then allow AddOutputFilter during a RewriteRule [P]. Make mod_mime
behave identically in both cases. PR52342.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222370 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations.
Graham Leggett [Thu, 22 Dec 2011 16:51:42 +0000 (16:51 +0000)]
Update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222344 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd a link to the general HTTP compliance instructions.
Graham Leggett [Thu, 22 Dec 2011 16:51:15 +0000 (16:51 +0000)]
Add a link to the general HTTP compliance instructions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222342 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations.
Graham Leggett [Thu, 22 Dec 2011 16:38:24 +0000 (16:38 +0000)]
Update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222336 13f79535-47bb-0310-9956-ffa450edef68

12 years agoBuild the man page for httxt2dbm.
Graham Leggett [Thu, 22 Dec 2011 16:38:00 +0000 (16:38 +0000)]
Build the man page for httxt2dbm.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222335 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRPM: Add mod_policy to the RPM spec file.
Graham Leggett [Wed, 21 Dec 2011 11:51:00 +0000 (11:51 +0000)]
RPM: Add mod_policy to the RPM spec file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221683 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations.
Graham Leggett [Wed, 21 Dec 2011 10:47:19 +0000 (10:47 +0000)]
Update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221671 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd documentation for mod_policy, as well as explanatory documentation
Graham Leggett [Wed, 21 Dec 2011 10:45:03 +0000 (10:45 +0000)]
Add documentation for mod_policy, as well as explanatory documentation
for developers or end users affected by each policy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221670 13f79535-47bb-0310-9956-ffa450edef68

12 years agomod_policy: Add a new testing module to help server administrators
Graham Leggett [Wed, 21 Dec 2011 10:42:34 +0000 (10:42 +0000)]
mod_policy: Add a new testing module to help server administrators
enforce a configurable level of protocol compliance on their
servers and application servers behind theirs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221668 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMove ab, logresolve, httxt2dbm and apxs to bin from sbin, along with
Graham Leggett [Tue, 20 Dec 2011 14:51:10 +0000 (14:51 +0000)]
Move ab, logresolve, httxt2dbm and apxs to bin from sbin, along with
corresponding man pages.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221292 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdded mod_firehose and firehose to NetWare build.
Guenter Knauf [Tue, 20 Dec 2011 12:13:29 +0000 (12:13 +0000)]
Added mod_firehose and firehose to NetWare build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221216 13f79535-47bb-0310-9956-ffa450edef68

12 years agoSome cosmetic NetWare makefile tweaks.
Guenter Knauf [Tue, 20 Dec 2011 11:55:03 +0000 (11:55 +0000)]
Some cosmetic NetWare makefile tweaks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221213 13f79535-47bb-0310-9956-ffa450edef68

12 years agoMake mod_lua compile with lua 5.2.x.
Guenter Knauf [Tue, 20 Dec 2011 11:27:43 +0000 (11:27 +0000)]
Make mod_lua compile with lua 5.2.x.

MOdified patch submitted by NormW (nornw gknw net).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221205 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix the case where AP_DEBUG is unset.
Graham Leggett [Mon, 19 Dec 2011 17:13:55 +0000 (17:13 +0000)]
Fix the case where AP_DEBUG is unset.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220850 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDistinguish properly between the bindir and sbindir directories when
Graham Leggett [Mon, 19 Dec 2011 17:00:49 +0000 (17:00 +0000)]
Distinguish properly between the bindir and sbindir directories when
installing binaries. Previously all binaries were silently installed to
sbindir, whether they were system administration commands or not.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220846 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix warning: variable 'rv' set but not used.
Graham Leggett [Mon, 19 Dec 2011 16:20:26 +0000 (16:20 +0000)]
Fix warning: variable 'rv' set but not used.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220826 13f79535-47bb-0310-9956-ffa450edef68

12 years agoFix warning: 'nlen' may be used uninitialized in this function.
Graham Leggett [Mon, 19 Dec 2011 16:10:22 +0000 (16:10 +0000)]
Fix warning: 'nlen' may be used uninitialized in this function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220822 13f79535-47bb-0310-9956-ffa450edef68

12 years agoRPM: Remove fiddling with installbuilddir, this is correct by default
Graham Leggett [Mon, 19 Dec 2011 15:26:06 +0000 (15:26 +0000)]
RPM: Remove fiddling with installbuilddir, this is correct by default
through the use of config.layout.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220794 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations.
Graham Leggett [Mon, 19 Dec 2011 14:35:23 +0000 (14:35 +0000)]
Update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220772 13f79535-47bb-0310-9956-ffa450edef68

12 years agoClarify which tarballs we are talking about.
Graham Leggett [Mon, 19 Dec 2011 14:32:20 +0000 (14:32 +0000)]
Clarify which tarballs we are talking about.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220768 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations.
Graham Leggett [Mon, 19 Dec 2011 00:37:19 +0000 (00:37 +0000)]
Update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220571 13f79535-47bb-0310-9956-ffa450edef68

12 years agoAdd further explanation on RPM packaging.
Graham Leggett [Mon, 19 Dec 2011 00:36:39 +0000 (00:36 +0000)]
Add further explanation on RPM packaging.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220570 13f79535-47bb-0310-9956-ffa450edef68

12 years agoUpdate transformations.
Graham Leggett [Sun, 18 Dec 2011 20:15:42 +0000 (20:15 +0000)]
Update transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220525 13f79535-47bb-0310-9956-ffa450edef68

12 years agoDocument the RPM platform.
Graham Leggett [Sun, 18 Dec 2011 20:14:28 +0000 (20:14 +0000)]
Document the RPM platform.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220524 13f79535-47bb-0310-9956-ffa450edef68