You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/01/22 16:07:29 UTC

DO NOT REPLY [Bug 38350] New: - POST & SSL Renegotiation fix not robust

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38350>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38350

           Summary: POST & SSL Renegotiation fix not robust
           Product: Apache httpd-2
           Version: 2.0.54
          Platform: DEC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tlhackque@yahoo.com


I ran into the "SSL fails to renegotate on a POST bug" & was able to apply the 
patch from #12355 to fedora with a minor adaptation.  (The header file changed 
from mod_ssl.h to ssl_private.h)  Thank you - it solved the immediate crisis.

However, it seems to me that sooner or later, someone will hit this when 
posting a 10MB file.  (or 100MB.. or whatever the pain threshold is above which 
raising the buffer size limit is unacceptable.)  Since this is application/user 
behavior, the current fix imposes an arbitrary limit that the protocol and 
current usage do not.

Suggestion: when an incoming POST in this situation exceeds the memory buffer 
threshhold, spool the data to a file.  Let the config file directive specify 
the maximum file size.  That puts control in the hands of the person running 
the system, rather than the address space limit of the server.  But smaller 
requests still use the memory bucket brigade for performance.

In reviewing the previous bug report's history, I see that using a file was 
suggested.  (Few ideas are truly new.)  I think this is the right way to 
permanently close this issue.  

I suggest that the config file specify the spooling directory and max post 
size.  

Thanks for your consideration.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 38350] - POST & SSL Renegotiation fix not robust

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38350>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38350


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From jorton@redhat.com  2006-01-30 10:52 -------
Spooling to a file adds too much complexity and risk ("Hey, my SSL server
stopped working properly when my /var/tmp filled up.  WTF?"), for little
benefit.  You should really design your site/application such that it does not
require request bodies of unlimited size to be sent to a resource which may
require a per-location SSL renegotiation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org