You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Varrun Ramani <va...@gmail.com> on 2012/06/26 00:04:26 UTC
writing tomcat filters
Hi
I am in the process developing a web application firewall(WAF) for
tomcat similar to what mod security does, and am planning to use the
filter API already present in tomcat to intercept requests and do the
filtering. While going through the documentation for filters and
several examples, I see that there already exist many filters already
present as part of tomcat (e.g. CSRF filter). I had a few
doubts/questions regarding this. I hope someone can help shed light on
these.
1. If I were to include a new filter using
org.apache.catalina.filters.FilterBase , do I have to build tomcat to
make use of the filter functionality or is it possible to do so
without building it?
2. Have their been prior attempts at developing a WAF for tomcat?
Thanks,
Varrun
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: writing tomcat filters
Posted by Mark Thomas <ma...@apache.org>.
On 25/06/2012 23:04, Varrun Ramani wrote:
> Hi
>
> I am in the process developing a web application firewall(WAF) for
> tomcat similar to what mod security does, and am planning to use the
> filter API already present in tomcat to intercept requests and do the
> filtering. While going through the documentation for filters and
> several examples, I see that there already exist many filters already
> present as part of tomcat (e.g. CSRF filter). I had a few
> doubts/questions regarding this. I hope someone can help shed light on
> these.
> 1. If I were to include a new filter using
> org.apache.catalina.filters.FilterBase , do I have to build tomcat to
> make use of the filter functionality or is it possible to do so
> without building it?
> 2. Have their been prior attempts at developing a WAF for tomcat?
These questions belong on the users list, not the dev list.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org