Hi.
I want to block connections from some hosts, I was reading about Filters
and Valves, but I think they cannot do what I want to achive.
The goals are:
- block connection very early, immediately after connection, before
reading and parsing any data from the client (to save the bandwith)
-
There is already valves which do this.
See Remote Address Filter in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
-Tim
Roman Bednarek wrote:
Hi.
I want to block connections from some hosts, I was reading about Filters
and Valves, but I think they cannot do what I want to
Hi.
I thought that a valve can be used only after the request object is
created(maybe I am wrong), so at that time the data from client is already
read and processed, and it is too late.
Thanks
Roman Bednarek
On Thu, 9 Oct 2003, Tim Funk wrote:
There is already valves which do this.