Recent Topics

1 Mar 28, 2005 05:41    

This probably doesn't belong in "How To", but I wasn't sure where to post it, so feel free to move it.

I just wanted to share the results of my spamfighting efforts. I was starting to notice a LOT of bandwidth getting wasted by the spammers. And although the anti-spam features are great, they don't take care of the spammers wasting your bandwidth by hammering the blog. So, I took all links to my stats page off my blog, and I unindexed my stats page from the search engine. I also changed the wording of "Top Referers" and "Recent Referers" to something else. Then, I took the extra necessary step of blocking all the spammers I could find in my logs via .htaccess.

Check out the results:

http://www.undergroundozarks.com/newstats.jpg

It's very immediate and very heartening. I blocked the spammers on the 25th, so the 26th and 27th are the only full days I've had with them being blocked. They're also the lowest-bandwidth days I've had in months. I mean, I've gone from 521MB a day at one point, to just over 50MB!

I wanted to show this to you guys, because I would encourage everyone to do what I've done.

2 Mar 28, 2005 06:00

nice job :) If you are using an .htacess you will appreciate this info, in fact I wanted to mentiuon this here earlier .. check this link out :

http://www.candygenius.com/spampop

basically what that all boils down to is that ALL of the domains listed here:
http://www.candygenius.com/spamvertised_domains_raw.php

can be blocked in your .htaccess w/ one mod_rewrite rule:


RewriteCond %{HTTP:VIA} ^.+pinappleproxy
RewriteRule  ...

There is no telling how long it will work, but I can say that i've pruned my own .htaccess down considerably now that I'm using that -- and yes it is working.. i was hit early last night by one of the domains on that page, added it the way I used to .. then today, after removing the domain and replacing it with that simple one above, checking my logs I saw it get the 301 redirect i have for spammers.

That list, btw, would also be a good one to check frequently when you are updating/adding to your blacklists.

3 Mar 28, 2005 06:06

I'm definitely going to do that as well. Thanks whoo :)

4 Mar 28, 2005 16:20

So how do I add this great list to my site so they don't come my way. Just add your little rewrite to my .htacess or? Where do I put th elist of names etc.

Sorry n00b here

5 Mar 29, 2005 14:55

could I get some more details on this?

I am a recent LAMP convert (used to be m$ iis, now learning Apache).

I get what .htaccess file are and how they're used to add to the httpd.conf but what exactly do I need to add to my ht files to make use of these mods? Both the spam lookup in the second post and also blocking individual hosts list the first post.

I'd appreciate the help.

6 Mar 29, 2005 19:57

look inside any .jtaccess you already have in the root directory of your site .. IF you already have mod_rewrite rules in there .. you will see this:


RewriteEngine On


...

if that IS the case, then below that, add the following:


RewriteCond %{HTTP:VIA} ^.+pinappleproxy
RewriteRule ^(.*) http://%{REMOTE_ADDR}/ [R=301,L]

the above 2 lines check a header that is sent using a specific proxy, YOU WILL NOT SEE THIS IN YOUR APACHE LOGS.
If it comes across the proxy, the user is sent back to their own IP

If you dont have the first line.. the rewrite .. on thing .. than add all 3, just like they are.

I would start with just that, honestly, and if you get spam other after that, add 'other things" from that point on.
My logs are clean, stunningly clean now, Ive managed, so it seems, to put the final dagger in anyone that wants to spam me :)


Form is loading...