Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
patterns. Tomcat has something 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

Re: Filter on url example - Filter out hack attempts

2004-05-11 Thread lrnobs
://java.sun.com or http://forum.java.sun.com/ To answer your questionYes. in-fact you can place the class where ever you want as long as it is in your classpath. Of course you will also have to change the filter-class attribute accordingly. Nathan On May 11, 2004, at 7:42 AM, lrnobs

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 lrnobs
Adam, Thanks for the additional links. I'm a twenty year IT professional and I feel like I am in kindergarden all over again. It is hard to make the switch from Microsoft products and not lose the house in the process. I've taken a Unix class and a Java class at the local community college,

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

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

How to filter out HTTP requests, or limit requests

2004-03-31 Thread lrnobs
I have a new web server running Tomcat and serving jsp pages on a RedHat9 box. I am new to web technologies and have been reviewing the access logs daily. I find several attempts in the logs to run root.exe, cmd.exe, and various scripts. What I have seen so far appear to be attempts against IIS

Re: How to filter out HTTP requests, or limit requests

2004-03-31 Thread lrnobs
to a meeting ;) Yoav Shapira Millennium Research Informatics -Original Message- From: lrnobs [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 2:57 PM To: Tomcat Users List Subject: How to filter out HTTP requests, or limit requests I have a new web server running