If you prefer servlet filters to jetty handlers, you could of course use
that instead.

Btw, users coming from behind an http proxy often use the same ip address.
In addition, these same proxies often use several ip addresses.

Cheers,

Stefan

On 5 December 2011 09:33, Thomas Becker <tbec...@intalio.com> wrote:

> Hi Cheney,
>
> jetty doesn't support this out of the box, no. But you can deal with it
> yourself by for example writing a custom handler (http://wiki.eclipse.org/
> **Jetty/Howto/Write_Jetty_**Handler<http://wiki.eclipse.org/Jetty/Howto/Write_Jetty_Handler>)
> which counts the requests per IP per hour/day and respond with an error
> page if the configured limit has been reached. If you're expecting a huge
> amount of requests be careful on how you track requests as this might need
> a big amout of memory depending on how you count/store the requests from
> the last day for example.
>
> Cheers,
> Thomas
>
> On 12/5/11 7:57 AM, Xin Chen wrote:
>
>> Hi,
>>
>> Can you Jetty do this?
>>
>> Specifying the maximum request e.g. 1000 per day or per hour, for certain
>> IP. If that IP reaches the limit, Jetty will show them error message etc.
>>
>> Thanks,
>> cheney
>> ______________________________**_________________
>> jetty-users mailing list
>> jetty-users@eclipse.org
>> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users>
>>
>
> --
> thomas becker
> tbec...@intalio.com
>
> http://webtide.com / http://intalio.com
> (the folks behind jetty and cometd)
>
> ______________________________**_________________
> jetty-users mailing list
> jetty-users@eclipse.org
> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users>
>



-- 
BEKK Open
http://open.bekk.no
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to