At 23:26 16/11/1999 -0600, Leslie Mikesell wrote:
>According to Randal L. Schwartz:
>>
>> So, I modified my throttler to look at the recent CPU usage over a
>> window for a given IP. If the percentage exceeds a threshold, BOOM
>> they get a 503 error and a correct "Retry-After:" to tell them how
>> long they're banned.
>
>How about an option to redirect to a different machine instead? I've
>considered digging out an old, slow 386 to handle greedy clients
>without obviously denying service to them.
Or even better, a hook to add one's own way to handle what happens when
threshold has been reached (while leaving the default at what it is now,
which is good).
.Robin
"What I like about deadlines is the lovely whooshing sound they make as
they rush past." --Douglas Adams