Hi, as i am using a Camel CxfEndpoint, i think using the cxf-transport-http-jetty module. Are both DoS and QoS Filter unavailable ? Regards Hervé
On Fri, Feb 24, 2012 at 3:58 AM, Willem Jiang <[email protected]>wrote: > Hi, > > How did you deploy the service ? > If you are using the embedded jetty engine which is provided by > cxf-transport-http-jetty module, you can not set the DoSFilter on it. > If you are deploy the service with help of CXFServlet, you can leverage > the DoSFilter feature of the WebContainer. > > Willem > > > On Thu Feb 23 17:55:37 2012, Hervé BARRAULT wrote: > >> Hi, >> My application publishes web services using CXF. >> Sometimes, some clients are flooding my application (i'm not able to >> process the requests as fast as they coming : like a DoS) >> >> Should I handle it directly in my application or is there a configuration >> in CXF to being able to handle this problem ? >> >> Such as Limiting the number of connection by host (and eventually by >> service [some services could be more "critical" than other]). >> Limiting the number of request by second (but this limit could depend on >> the global load). >> I have seen : >> http://wiki.eclipse.org/Jetty/**Reference/DoSFilter<http://wiki.eclipse.org/Jetty/Reference/DoSFilter>(which >> is >> dedicated to Jetty). >> >> SI there other smart strategies ? >> >> Here the question is not about DoS Attack but how to handle a >> Unintentional >> denial of service. >> >> Thanks for answers. >> Regards >> Hervé >> >> > > > -- > Willem > ------------------------------**---- > FuseSource > Web: http://www.fusesource.com > Blog: > http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang Weibo: willemjiang >
