cs.punk Posted May 16, 2009 Share Posted May 16, 2009 Few months ago I opened a SMF forum thinking it will do well... It had very little posts... So I thought to myself, find all my contacts from my email and email them a small email? It was a honest email telling them about the forum bla bla... Anyway after that my forum was hit with SPAM... And I kept banning them and deleting them, banning ips, but it just continued, same content with different IPs... I finally deleted it lol... Currently building a site and I am worried about SPAM again. Once it hit's, more and more comes in... hell 300:1 I would say the ratio of spammers to genuine viewers.. Any advice? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/ Share on other sites More sharing options...
Daniel0 Posted May 16, 2009 Share Posted May 16, 2009 Maybe try something like akismet? It seems to work really well on my blog, which is largely uninteresting. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835187 Share on other sites More sharing options...
The Little Guy Posted May 16, 2009 Share Posted May 16, 2009 I would say that I have a similar ratio as you, and I found an amazing way that I was able to stop spam! First I created a CAPTCHA image, and that worked for a little while, then they started to get through again, so I then did some research on what was different between spam posts and the real posts. I found a large I found one, and so I wrote about 3 lines of code and I haven't gotten a single spam post for 6+ months now. So... I don't really want to post the code that I used in a public area, just in case a spammer gets a hold of it. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835371 Share on other sites More sharing options...
Maq Posted May 16, 2009 Share Posted May 16, 2009 I would say that I have a similar ratio as you, and I found an amazing way that I was able to stop spam! First I created a CAPTCHA image, and that worked for a little while, then they started to get through again, so I then did some research on what was different between spam posts and the real posts. I found a large I found one, and so I wrote about 3 lines of code and I haven't gotten a single spam post for 6+ months now. So... I don't really want to post the code that I used in a public area, just in case a spammer gets a hold of it. Aren't you afraid that you're blocking/deleting (however you're doing this) legitimate posts? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835377 Share on other sites More sharing options...
Daniel0 Posted May 16, 2009 Share Posted May 16, 2009 I would say that I have a similar ratio as you, and I found an amazing way that I was able to stop spam! First I created a CAPTCHA image, and that worked for a little while, then they started to get through again, so I then did some research on what was different between spam posts and the real posts. I found a large I found one, and so I wrote about 3 lines of code and I haven't gotten a single spam post for 6+ months now. So... I don't really want to post the code that I used in a public area, just in case a spammer gets a hold of it. I assume you're talking about your snippet site. Commenting doesn't work for me, so I don't think you should worry about people stealing your code. No luck on previewing, getting hints or sorting. Overall major fail. Look up the terms "progressive enhancement" and "separation of concerns". I checked both the old version and beta version. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835393 Share on other sites More sharing options...
.josh Posted May 16, 2009 Share Posted May 16, 2009 i hear making honey pots are all the rage these days. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835529 Share on other sites More sharing options...
waynew Posted May 17, 2009 Share Posted May 17, 2009 Here's how I stopped spam. Code before. if(isset($_POST['comment'])){ $user->post_comment($_POST['comment']); } Code after. if(isset($_POST['comment'])){ //$user->post_comment($_POST['comment']); } Haven't received a single spam post since. And I'm thinking about selling the intellectual property behind it. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835768 Share on other sites More sharing options...
Daniel0 Posted May 17, 2009 Share Posted May 17, 2009 Dude, fill out a patent application quickly! Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835772 Share on other sites More sharing options...
.josh Posted May 17, 2009 Share Posted May 17, 2009 Here's how I stopped spam. Code before. if(isset($_POST['comment'])){ $user->post_comment($_POST['comment']); } Code after. if(isset($_POST['comment'])){ //$user->post_comment($_POST['comment']); } Haven't received a single spam post since. And I'm thinking about selling the intellectual property behind it. dude that's brilliant! That's going to change the internet as we know it! Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-835808 Share on other sites More sharing options...
PugJr Posted May 18, 2009 Share Posted May 18, 2009 I'm not understand this. What waynewex did was change the post content into a comment? How will anyone ever be able to post then or am I missing something here? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836226 Share on other sites More sharing options...
Daniel0 Posted May 18, 2009 Share Posted May 18, 2009 http://www.google.com/search?q=define%3Ajoke Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836244 Share on other sites More sharing options...
cs.punk Posted May 18, 2009 Author Share Posted May 18, 2009 Cool will try akismet! What is this 'interesting' blog of yours anyway lol? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836451 Share on other sites More sharing options...
Daniel0 Posted May 18, 2009 Share Posted May 18, 2009 What is this 'interesting' blog of yours anyway lol? If you're talking to me, the link is in my profile. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836453 Share on other sites More sharing options...
nadeemshafi9 Posted May 18, 2009 Share Posted May 18, 2009 evaluate your emails chekc how many url's they have in them how many of wotever you notic ein the most spams, now when teh count gets to a certain amount lets say security level 5 email it to yourself butdont email it to teh recipient otherwise emeail to teh recipient and yourself, that is how spam assasin does it. when you find a new trennd add it to your lookups, make sure you check the CC and BCC etc etc for scriupt tags and code Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836458 Share on other sites More sharing options...
GingerRobot Posted May 18, 2009 Share Posted May 18, 2009 evaluate your emails chekc how many url's they have in them how many of wotever you notic ein the most spams, now when teh count gets to a certain amount lets say security level 5 email it to yourself butdont email it to teh recipient otherwise emeail to teh recipient and yourself, that is how spam assasin does it. when you find a new trennd add it to your lookups, make sure you check the CC and BCC etc etc for scriupt tags and code Did you read any of the thread? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836601 Share on other sites More sharing options...
nrg_alpha Posted May 19, 2009 Share Posted May 19, 2009 Cool will try akismet! What is this 'interesting' blog of yours anyway lol? I believe the term he used was 'largely uninteresting'. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836875 Share on other sites More sharing options...
cs.punk Posted May 19, 2009 Author Share Posted May 19, 2009 What is this 'interesting' blog of yours anyway lol? If you're talking to me, the link is in my profile. I read the 'Dreamhost: To Infinity And Beyond' article... And the last comment is spam... Does this happen often? How does one stop stuff like that? I don't think this topic is finished yet... Oh and that particular comment by 'Mavadavi' is it a robot? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836964 Share on other sites More sharing options...
Daniel0 Posted May 19, 2009 Share Posted May 19, 2009 It's the only one it has let through so far, so that means a 99.94% success rate, which is pretty good (it has detected 1707). Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-836973 Share on other sites More sharing options...
nadeemshafi9 Posted May 19, 2009 Share Posted May 19, 2009 evaluate your emails chekc how many url's they have in them how many of wotever you notic ein the most spams, now when teh count gets to a certain amount lets say security level 5 email it to yourself butdont email it to teh recipient otherwise emeail to teh recipient and yourself, that is how spam assasin does it. when you find a new trennd add it to your lookups, make sure you check the CC and BCC etc etc for scriupt tags and code Did you read any of the thread? some of it yes Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837078 Share on other sites More sharing options...
GingerRobot Posted May 19, 2009 Share Posted May 19, 2009 evaluate your emails chekc how many url's they have in them how many of wotever you notic ein the most spams, now when teh count gets to a certain amount lets say security level 5 email it to yourself butdont email it to teh recipient otherwise emeail to teh recipient and yourself, that is how spam assasin does it. when you find a new trennd add it to your lookups, make sure you check the CC and BCC etc etc for scriupt tags and code Did you read any of the thread? some of it yes Presumably nothing beyond the thread title? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837108 Share on other sites More sharing options...
nadeemshafi9 Posted May 19, 2009 Share Posted May 19, 2009 evaluate your emails chekc how many url's they have in them how many of wotever you notic ein the most spams, now when teh count gets to a certain amount lets say security level 5 email it to yourself butdont email it to teh recipient otherwise emeail to teh recipient and yourself, that is how spam assasin does it. when you find a new trennd add it to your lookups, make sure you check the CC and BCC etc etc for scriupt tags and code Did you read any of the thread? he said hes making a site so he can code in fuzzy logic like i sugested, he can use that to filter forum posts aswell as emails. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837114 Share on other sites More sharing options...
cs.punk Posted May 19, 2009 Author Share Posted May 19, 2009 Wow thats ALLOT of spam blocked... Would a 'captcha' image thing not prevent it? Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837553 Share on other sites More sharing options...
Daniel0 Posted May 19, 2009 Share Posted May 19, 2009 I don't know. Maybe. Maybe not. This is transparent to the user though, a CAPTCHA is not. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837624 Share on other sites More sharing options...
mandred Posted May 20, 2009 Share Posted May 20, 2009 Few months ago I opened a SMF forum thinking it will do well... It had very little posts... So I thought to myself, find all my contacts from my email and email them a small email? It was a honest email telling them about the forum bla bla... Anyway after that my forum was hit with SPAM... And I kept banning them and deleting them, banning ips, but it just continued, same content with different IPs... I finally deleted it lol... Currently building a site and I am worried about SPAM again. Once it hit's, more and more comes in... hell 300:1 I would say the ratio of spammers to genuine viewers.. Any advice? www.recaptcha.net Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837872 Share on other sites More sharing options...
TheFilmGod Posted May 20, 2009 Share Posted May 20, 2009 Can you enlighten us on how you went about coding such a powerful spam filter? I don't want to see the code, but the basic principles behind it, especially the names of the php functions. Quote Link to comment https://forums.phpfreaks.com/topic/158367-spam-how-do-you-deal-with-it/#findComment-837887 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.