Skip to content
  1. Nov 01, 2016
    • Jim Jagielski's avatar
      Merge r1688399 from trunk: · 95009316
      Jim Jagielski authored
      mod_remoteip: Use r->useragent_addr as the root trusted address for verifying.
      
      This fixes issue resulting in setting of bad useragent_ip when internal
      redirection has been generated as response to the request (typically as
      result of "ErrorDocument 40x").
      
      In this case, the original request has been handled by mod_remoteip and its
      useragent_ip has been changed properly, but when internal redirection
      to ErrorDocument has been generated later, the mod_remoteip's handler has been
      executed again with *the same* c->client_addr as in the original request. If
      c->client_addr IP is trusted, this results in bad useragent_ip being set.
      
      When using r->useragent_addr as the root trusted address instead of
      c->client_addr, the internal redirection uses the first non-trusted
      IP in this particular case, so it won't change the r->useragent_ip during
      the internal redirection to ErrorDocument.
      
      Submitted by: jkaluza
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1767483 13f79535-47bb-0310-9956-ffa450edef68
      95009316
    • Jim Jagielski's avatar
      Merge r1698239 from trunk: · 4b5ca1c7
      Jim Jagielski authored
      Submitted by: covener
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1767482 13f79535-47bb-0310-9956-ffa450edef68
      4b5ca1c7
  2. Oct 27, 2016
  3. Oct 24, 2016
  4. Oct 17, 2016
  5. Oct 11, 2016
  6. Oct 03, 2016
  7. Sep 19, 2016
  8. Sep 06, 2016
    • Jim Jagielski's avatar
      Merge r1758307, r1758308, r1758309, r1758311 from trunk: · 0a4ab924
      Jim Jagielski authored
      mpm_winnt: remove 'data' AcceptFilter in favor of 'connect'
      
      The 'data' AcceptFilter optimization instructs Windows to wait until
      data is received on a connection before completing the AcceptEx
      operation. Unfortunately, it seems this isn't performed atomically --
      AcceptEx "partially" accepts the incoming connection during the wait for
      data, leaving all other incoming connections in the accept queue. This
      opens the server to a denial of service.
      
      Since the fix for this requires a substantial rearchitecture (likely
      involving multiple outstanding calls to AcceptEx), disable the 'data'
      filter for now and replace it with 'connect', which uses the AcceptEx
      interface but does not wait for data.
      
      Users running prior releases of httpd on Windows should explicitly move
      to a 'connect' AcceptFilter in their configurations if they are
      currently using the default 'data' filter.
      
      Many thanks to mludha, Arthur Ramsey, Paul Spangler, and many others for
      their assistance in tracking down and diagnosing this issue.
      
      PR: 59970
      
      mpm_winnt: remove the AcceptEx data network bucket
      
      Follow-up to the prior commit: without an incoming data buffer, the
      custom network bucket code is now orphaned and we can remove it
      entirely. This has the added benefit that we are no longer using the
      internal OVERLAPPED.Pointer field, which is discouraged by the MSDN
      docs.
      
      mpm_winnt: remove duplication of ap_process_connection
      
      Further follow-up to the previous commit: now that we no longer patch a
      network bucket into the brigade, we can revert to calling
      ap_process_connection() directly instead of duplicating its logic.
      
      docs: rebuild
      Submitted by: jchampion
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1759471 13f79535-47bb-0310-9956-ffa450edef68
      0a4ab924
  9. Sep 01, 2016
  10. Aug 30, 2016
  11. Aug 27, 2016
  12. Aug 25, 2016
  13. Aug 24, 2016
  14. Aug 16, 2016
  15. Aug 03, 2016
  16. Jul 22, 2016
  17. Jul 20, 2016
  18. Jul 10, 2016
  19. Jun 30, 2016
  20. Jun 28, 2016
  21. Jun 26, 2016
  22. Jun 22, 2016
  23. Jun 20, 2016
  24. Jun 16, 2016
  25. Jun 15, 2016
  26. Jun 14, 2016
  27. Jun 13, 2016