Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8AE98D75 for ; Thu, 1 Sep 2011 14:36:05 +0000 (UTC) Received: (qmail 53055 invoked by uid 500); 1 Sep 2011 14:36:04 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 52994 invoked by uid 500); 1 Sep 2011 14:36:04 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 52986 invoked by uid 99); 1 Sep 2011 14:36:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 14:36:04 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.229.52.226] (HELO baldur) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 14:35:59 +0000 Received: from baldur (localhost [127.0.0.1]) by baldur (Postfix) with ESMTP id 34438C18D714 for ; Thu, 1 Sep 2011 15:35:38 +0100 (BST) Date: Thu, 1 Sep 2011 15:35:36 +0100 From: Nick Kew To: dev@httpd.apache.org Subject: Re: RequestHeader early with CVE-2011-3192 Message-ID: <20110901153536.0a836fe3@baldur> In-Reply-To: <7F9A6D26EB51614FBF9F81C0DA4CFEC8024A9D51853C@il-ex01.ad.checkpoint.com> References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8024A9D51853C@il-ex01.ad.checkpoint.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 1 Sep 2011 16:58:07 +0300 Yehezkel Horowitz wrote: > Hello > > In case I don't want to support "Range" and "Request-Range" headers at all, would it be safe to remove those headers in the early processing hook? > > Something like: > RequestHeader unset Range early > RequestHeader unset Range-Request early > > I'm asking because the documentation of mod_headers recommends not using the early mode in an operational server. This would be on-topic for the users list rather than here. The reason for that recommendation is that when used 'early' it will have side-effects, like ignoring the context it's supposed to be configured for. If you want the unset to apply server-wide, then early should be fine. -- Nick Kew