WordPress.org

Ready to get started?Download WordPress

Forums

comment spammers and abuse (9 posts)

  1. ihad
    Member
    Posted 9 years ago #

    someone from the ip 66.98.226.51 repeatedly tried to post links to porn sites on my blog,
    I have added the ip to the comment filter options.
    I'd love to have a link in the comment moderation screen "delete and ban ip" so that I can delete and ban the culprit with one mouse click. Also, can I set IP ranges to be banned also in the comment filter options?
    Thanks.
    Cheers,
    alex.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    http://mookitty.co.uk/devblog/category/kittens-spam-words/
    Is excellent.
    It doesn't ban ranges, but that can very easily be done by adding to your .htaccess
    My .htaccess is like this:
    <Limit GET>
    order allow,deny
    deny from 456.456.456.456
    deny from 123.123.*.*
    allow from all
    </Limit>

    Top line bans a single IP, second bans a huge number of addresses. If you do this, it might be an idea to have a custom 'Forbidden' page with your email address on just in case you ban someone accidentally.
    (As I did....)

  3. ihad
    Member
    Posted 9 years ago #

    thanks podz!
    /writes this down.
    cheers
    alex.

  4. NuclearMoose
    Member
    Posted 9 years ago #

    Podz,
    You *may* be able to block IP ranges with MooKitty's stuff by simply going in to the Spam Words list and deleting the appropriate / desired amount of the IP address.
    Example:
    127.0.0.1 - 127.0.0
    or be radical:
    127.0.0.1 - 127.0
    Someone please correct me if I'm wrong! :)

  5. OperaManiac
    Member
    Posted 9 years ago #

    why let the spammer even access the website if it (the bot) is there to spam? hta makes more sense to me. saves bandwidth, processing power...

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Moose - I'd not tried that :)
    I check my error logs though and use .htaccess to completely block IP's that are either trying to find formmail scripts, spidering for everything they can grab or for people that have persistently left comments that have been destructive, personal.
    I could just filter their comments, but seeing as they would never get approved, why waste my bandwidth on them :)
    As an aside, I recently found 2 IP's from apparently respectable sites were crawling my site and trying for directories and files that did not exist. I mailed all the details to those companies and requested an explanation - I got nothing back. A quick whois later, and they are completely blocked.

  7. Magus
    Member
    Posted 9 years ago #

    Oh, man, this should be bundled with the main distribution! I'm so relieved that someone has this! Yea!
    I've gotten as many as 300+ spam comments in one night, so I really, really appreciate having this tool.
    Thanks!
    Jim

  8. TechGnome
    Moderator
    Posted 9 years ago #

    Something else I would like to see, in addition to mass delete, is the ability to mass unapprove comments. I had a couple comments that sneaked past my comment moderation (ala blacklist) and the only way I could unapprove it was to go into the table with phpMyAdmin and reset it there.
    TG

  9. OperaManiac
    Member
    Posted 9 years ago #

    filters to display and mass moderate comments ... good point for a wishlist...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.