Preventing Spam

For the discussion of Perl, Python, Ruby, and PHP and other interpreted languages.

Preventing Spam

Post by Bren2010 on Tue Sep 29, 2009 4:25 pm
([msg=30245]see Preventing Spam[/msg])

I've been having allot of trouble with spammers lately. Does anyone know anything that can help?

Here are some of the ideas I've come up with:
Banned word list (my spammer apparently likes talking about sex. :shock: )
Preventing Proxies.
Banned user list

However, I need help with the first two. I could compile my own banned word list, but was wondering if there was a good one for download somewhere?

I already have some code in my .htaccess that is supposed to prevent proxies, but it only prevents some, how can I prevent them all?
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by faazshift on Tue Sep 29, 2009 7:12 pm
([msg=30250]see Re: Preventing Spam[/msg])

You could take a look at wikimedia's spam blacklist here: http://meta.wikimedia.org/wiki/Spam_blacklist. You might also be interested in the massive categorized blacklist downloadable from page: http://urlblacklist.com/?sec=download. The latter comes with terms, domains, and urls. Both are regular expression based.
faazshift
Contributor
Contributor
 
Posts: 516
Joined: Wed Jun 03, 2009 3:55 pm
Location: Riverton, Utah
Blog: View Blog (0)


Re: Preventing Spam

Post by fashizzlepop on Thu Dec 31, 2009 11:41 pm
([msg=32530]see Re: Preventing Spam[/msg])

Why is this in Interpreted Languages? And what kind of spam are you talking about? Email or...?
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by Bren2010 on Fri Jan 01, 2010 1:14 am
([msg=32535]see Re: Preventing Spam[/msg])

Spam on my website. Comments, contact form.

I guess it was a bad choice of forum, but at the time I was thinking of making the solution with interpreted languages. Any way, in my defense, this thread is 3 months old! :p
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by faazshift on Fri Jan 01, 2010 1:45 am
([msg=32537]see Re: Preventing Spam[/msg])

Do you still have problems with this? If so, its actually quite trivial to implement a simple captcha system (or better yet, googles re-captcha).
faazshift
Contributor
Contributor
 
Posts: 516
Joined: Wed Jun 03, 2009 3:55 pm
Location: Riverton, Utah
Blog: View Blog (0)


Re: Preventing Spam

Post by fashizzlepop on Fri Jan 01, 2010 2:19 am
([msg=32541]see Re: Preventing Spam[/msg])

Oh wow, sorry, I thought it said December 29th. :P My bad.
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by Bren2010 on Fri Jan 01, 2010 2:36 am
([msg=32542]see Re: Preventing Spam[/msg])

faazshift, It's not that kind of spam. It's a real person, not a bot. I know it's some pissed user from animalcrossingcommunity.com 'cause of something I did :roll:. Anyway, it's not as frequent any more, but it's still nice to have a filter in place.

fashizzlepop, no prop
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by fashizzlepop on Fri Jan 01, 2010 2:40 am
([msg=32543]see Re: Preventing Spam[/msg])

Just block their IP. Solves the problem.
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by Bren2010 on Fri Jan 01, 2010 2:46 am
([msg=32544]see Re: Preventing Spam[/msg])

Did that. They used proxies, and since there's almost a million of them, it would be pretty hard to block them all. That's why I was looking for more/better ways.
User avatar
Bren2010
Poster
Poster
 
Posts: 340
Joined: Fri Sep 19, 2008 3:23 pm
Blog: View Blog (0)


Re: Preventing Spam

Post by fashizzlepop on Fri Jan 01, 2010 2:54 am
([msg=32545]see Re: Preventing Spam[/msg])

Ah, so what about CAPTHCAs?
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
fashizzlepop
Developer
Developer
 
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)


Next

Return to Interpreted Languages

Who is online

Users browsing this forum: No registered users and 0 guests