Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
example - Filter out hack attempts I have had no luck Googling so far for an example on how to filter based on urls. I thought I might put this in the AccessLogValve but will do whatever works. I have a limited number of jsp's and graphics on my site and would like to filter out all

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread Nathan Maves
To: Tomcat Users List Subject: Filter on url example - Filter out hack attempts I have had no luck Googling so far for an example on how to filter based on urls. I thought I might put this in the AccessLogValve but will do whatever works. I have a limited number of jsp's and graphics on my site

RE: Filter on url example - Filter out hack attempts

2004-05-11 Thread Shapira, Yoav
Hi, First of this is not a Tomcat question. This type of information is always available at http://java.sun.com or http://forum.java.sun.com/ Right, but we do encourage general servlet and JSP related discussions here too. So from what I know so far my

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
- Original Message - From: Nathan Maves [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 8:56 AM Subject: Re: Filter on url example - Filter out hack attempts First of this is not a Tomcat question. This type of information is always available at http

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread Adam Buglass
PROTECTED] Sent: Saturday, May 08, 2004 9:11 PM To: Tomcat Users List Subject: Filter on url example - Filter out hack attempts I have had no luck Googling so far for an example on how to filter based on urls. I thought I might put this in the AccessLogValve but will do

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
Yoav, Make sure you understand what a request URI is for the HTTP protocol. It will have neither the GET (method name) nor the protocol spec (HTTP/1.1 above). Read and understand the JavaDocs for the HttpServletRequest interface completely. I have been looking at the Access Logs daily.

RE: Filter on url example - Filter out hack attempts

2004-05-11 Thread Shapira, Yoav
Hi, I have been looking at the Access Logs daily. Anytime a legitimate user accesses my site everything is preceded with a GET or POST and a jsp or gif that I can recognize. Initially a session starts off with a plain GET / HTTP/1.1 or 1.0 so I should allow these, but all other legitimate

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
:30 AM Subject: Re: Filter on url example - Filter out hack attempts Hi Larry, as someone who has only been using tomcat (apart from the deploy tool) since August and who has had to greatly improve my Java skills since the same time... I suggest the best way to learn is to get your hands dirty

RE: Filter on url example - Filter out hack attempts

2004-05-11 Thread Ralph Einfeldt
PM To: Tomcat Users List Subject: Re: Filter on url example - Filter out hack attempts I am a newbie to Java and Tomcat, and I did spend two days with two Tomcat books I bought and Google trying to find some instructions I could understand before posting a question to this list

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
Yoav, Ok, thank you. I appreciate all your help. Larry Nobs - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 9:37 AM Subject: RE: Filter on url example - Filter out hack attempts Hi, I have been

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread Nathan Maves
as there you may ask questions about java, jsp, servlets and other things that are not drectly related with tomcat. -Original Message- From: lrnobs [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 4:17 PM To: Tomcat Users List Subject: Re: Filter on url example - Filter out hack attempts

RE: Filter on url example - Filter out hack attempts

2004-05-10 Thread Shapira, Yoav
similar as the base Valve for the RemoteAddr/RemoteHost valves. Yoav Shapira Millennium Research Informatics -Original Message- From: lrnobs [mailto:[EMAIL PROTECTED] Sent: Saturday, May 08, 2004 9:11 PM To: Tomcat Users List Subject: Filter on url example - Filter out hack attempts I

Filter on url example - Filter out hack attempts

2004-05-08 Thread lrnobs
I have had no luck Googling so far for an example on how to filter based on urls. I thought I might put this in the AccessLogValve but will do whatever works. I have a limited number of jsp's and graphics on my site and would like to filter out all of the hack attempts that fill up my logs. I