Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 83085 invoked from network); 16 Dec 2009 21:19:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 21:19:18 -0000 Received: (qmail 20552 invoked by uid 500); 16 Dec 2009 21:19:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 20465 invoked by uid 500); 16 Dec 2009 21:19:14 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 20454 invoked by uid 99); 16 Dec 2009 21:19:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 21:19:14 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 21:19:12 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 47AF22260D5 for ; Wed, 16 Dec 2009 22:18:51 +0100 (CET) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wyfvRascCDFX for ; Wed, 16 Dec 2009 22:18:51 +0100 (CET) Received: from [192.168.245.129] (p549EB31D.dip0.t-ipconnect.de [84.158.179.29]) by tor.combios.es (Postfix) with ESMTPA id F0EAC2260D2 for ; Wed, 16 Dec 2009 22:18:50 +0100 (CET) Message-ID: <4B294EB6.4090109@ice-sa.com> Date: Wed, 16 Dec 2009 22:18:46 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer References: <4B29451E.2080100@ufl.edu> In-Reply-To: <4B29451E.2080100@ufl.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Martin B. Smith wrote: > Howdy! > > I'm trying to ensure that only specific instances of Apache are allowed > to proxy requests into my Tomcat 5.5.28 instances. Unfortunately, it > looks like Tomcat is seeing the actual client IP making the original > request to Apache. Does anyone have a configuration that only allows > specific Apache (mod_)proxies to be serviced by Tomcat? > Of course if your are under Linux, you could use iptables to block requests to port 8009, from hosts you don't like. And if you are under Windows, you could use the Windows firewall or filtering rules. Probably even more efficient than doing this at the Tomcat level. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org