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

Viewing 8 replies - 1 through 8 (of 8 total)
  • https://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….)

    Thread Starter ihad

    (@ihad)

    thanks podz!
    /writes this down.
    cheers
    alex.

    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! ??

    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…

    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.

    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

    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

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘comment spammers and abuse’ is closed to new replies.