What Will They Think of Next?
I have no idea what the crapflooders are up to these days. They’ve gone on to greener pastures, or easier victims, or maybe Mommy finally discovered what they were doing during those long hours in front of the 'puter. I don’t know and I really don’t care.
But the MovableType Search facility is a processor-hog. It would be trivial to write a “searchflooding” script which would deluge your blog with search requests. To keep this from DoS’ing your server, it seems best to impose a throttle of 5 simultaneous searches at any one time. Here’s a patch to do that. If running patch
is too difficult, here’s a drop-in replacement for lib/MT/App/Search.pm
.
Share and enjoy.
Posted by distler at January 30, 2004 11:03 PM
Re: What Will They Think of Next?
I know I’m just dreaming, but it sure would be nice if MT was a typical, community-based open source project and we could get some of these nice patches committed into their CVS repository. Have you ever tried submitting patches to Ben?