httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject [STATUS] (httpd-2.0) Wed Aug 1 23:45:07 EDT 2001
Date Thu, 02 Aug 2001 03:45:08 GMT
APACHE 2.0 STATUS:						-*-text-*-
Last modified at [$Date: 2001/07/31 19:21:50 $]


    2.0.22  : rolled July 29, 2001
    2.0.21  : rolled July 20, 2001
    2.0.20  : rolled July 8, 2001
    2.0.19  : rolled June 27, 2001
    2.0.18  : rolled May 18, 2001
    2.0.17  : rolled April 17, 2001
    2.0.16  : rolled April 4, 2001
    2.0.15  : rolled March 21, 2001
    2.0.14  : rolled March 7, 2001
    2.0a9   : released December 12, 2000
    2.0a8   : released November 20, 2000
    2.0a7   : released October 8, 2000
    2.0a6   : released August 18, 2000
    2.0a5   : released August 4, 2000
    2.0a4   : released June 7, 2000
    2.0a3   : released April 28, 2000
    2.0a2   : released March 31, 2000
    2.0a1   : released March 10, 2000


    * mod_cgid and suexec have a problem co-existing.  suexec sees a null
      command string sometimes.

    * core dump from 20010418 running 2_0_16

      #0  0x2813a3c8 in kill () from /usr/lib/
      #1  0x2817609e in abort () from /usr/lib/
      #2  0x8065299 in ap_log_assert (szExp=0x80aaa60 "total_bytes_left > 0 &&
tmplen > 0", szFile=0x80aa2aa "core.c", nLine=2555)
          at log.c:562
      #3  0x8075227 in sendfile_it_all (c=0x81470fc, fd=0x814759c, hdtr=0xbfbff670, file_offset=1929216,
          total_bytes_left=261949, flags=0) at core.c:2555
      #4  0x80761e2 in core_output_filter (f=0x814737c, b=0x814764c) at core.c:3172
      #5  0x806d227 in ap_pass_brigade (next=0x814737c, bb=0x81e80fc) at util_filter.c:240
      #6  0x805e696 in check_pipeline_flush (r=0x820803c) at http_request.c:388
      #7  0x805e707 in ap_process_request (r=0x820803c) at http_request.c:432
      #8  0x805a1a9 in ap_process_http_connection (c=0x81470fc) at http_core.c:280
      #9  0x806bc60 in ap_run_process_connection (c=0x81470fc) at connection.c:82
      #10 0x806be84 in ap_process_connection (c=0x81470fc) at connection.c:216
      #11 0x805fbba in child_main (child_num_arg=272) at prefork.c:807
      #12 0x805fd20 in make_child (s=0x80c64fc, slot=272) at prefork.c:880
      #13 0x805ffec in perform_idle_server_maintenance () at prefork.c:1021
      #14 0x80603d1 in ap_mpm_run (_pconf=0x80c600c, plog=0x80f300c, s=0x80c64fc) at prefork.c:1191
      #15 0x80660cd in main (argc=1, argv=0xbfbffadc) at main.c:425
      #16 0x8059bf9 in _start ()

      The input data (received in one read from TCP layer):

      GET /log4j/ HTTP/1.0
      Via: 1.0 MDRPRXY01, 1.0 NS2
      Connection: Keep-Alive
      User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
      Accept: application/, application/msword, application/,
image/gif, image/x-xbitmap, image/jpeg,
      image/pjpeg, */*
      Accept-Language: en-us,tscii;q=0.5
      Accept-Encoding: gzip, deflate

      The confusion was because apr_sendfile() returned APR_SUCCESS
      but zero bytes sent.  Presumably the FreeBSD kernel sendfile()
      did the same thing (not 100% sure).

      Also happened on 20010605...


      GET /builds/jakarta-turbine/release/2.1/ HTTP/1.1
      Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
      application/, application/, 
      application/msword, */*
      Accept-Language: en-gb
      Accept-Encoding: gzip, deflate
      User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
      Connection: Keep-Alive

      Again, it would seem that FreeBSD sendfile() returned rc 0 with
      no bytes sent.  (Other eyes welcome, of course... make sure you
      look at 2_0_16 sources.)

    * core dump from 20010521 and 20010529 running 2_0_16 - the "3030" problem

      #0  0x80987e8 in apr_cvt (arg=1.3980432860952889e-76,
                                ndigits=808464432, decpt=0x30303030, 
                                sign=0x30303030, eflag=808464432,
                                buf=0x30303030 <Address 0x30303030 out of bounds>) at
      #1  0x30303030 in ?? ()
      Cannot access memory at address 0x30303030. 

      In both coredumps the request is /server-status?auto.

      It is unclear whether the apr_*printf function was passed bad
      data or it screwed up on its own.  0x30 is '0'.  There is a
      string of 200-300 '0' characters in the dump, apparently
      overlaying enough of the stack to cause serious problems :)


    WARNING: ALWAYS check srclib/apr/STATUS and srclib/apr-util/STATUS

    * There is a bug in how we sort some hooks, at least the pre-config
      hook.  The first time we call the hooks, they are in the correct 
      order, but the second time, we don't sort them correctly.  Currently,
      the modules/http/config.m4 file has been renamed to 
      modules/http/config2.m4 to work around this problem, it should moved
      back when this is fixed.    rbb

    * The AddInputFilter and AddOutputFilter directives do not allow the
      administrator to remove or reorder filters.  Once a filter is added
      in a container, it is present in any subcontainers.  It can only be
      added to the filter chain after any filters specified in enclosing

    * remove the --disable-shared from the subdir config of APR(UTIL)
      before the final release. (in fact, it might even be nice to
      allow for Apache config/build against an already-installed
      Note: we need to do a "make install" for APR(UTIL) so the shared
            libraries can be installed properly. We could also use that
            point to install include files (rather than have Apache
	    know everything that needs to be installed from the
	    sub-packages). The original impetus for doing the
	    disable-shared was because the shared lib wasn't getting
	    installed and a "make clean" in aprutil would make Apache
	    fail to load.

    * ap_vrprintf() needs to handle more than 4K
        Status: Greg volunteers

    * mod_dir should normally redirect ALL directory requests which do
      not include a trailing slash on the URI. However, if a "notes"
      flag is set (say, via BrowserMatch), this behavior will be
      disabled for non-GET requests.
        Status: Greg volunteers
        MsgId: <>
        MsgId: <3A9C0097.9C83F07C@Golux.Com>

    * Usability: Sanitize the MPM config directives.  MaxClients in 
      the threaded MPM is totally misleading now as it has little to
      do with limiting the number of clients (it limits the number
      of child processes). Bill proposed nomenclature change to
      something like "StartWorkers, MaxWorkers, etc." that could 
      apply to most all the MPMs (with some notable exceptions).
      Bill would be happy with changing MaxClients to MaxServers
      to make it agree with the operation of the StartServers


    * Win32: Rotatelogs sometimes is not terminated when Apache
      goes down hard.  FirstBill was looking at possibly tracking the 
      child's-child processes in the parent process.

    * Win32: Add a simple hold console open patch (wait for close or
        the ESC key, with a nice message) if the server died a bad 
        death (non-zero exit code) in console mode.
        Resolution: bring forward same ugly hacks from 1.3.13-.20

    * Port of mod_ssl to Apache 2.0:

      The current porting state is summarized in modules/ssl/README.  The next
      step is to figure out how the old three configuration contexts (global,
      per-server, per-directory) can be ported to Apache 2.0 (especially the
      global context which has to survive server restarts RSE still does not
      know how to port). Then the remaining source files (which depend on the
      configuration contexts) which are still tagged with "-" in
      modules/ssl/README can be ported. 
      One more thing to figure out is how and when mod_ssl can provide the
      interactive pass phrase dialog (in Apache 1.3 it used the first init
      round [where tty was still not detached] and skipped the second init
      round [where it was already detached]). Apache 2.0 requires (or already
      has?) an official hook where such tty-dialogs can be performed.

      RSE is on holiday until June 11th, 2001. After this he starts
      working on mod_ssl again and tries to make mod_ssl running inside
      Apache 2.0 by end of June. If anyone wants to help making mod_ssl
      running in the meantime, feel free to make your hands dirty inside
      modules/ssl/. Do whatever you think is appropriate to get it
      running. I've no objections of any kind, except: just do not
      remove any old functionality. Keep everything, even if it needs
      #if 0...endif wrapped to not make trouble for you.

      optimization working in threaded.  prefork's new design for how
      to notice data on the pod should be sufficient.

    * mod_tls is very specific to OpenSSL. Make the API calls
      more generic to support other encryption libraries.

    * Performance & Debug: Eliminate most (and perhaps all) of the 
      malloc/free calls in the bucket brigade code.  Need some 
      light weight memory management functions that allow freeing 
      memory (putting it back into a memory pool) when it is no 
      longer needed. Enabling simple debugging features like guard
      bands, double free detection, etc. would be cool but certainly
      not a hard requirement.
        Status: Cliff, David, et al have discussed using the blocks SMS
	        for this.  First step is to s/malloc/apr_sms_malloc/g, etc.
		We could then have a thread-private SMS that is pointed
		to by the conn_rec's or something so that all calls to
		the bucket create functions can pass in that SMS.  No locks
		required.  Should be fast... 

    * Eliminate unnecessary creation of pipes in mod_cgid

    * the autoconf setup should be fixed to default to using the 
      "Apache" layout from config.layout, and each variable settable
      in a layout should be overridable on the command line.  Plus,
      what we do right now just doesn't seem to fully fit into how autoconf
      works, eg. AC_PREFIX_DEFAULT issues.
        Message-ID: <>

    * Combine log_child and piped_log_spawn. Clean up http_log.c.
      Common logging API.

    * Document mod_file_cache.

    * OS/2: Make mod_status work for spmt_os2 MPM.

    * Platforms that do not support fork (primarily Win32 and AS/400)
      Architect start-up code that avoids initializing all the modules 
      in the parent process on platforms that do not support fork.

    * Win32: Migrate the MPM over to use APR thread/process calls. This
      would eliminate some code in the Win32 branch that essentially
      duplicates what is in APR.

    * There are still a number of places in the code where we are
      losing error status (i.e. throwing away the error returned by a
      system call and replacing it with a generic error code)

    * Mass vhosting version of suEXEC.

    * All DBMs suffer from confusion in support/dbmmanage (perl script) since 
        the dbmmanage employs the first-matched dbm format.  This is not
        necessarily the library that Apache was built with.  Aught to
        rewrite dbmmanage upon installation to bin/ with the proper library 
        for predictable mod_auth_db/dbm administration.

    * use apu_dbm in mod_auth_dbm
        Status: Greg +1 (low-priority volunteer)

    * Integrate mod_dav.
        Some additional items remaining:
	- case_preserved_filename stuff
	    (use the new canonical name stuff?)
	- find a new home for ap_text(_header)
	- is it possible to remove the DAV: namespace stuff from util_xml?

    * ap_core_translate() and its use by mod_mmap_static and mod_file_cache
      are a bit wonky.  The function should probably be exposed as a utility 
      function (such as ap_translate_url2fs() or ap_validate_fs_url() or 
      something).  Another approach would be a new hook phase after
      "translate" which would allow the module to munge what the
      translation has decided to do.
        Status: Greg +1 (volunteers), Ryan +1

    * Explore use of a post-config hook for the code in http_main.c which
      calls ap_fixup_virutal_hosts(), ap_fini_vhost_config(), and
      ap_sort_hooks()  [to reduce the logic in main()]

    * read the config tree just once, and process N times (as necessary)

    * (possibly) use UUIDs in mod_unique_id and/or mod_usertrack

    * (possibly) port the bug fix for PR 6942 (segv when LoadModule is put
      into a VirtualHost container) to 2.0.

    * shift stuff to mod_core.h

    * APR-ize resolver stuff in mod_unique_id (Jeff volunteers)

    * callers of ap_run_create_request() should check the return value
      for failure (Doug volunteers)

    * when prefork bails out due to an initialization error in the detached
      process (e.g., mutex init failure), other children (cgid, at least) 
      are left hanging around

    * Win32 should grow version info on all .dll/.so/.exe binaries.  Pretty
      simple with the right script (awk or perl), we just don't need to grow
      dozens of new files in the repository to do so.
      Suggested by: Jerker Back <> PR 7388

    * Win32: Get Apache working on Windows 95/98. The following work
	(at least) needs to be done:
	- winnt MPM: Fix 95/98 code paths in the winnt MPM. There is some NT
	specific code that is still not in NT only code paths
	- IOL binds to APR sendfile, implemented with TransmitFile, which 
        is not available on 95/98.
        - Document warning that OSR2 is required (for Crypt functions, in
        rand.c, at least.)  This could be resolved with an SSL library, or
        randomization in APR itself.
        - Bring the Win9xConHook.dll from 1.3 into 2.0 (no sense till it
        actually works) and add in a splash of Win9x service code.

PRs that have been suspended forever waiting for someone to
put them into 'the next release':

    * PR#76: general
      missing call to "setlocale();"

    * PR#78: mod_include
      Additional status for XBitHack directive

    * PR#161: mod_dir
      Questionable performace of mod_dir() with negotiation

    * PR#362: mod_proxy
      Mod_proxy doesn't allow change of error pages

    * PR#370: mod_env
      Modified PATH environemnt variable is not passed, instead
      system's is used

    * PR#440: mod_proxy
      Proxy doesn't deliver documents if not connected

    * PR#534: mod_proxy
      proxy converts ~name to %7Ename when name starts with a dot (.)

    * PR#537: mod_access
      mod_access syntax allows hosts that should be restricted

    * PR#557: mod_auth-any
      ~UserHome directories are not honored in absolute pathname
      requests (.htaccess)

    * PR#573: mod_log-any
      More LogFormat directives

    * PR#612: mod_proxy
      Proxy FTP Authentication Fails

    * PR#623: mod_include
      A smarter "Last Modified" value for SSI documents (see PR number 600)

    * PR#628: config
      Request of "Options SymLinksIfGroupMatch"

    * PR#697: mod_include
      A security tweak I've been using for a few years for SSI

    * PR#700: mod_proxy
      Proxy doesn't do links right for OpenVMS files through ftp:

    * PR#759: mod_imap
      imap should read <MAP><AREA>*</MAP> too!

    * PR#793: general
      RLimitCPU and RLimitMEM don't apply to all children like they should

    * PR#921: suexec
      Uses cwd before filling it in, doesn't use syslog

    * PR#922: config
      it is useful to allow specifiction that root-owned symlinks
      should always be followed

    * PR#980: mod_proxy
      Controlling Access to Remote Proxies would be nice...

    * PR#994: mod_proxy
      Adding authentication "on the fly" through the proxy module

    * PR#1004: apache-api
      request_config field in request_rec is moderately bogus

    * PR#1028: other
      DoS attacks involving memory consumption

    * PR#1050: mod_log-any
      Logging of virtual server to error_log as well

    * PR#1085: mod_proxy
      ProxyRemote make a dead cycle.

    * PR#1117: mod_auth-any
      Using NIS passwd.byname dbm files with AuthDBMUserFile

    * PR#1120: suexec
      suexec does not parse arguments to #exec cmd

    * PR#1145: mod_include
      Allow for Last-Modified: without resorting to XBitHack

    * PR#1156: config
      insufficent AllowOverrides granularity for autoindexing

    * PR#1158: apache-api
      improvements to child spawning API

    * PR#1166: mod_proxy
      ``nph-'' not honored (no buffering) for ProxyRemote mapping

    * PR#1176: mod_cgi
      Apache cannot handle continuation line in headers

    * PR#1191: general
      setlogin() is not called, causing problems with e.g. identd

    * PR#1204: general
      regerror() exists, use it

    * PR#1233: apache-api
      there is no way to keep per-connection per-module state

    * PR#1263: mod_dir
      Add frame-safe anchor attribute to mod_autoindex links

    * PR#1268: suexec
      CGI scripts running as Apache user: security (suexec etc.)

    * PR#1285: suexec
      Error messages could be easier to spot in cgi.log file for suexec.c

    * PR#1287: mod_access
      add allow,deny/deny,allow warning to mod_access

    * PR#1290: mod_proxy
      Need to know "hit-rate" on proxy cache

    * PR#1358: mod_log-any
      Selective url-encode of log fields (or maybe a pseudo
      log_rewrite module?)

    * PR#1383: mod_headers
      I make mod_headers to modify request headers as well as
      response ones.

    * PR#1532: mod_proxy
      Proxy transfer logging

    * PR#1547: mod_proxy
      No HTTP_X_FORWARDED_FOR set...

    * PR#1567: mod_proxy
      ProxyRemote proxy requests fail authentication by firewall

    * PR#1574: mod_autoindex
      ReadmeName and HeaderName don't allow for server-parsed html.

    * PR#1582: mod_rewrite
      mod_rewrite forms REQUEST_URI different than mod_cgi does

    * PR#1677: mod_headers
      mod_headers should allow mod_log_config-style formats in
      header values

    * PR#1702: mod_proxy
      mod_proxy to support persistent conns?

    * PR#1803: mod_include
      patches to mod_include to allow for file tests

    * PR#1809: mod_auth-any
      Suggestion for improving authentication modules and core source
      code, problem with 401 and ErrorDocument

    * PR#1855: mod_autoindex
      More Control over autoindex layout

    * PR#1878: mod_proxy
      listing of proxy cache content

    * PR#1905: suexec
      Allow modules to set user:group for execution.

    * PR#2024: apache-api
      adding auth_why to conn_rec

    * PR#2073: mod_log-any
      pipelined connections are not logged correctly

    * PR#2074: mod_rewrite
      mod_rewrite doesn't pass Proxy Throughput on internal subrequests

    * PR#2113: config
      HTTP Server Rebuild Line Needs Changing for the better

    * PR#2138: mod_status
      mod_status always displays 256 possible connection slots

    * PR#2221: documentation
      Make online documentation search link back to my installation

    * PR#2284: general
      Can not POST to ErrorDocument - Apache/1.3b6

    * PR#2314: mod_proxy
      patterns in ProxyRemote

    * PR#2343: mod_status
      Status module averages are for entire uptime

    * PR#2360: suexec
      suexec for general access of user content?

    * PR#2396: general
      Proposal for TimeZone directive

    * PR#2415: mod_info
      /server-info doesn't check for the virtual host to list the info

    * PR#2421: config
      problem specifying ndbm library for build ?with autoconfigure

    * PR#2431: general
      A small addition to rotatelogs.c to improve program functionality.

    * PR#2446: config
      AllowOverride FileInfo is too coarse

    * PR#2460: mod_cgi
      TimeOut applies to output of CGI scripts

    * PR#2512: mod_access
      &lt;IfDenied&gt; directive wanted

    * PR#2573: suexec
      CGI's for general use still have to be run as another user
      with suExec

    * PR#2648: general
      Cache file names in Proxy module

    * PR#2760: config
      [PATCH] User/Group for <Directory> and <Location> i.e. not only
      in global and <Virtual>.

    * PR#2763: general
      mailto tags and bundling bug report script

    * PR#2772: mod_log-any
      more % escapes

    * PR#2785: os-aix
      Support for System Resource Controller

    * PR#2793: protocol
      When will Apache support P3P? Any Plans?

    * PR#2873: config
      Feedback/Comment on APACI

    * PR#2889: general
      Inclusion of RPM spec file in CVS/distributions

    * PR#2906: general
      Propose that Apache recommend $UNIQUE_ID for all "session id"

    * PR#2907: config
      suggestion: power up your Include directive :)

    * PR#3018: general
      cannot limit some HTTP methods

    * PR#3026: mod_autoindex
      No way to change ReadmeName/HeaderName suffixes.

    * PR#3143: apache-api
      No module specific data hook for per-connection data

    * PR#3191: mod_negotiation
      no way to set global quality-of-source (qs) coneg values
      with multiviews

    * PR#3430: mod_negotiation
      Enhancement: MultiViews, Multi-Language Documents

    * PR#3568: mod_proxy
      Accessing URL through proxy server corrupts data.

    * PR#3594: os-windows
      Please add an Apache icon to the win32 systray instead of a DOS window

    * PR#3605: mod_proxy
      Some anonymous FTP URLs ask for authentication

    * PR#3654: mod_autoindex
      BORDER=0 makes Icons look nicer (FancyIndexing)

    * PR#3677: general
      New ErrorDocumentMatch directive

    * PR#4241: config
      Need to be able to override shebang line to make CGI scripts
      more portable.

    * PR#4244: config
      "Files" and "FilesMatch" regexp does not recognize bang as
      negation operator

    * PR#4448: mod_log-any
      Please allow CGI env variables (QUERY_STRING, ...) to be logged
      with %{}e

    * PR#4459: mod_include
      Suggestion for better handling of Last-modified headers

    * PR#4490: mod_cgi
      mod_cgi prevents handling of OPTIONS requests

    * PR#5713: os-windows
      [PATCH] install as win32 service with domain account

    * PR#5993: general
      AllowOverride should have a 'CheckNone' and 'AllowNone' argument
      instead of only 'None'

    * PR#6347: mod_mime
      MIME types for MNG and JNG files need adding to mime.types and
      the mime.types and magic files
	Status: Waiting for IANA types to be defined

Other bugs that need fixing:

    * MaxRequestsPerChild measures connections, not requests.
        Until someone has a better way, we'll probably just rename it
    * Regex containers don't work in an intutive way
        Status: No one has come up with an efficient way to fix this
        behavior. Dean has suggested getting rid of regex containers

    * SIGSEGV on Linux (glibc 2.1.2) isn't caught properly by a
      sigwaiting thread. We need to work around this, perhaps unless
      there is hope soon for a fixed glibc.

    * orig_ct in the byterange/multipart handling may not be
      needed. Apache 1.3 just never stashed "multipart" into
      r->content_type. We should probably follow suit since the
      byterange stuff doesn't want the rest of the code to see the
      multipart content-type; the other code should still think it is
      dealing with the <orig_ct> stuff.
        Status: Greg volunteers to investigate (esp. since he was most 
                likely the one to break it :-)

Other features that need writing:

    * Finish infrastructure in core for async MPMs
        Status: post 2.0

    * TODO in source -- just do an egrep on "TODO" and see what's there

Documentation that needs writing:
    * Mod_status docs are needed.

    * The concept of MPMs, especially if we ship more than one MPM for a
      given platform

    * New directives in the various MPMs and appropriate links from
	obsolete directives in core.html to the MPM documentation.

    * Revise manual/stopping.html and the last part of
	manual/misc/perf-tuning.html to take account of the MPMs.

    * API documentation
        Status: Ben Laurie has written some hooks documentation

    * Changes since 1.3.9 can be more easily seen in the commitlog file
      which includes some of Roy's comments when the changes were
      committed in rough change-sets by purpose.  Note that the commitlog
      does not show the contents of new files until later.

Available Patches:

   * Jon Travis's <> patch to deal with thread-safe
     issues with inet_ntoa.  See message <>
	Status:  This is being set aside until the IPv6 work is finished
		 so that we know exactly what is required.

   * Martin Sojka <>'s patch to add error reporting for failed 
     htpasswd actions due to a full /tmp volume (other programs may have
     similar problems?)
        PR: 6475

   * Mike Abbott's <> patches to improve
       Status: These were written for 1.3, and are awaiting a port to
   * Jim Winstead's <> patch to add CookieDomain and 
     other small mod_usertrack features

   * Dan Rench's <> patch to add allow the errmsg and timefmt 
     of SSI's to be modified in the config file.  Patch is available in 

Open issues:

   * What do we do about mod_proxy?

   * Which MPMs will be included with Apache 2.0?

View raw message