• Hi all,

    As my site’s been hit by several scrapers and otherwise rude programs that send multiple requests in a short time, I’d like to install some sort of throttle that limits the number of requests any given IP address can make in a specified time. It seems to me this would be the best way to stop scrapers without inconveniencing legitimate users. Is there a plugin or some other modification of WordPress that does this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Blocking by IP will only protect you from the very basic “crapflooders” and “wannabe” spammers. You should investigate the excellent Bad Behavior plugin for WP instead.

    if you have access to your server or can ask the host to install mode_evasive .

    it will prevent ddos attack , i was attacked recently this is a good solution .

    you can fix the max number of connection from an ip ..and after this number it will be automatically blocked .

    Thread Starter ebonmuse

    (@ebonmuse)

    I’m not speaking of blocking an IP or limiting the number of simultaneous connections. I had in mind a plugin that would limit how many page requests a given IP could make in a specified period of time. Is there any such thing?

    Limiting the number of simultaneous connections is limiting page requests.

    “I had in mind a plugin that would limit how many page requests a given IP could make in a specified period of time. Is there any such thing?”

    While I haven’t looked at the code, I believe Bad Behavior does this when people post comments, although it doesn’t sound like it’s exactly the thing you’re after.

    It shouldn’t be hard to write with some basic PHP knowledge though.

    Ebonmuse: I’ve recently developed a general Throttle API for WordPress which monitors the number of hits received over a given period of time.

    Currently I’ve created “modules” which use this information to redirect visitors to Coral Cache and secondly to remove images from post bodies.

    If you are still having the problems mentioned & want a plugin solution, I can feasibly knock together a module to do this as part of the Throttle system. Theoretically I imagine simply keeping a rotating list of x IPs and counting numbers received from each over time.

    Having said this, server solutions are naturally better if you’re able to do this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Throttling WordPress’ is closed to new replies.