Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
 
Preventing forum spam - checks at sign up

Checking IP addresses for forum spamYou may have seen the IP lookup tool we have on our front page (if not, bookmark http://www.wellho.net and it's the bottom right link) which I use extensively to find out a little bit more about addresses that catch my interest - be they generating unusual traffic on our web site, scouring are pages in a "very interested" way, or signing up for a forum.

I told you about projecthoneypot and stopforumspam recently (here) and I have just added the following code to my front page tool which incorporates the summary of a stopforumspam report (they provide a nice api) within the tool.


$spammer = file_get_contents("http://www.stopforumspam.com/api?ip=$fip");
if (ereg("<appears>yes<appears>",$spammer)) {
ereg("<frequency>([[:digit:]]+)<frequency>",$spammer,$rs);
$spamreport = "$rs[1] report".(($rs[1]>0)?"s - ":" - ");
$spamreport .= "<a href=http://www.stopforumspam.com/".
"ipcheck/$fip target=exfull>more<a>";
} else {
$spamreport = "Clear";
}


(the incoming IP address for this code should be in the $fip variable, and should have been checked for format / cleaned up by the time you use the code snippet above!)

Try it here:
Ask about ip: 


I have not found an automated API on projecthoneypot ... but a URL of the form http://www.projecthoneypot.org/ip_194.8.75.145 gives a result which includes the string "We don't have data on this IP currently" if the IP looks clear to them.
(written 2009-05-12)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
G903 - Well House Consultants - Running and moderating forums and social media sites
  [4492] Almost so wrong, but perhaps it's right for some? - (2015-05-11)
  [4403] The unbalanced relationship between customer and provider - (2015-01-21)
  [4315] Welcoming genuine forum posters quickly - but turning away off topic advertisers - (2014-11-16)
  [4307] Identifying and clearing denial of service attacks on your Apache server - (2014-09-27)
  [4283] Can a legitimate forum post become illegal a year later? - (2014-07-11)
  [4239] Facebook marketing - early experiences - (2014-01-19)
  [4234] Change to Libel and Defamation laws from 1st January 2014 - (2013-12-31)
  [4065] Handling requests to a forum - the background process - (2013-04-17)
  [4025] Backups, Codebase, Strategy and more - dealing with forum incidents - (2013-03-03)
  [4017] Acceptable User Policy / vexatious interacter - (2013-02-24)
  [3910] Identifying your real customers and keeping them well informed fast - (2012-11-02)
  [3479] Practical Extraction and Reporting - using Python and Extreme Programming - (2011-10-14)
  [2820] Netiquette for forum newcomers - (2010-06-20)
  [2781] The 500 pound question to get you started - (2010-05-26)
  [2569] How to run a successful online poll / petition / survey / consultation - (2010-01-10)
  [2527] Flying tonight - (2009-12-05)
  [2526] A reluctance to move from old shoes to new - (2009-12-05)
  [2386] Computing under the influence of alcohol - (2009-08-29)
  [2254] Forum membership - a privilege not a right - (2009-06-22)
  [2162] Admins thoughts on banning a member from a forum - (2009-05-09)
  [2156] Stopping forum spam - control of the signup process - (2009-05-04)
  [2116] Why do we delay new forum members through authorisation? - (2009-04-03)
  [2103] Ask the Tutor - Open Source forum - (2009-03-25)
  [1972] Pettifog and forum boards away from public view - (2009-01-03)
  [1923] Making it all worthwhile - (2008-12-04)
  [1759] While the world sleeps ... - (2008-08-19)
  [1678] Software - changes and delays. But courses must run on time! - (2008-06-15)
  [1595] First Great Western Weekend - (2008-03-30)
  [1578] Please don't shout at me! - (2008-03-16)
  [1569] I dont care - goodbye - (2008-03-09)
  [1563] Guidlines for posting on a forum - (2008-03-04)
  [1539] A forum is not always the best vehicle - (2008-02-14)
  [1532] Comment spam blocked. Please comment via Forums - (2008-02-05)
  [1523] Ive just received an email from myself. Should I be worried? - (2008-01-29)
  [1485] Copyright and theft of images, bandwidth and members. - (2007-12-26)
  [1472] The Horse goes on and on - (2007-12-15)
  [1362] No Thank You - (2007-09-23)
  [1190] Save the Forum - A regular clean sweep - (2007-05-17)
  [1088] Why use BBC code not HTML? - (2007-02-21)
  [948] Running an on line campaign - (2006-11-27)
  [923] Why shouldn't I spam? - (2006-11-13)
  [919] Freedom for X is denial of privacy for Y - (2006-11-09)
  [841] Forum help - a push in the right direction - (2006-08-21)
  [828] Freedom of speech and freedom to post - (2006-08-10)
  [806] Check your user is human. Have him retype a word in a graphic - (2006-07-17)
  [651] Please Register with Opentalk - but just once! - (2006-03-19)
  [516] Open source questions? Anyone can ask. - (2005-12-03)
  [424] How not to run a forum - (2005-08-24)
  [248] Use me, but use me effectively - (2005-03-16)
  [231] Feedback as lifeblood - (2005-02-28)
  [204] The confidence to allow public comments - (2005-02-06)
  [130] Spelling and grammar - (2004-11-25)
  [115] Expiration dates or times on web pages - (2004-11-12)
  [29] Silence is Golden - (2004-08-26)
  [22] Falling out over the silliest things - (2004-08-21)

G909 - Well House Consultants - Spam, Spamming and Spammers
  [4520] No cold sales calls please - but delighted to hear from others! - (2015-09-29)
  [4135] Introducing your product to Well House Consultants - single, personally tuned email please - (2013-07-08)
  [3946] Moving from a warning system to a control system - PHP, forum spammers - (2012-12-07)
  [3912] Sand to Arabia, Coals to Newcastle or Woodburners to Russia - (2012-11-04)
  [3661] Keeping forum and blog comments clean - (2012-03-19)
  [3506] Cold call contacts - preference services and turning off spam sales approaches - (2011-11-03)
  [3352] World Trade Register - Certainly NOT worth 2985 Euros. - (2011-07-09)
  [3316] Twitter Phishing Trips ... and a great new alert service - (2011-06-04)
  [3190] What do the following web sites have in common? - (2011-03-03)
  [3166] Well house is strong - confirmed? - (2011-02-11)
  [3016] The legal considerations of your web presence - revisited - (2010-10-26)
  [2884] Hotlinked images onto adult material sites - (2010-07-23)
  [2697] Email metrics and filtering - (2010-03-28)
  [2398] Websitemediasolution and a goldfish called Carl Johnson - (2009-09-06)
  [2276] Who is Marc Schneider of Multilingual Search Engine Optimization Inc - (2009-07-10)
  [2179] Offers that I can refuse - (2009-05-12)
  [2019] Baby Caleb and Fortune City in your web logs? - (2009-01-31)
  [1978] From spam to mod_alias - finding resources - (2009-01-05)
  [1817] Marc Schneider is still having email trouble - (2008-09-30)
  [1763] Co-operating to save, yet we dont - (2008-08-21)
  [1115] Unexpected visitors to our site - (2007-03-22)
  [1037] Impact Engineering and Backscatter - (2007-01-16)
  [872] Email metrics - (2006-09-20)
  [495] More spam - a success story - (2005-11-13)
  [417] Telephone Preference Service - we're registered - (2005-08-17)
  [347] Frightening and from-friend viruses and spams - (2005-06-14)
  [338] OO techniques are hard to teach - (2005-06-06)
  [276] An apology to Mr Boneparte - (2005-04-11)
  [268] Information request forms, cleaning up spam - (2005-04-05)
  [259] Responding to spam - (2005-03-27)


Back to
Balloon Journey in Wiltshire
Previous and next
or
Horse's mouth home
Forward to
Melksham Candidates for Wiltshire Unitary Election
Some other Articles
You cannot please all of the people all of the time
Patterns in numbers - room occupancy
Melksham Candidates for Wiltshire Unitary Election
Preventing forum spam - checks at sign up
Balloon Journey in Wiltshire
Melksham in pictures
Application design in PHP - multiple step processes
Basic OO principles
PHP4 v PHP5 - Object Model Difference
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2019: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2177_Pre ... gn-up.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat