RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1213967 - Upstream Bug 51103 - mod_reqtimeout does not drop connection and return 408
Summary: Upstream Bug 51103 - mod_reqtimeout does not drop connection and return 408
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.6
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Petr Šplíchal
URL:
Whiteboard:
Depends On:
Blocks: 1172231 1269913
TreeView+ depends on / blocked
 
Reported: 2015-04-21 16:18 UTC by Coty Sutherland
Modified: 2021-01-14 09:36 UTC (History)
5 users (show)

Fixed In Version: httpd-2.2.15-48.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 21:36:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 51103 0 None None None Never
Red Hat Product Errata RHBA-2016:0841 0 normal SHIPPED_LIVE httpd bug fix and enhancement update 2016-05-10 22:42:26 UTC

Description Coty Sutherland 2015-04-21 16:18:17 UTC
Description of problem:
The mod_reqtimeout module is not dropping connections and returning 408 when dealing with "slow http header" or "slow http body" requests.  Instead, it is either truncating the request and handling it, or dropping the request with a 400 status code.

Version-Release number of selected component (if applicable):
httpd-2.2.15

How reproducible:
Every time you use the test steps below.

Steps to Reproduce:
1. Launch a slow-post attack using the OWASP HTTP DoS tool (http://code.google.com/p/owasp-dos-http-post/downloads/list)
http_dos_cli --host 1.2.3.4 --port 80 --path /server-status --slow-post --post-field j_username --connections 1000 --rate 1000 --timeout 5
2. Sniff network traffic using Wireshark, observe requests being truncated and handled, resulting in a 200 return code.

Actual results:
Request is dropped and a 400 status code is returned OR request is truncated and handled normally.

Expected results:
Request is dropped and a 408 status code is returned.

Additional info:
These steps are straight from the upstream BZ.

Comment 9 errata-xmlrpc 2016-05-10 21:36:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0841.html


Note You need to log in before you can comment on or make changes to this bug.