WordPress.org

Ready to get started?Download WordPress

Forums

Throttling WordPress (7 posts)

  1. Ebonmuse
    Member
    Posted 8 years ago #

    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?

  2. Pizdin Dim
    Member
    Posted 8 years ago #

    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.

  3. chaaban
    Member
    Posted 8 years ago #

    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 .

  4. Ebonmuse
    Member
    Posted 8 years ago #

    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?

  5. drmike
    Member
    Posted 8 years ago #

    Limiting the number of simultaneous connections is limiting page requests.

  6. Pizdin Dim
    Member
    Posted 8 years ago #

    "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.

  7. mutube
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic