History: How to Ban many IP from fake registrations
Source of version: 12 (current)
Copy to clipboard
! {{page}} !!# Why this page Since July 2012 many tiki-powered websites which allowed free registration of new users experienced a massive amount of registrations, most of which looked like fake users. In many cases, those fake users started to add spam to those tiki sites (in those cases of collaborative web sites allowing plain registered users to add content). Therefore, the goal of this page is to serve as a quick & dirty ((Tutorial)) for others suffering from the same spam registration wave started for many of us in Summer 2012. For extended information on how to manage the Action log or Banning features, see ((Action Log)) and ((Banning)). || {img fileId="648" width="500" stylebox="border" desc="Action log feature"} | {img fileId="649" stylebox="border" width="300" desc="Admin Banning feature"} || !!# How to avoid getting massive spam fake registrations Tiki9.1 allows the prevention of those massive fake registrations with the features: * Admin home > Login > Registration & Login > "__Registration referer check__" . * Setting up a "User tracker" linked to the Registered group, requiring nw users to fill in some mandatory fields (some checkbox, some text area, etc). For earlier sites (Tiki6 LTS, for instance), or new but without those features enabled, there is a fairly easy way to control that amount of potential spammers getting into your site. # Add "Admin home > Login > Registration & Login > __Require validation by admin__" , and add your email at the field provided. !!# How to ban ip's massively from records at the Tiki action log # Go to Admin users and select to sort users by created_desc order, for instance, and a big amount of records per page like 100 ( tiki-adminusers.php?numrows=100&sort_mode=created_desc ) ## revise whether there are valid registration requests there: *** check that name and email have some relation. Most fake users have names that have no relationship with the email. For non English countires & sites, it's quite easy to find out the fake registration attempts since they are not using the local language nor local names, but usually English ones. *** write down the username and date of any non-fake registration request ## Go to "Admin > __Action log__" *** To to the "Settings" tab, and uncheck all checkboxes from the column "__Reported__", except "__* System__", and save your changes. Of course, you need to keep that line as "__recorded__" ## Go to the "Report" tab, and select your time frame, no user nor group, no category, and under the section "__Misc > Search__", type: __created account__, and click at the button "__Report__" *** You will see a paginated list of records as a result. Select with the checkbox at the left of each record which ones do you want to select for banning their ip's (you can select all as a starting point with the first checkbox at teh top). *** Once finished your selection, click at the bottom of the table where an icon of a locker is shown next to where it says: "__Perform action with checked__". +++ You will be sent to admin banning interfcae, with the preselection of the ip's of the chosen records pre-added to the interface ## Once at the admin banning interface, review the default settings for the "Multiple IP banning" you can add a Custom message to the user. like: "Access from your localization was forbidden due to fake user registration". When done, click at __Save__ Repeat the last steps (selection of records from the action log interface) as many times as needed to have the IP from all your fake registrations banned. Once finihsed, you can export your banning list as csv file, and import it to another Tiki site, so that you can reuse your effort to identify banning ip's. !!# Some real data from fake user registrations This is a list of 800+ banned IP data exported from "Admin > banning > Export as csv" and compressed as zip file. Collected mostly from July 1st 2012 until October 13, 2012 in a local non-English semi-inactive site where it was fairly easy to identify fake user registrations from just a few good ones. Provided here by [https://tiki.org/Xavi|Xavi] just in case this is useful to anyone else. * {file type="gallery" fileId="728" showicon="y"} * {file type="gallery" fileId="796" showicon="y"} (4500+ ip's) Do you want to share yours? Add you file here. !!# Improvements? Comments? Improve this tutotial as you wish (add screenshots if you follow this steps in your tiki site to help making this tutorial more visual :-) ) And any feedback will be welcome: you can send me a message at xavi (a) tiki.org (and user "xavi" at tiki.org) -= Alias names for this page =- (alias(BanFakeRegistrations)) | (alias(Ban Fake Registrations)) | (alias(MultipleBanning)) | (alias(Multiple Banning)) | (alias(Ban by IP)) | (alias(BanByIP))