Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 20948 invoked from network); 28 Aug 2010 14:36:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Aug 2010 14:36:01 -0000 Received: (qmail 31984 invoked by uid 500); 28 Aug 2010 14:36:01 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 31713 invoked by uid 500); 28 Aug 2010 14:35:59 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 31704 invoked by uid 99); 28 Aug 2010 14:35:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Aug 2010 14:35:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Aug 2010 14:35:58 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7SEZc9P014345 for ; Sat, 28 Aug 2010 14:35:38 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o7SEZb58014344; Sat, 28 Aug 2010 10:35:37 -0400 (EDT) Date: Sat, 28 Aug 2010 10:35:37 -0400 (EDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 49838] New: segmentation fault: mod_remoteip + .htaccess + Allow/Deny X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Other Modules X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: voltara@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49838 Summary: segmentation fault: mod_remoteip + .htaccess + Allow/Deny Product: Apache httpd-2 Version: 2.3-HEAD Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Other Modules AssignedTo: bugs@httpd.apache.org ReportedBy: voltara@gmail.com I've confirmed this segmentation fault with a fresh build of 2.3.6-alpha, but initially discovered it when using a backport of mod_remoteip for 2.2. Here's the configure line I used for the 2.3.6-alpha build: ./configure --with-included-apr --with-mpm=prefork To reproduce after building from scratch, change the following in the stock httpd.conf: # Add these lines: RemoteIPHeader X-Client-IP RemoteIPInternalProxy 127.0.0.1 # Allow override of "Limit" in htdocs AllowOverride Limit In the docroot, create the .htaccess file: # The Allow/Deny can be any IP or subnet mask. Removing the Allow/Deny # "fixes" the crash. "Allow from all" won't crash either. Order allow,deny Allow from 1.2.3.4 Start up Apache, send it requests with "X-Client-IP: 2.3.4.5" (or whatever IP) in the request header, and watch the error log for segmentation faults. In my testing, the crashes can sometimes be intermittent. Freshly restarting Apache can help encourage segfaults when the bug is being "stubborn" to reproduce. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org