I saw some discussion back on the 2nd of March from John Peace re:
restricting IPs not working with Tomcat 5. I've run into the same
problem. I've tried restricting by IP, and by hostname, and neither work.
I presently have this:
Context path=/jas/example1 docBase=/cs/home/jas/webapps/example1
Actually, here's more information on the Restricting IPs not working ..
If I use:
Valve className=org.apache.catalina.valves.RemoteAddrValve allow=A.B.C.D,A.B.C.E/
I can access the app from the host at IP A.B.C.D and IP A.B.C.E, and
cannot access the app from anywhere else, so this works.
-Original Message-
From: Jason Keltz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 4:20 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Restrict to specific IP's
Actually, here's more information on the Restricting IPs not
working ..
If I use:
Valve
/RequestFilterValve.java?rev=1.3view=auto
-Original Message-
From: Jason Keltz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 4:20 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Restrict to specific IP's
Actually, here's more information on the Restricting IPs
Howdy,
However, something interesting to note -- RemoteHostValve works if I
refer
to IPs and *not* hostnames! Isn't that odd? I thought RemoteHostValve
was for hostname, and RemoteAddrValve works for IP.
That's an interesting observation. The Valves, like many other
elements, are
Do you have dnslookups enabled/disabled ?
If this is disabled the hostname ist the IP.
-Original Message-
From: Jason Keltz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 4:43 PM
To: Tomcat Users List
Subject: RE: Restrict to specific IP's
However, something
?
If this is disabled the hostname ist the IP.
-Original Message-
From: Jason Keltz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 4:43 PM
To: Tomcat Users List
Subject: RE: Restrict to specific IP's
However, something interesting to note -- RemoteHostValve
works if I refer
Hi,
I didn't realize that the default was actually enableLookups=false.
I
changed this to true and it works fine. As a side note -- any idea
why
access control allow/deny lists are by regular expression, and not just
by
standard wildcard? allow=*.cs.yorku.ca doesn't work -- you need to
do
Hello,
HPUX 11.11
Java 1.4.2
Tomcat 4.1.30
New to the list and Tomcat. I am trying to restrict access to Tomcat to a
specific range of IP addresses. I looked at all the examples and help on
using valve. I set it up according to the examples, but can't get it to
work correctly. The IP addresses
Hi,
Valve className=org.apache.catalina.valves.RemoteAddrValve
deny=132.24.195.76/
RESULT: No one is denied access. User at 132.24.195.76 can get to
132.24.195.18:8080 and access manager
Very strange: I can't reproduce what you're seeing. On a brand new
tomcat 5.0.19 installation, I just added
install.
Nothing has been changed except for my one added line?
John
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 9:11 AM
To: Tomcat Users List
Subject: RE: Restrict to specific IP's
Hi,
Valve className
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 9:11 AM
To: Tomcat Users List
Subject: RE: Restrict to specific IP's
Hi,
Valve className=org.apache.catalina.valves.RemoteAddrValve
deny=132.24.195.76/
RESULT: No one is denied access. User
Subject: Re: Restrict to specific IP's
Does everyone go through a firewall/nat/proxy so from a server point of
view
- every request is from the same IP address?
I think one of the files in one of the examples displays the client ip
address.
-Tim
[EMAIL PROTECTED] wrote:
I deleted 4.1.30. I
Hi,
I deleted 4.1.30. I downloaded 5.0.19 and loaded it on my HP. I added
just
theRemoteAddrValve deny valve. Same thing, everyone can connect.
Attached
is catalina.out from the startup. There are some errors. I looked on
the
web
and all I can find is to reload from scratch. This is a brand new
due to previous errors
John
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 11:15 AM
To: Tomcat Users List
Subject: RE: Restrict to specific IP's
Hi,
I deleted 4.1.30. I downloaded 5.0.19 and loaded it on my HP. I added
just
Hi,
The errors IO was talking about are in the catalina.out. I was refering
to
teh seperate entries of:
Mar 2, 2004 9:41:13 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Mar 2, 2004 9:41:13 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup
16 matches
Mail list logo