]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Further mitigation for the TLS renegotation attack, CVE-2009-3555:
authorJoe Orton <jorton@apache.org>
Wed, 16 Dec 2009 15:59:49 +0000 (15:59 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 16 Dec 2009 15:59:49 +0000 (15:59 +0000)
commitc9897ccf0ccdb7de8687621bc400a43d7b7f31bf
tree73ccc8c977a71aae077f0325648f6ef8acb105ab
parent730a42e3340e255bb54d28b60f8e1e18e49fbee1
Further mitigation for the TLS renegotation attack, CVE-2009-3555:

* modules/ssl/ssl_engine_kernel.c (has_buffered_data): New function.
  (ssl_hook_Access): Forcibly disable keepalive for the connection if
  there is any buffered data readable from the input filter stack.

* modules/ssl/ssl_engine_io.c (ssl_io_filter_input): Ensure that the
  BIO uses blocking operations when invoked outside direct control of
  the httpd filter stack.

Thanks to Hartmut Keil <Hartmut.Keil adnovum.ch> for proposing this
technique.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@891282 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/ssl_engine_io.c
modules/ssl/ssl_engine_kernel.c