Visit my store for more free help files, more being added all the time!
IP Trap Version 6. This Version is a total rewrite of the IP trap, this version see's the Trap move to the Database, with an admin configuration page. I have used osCommerce tep_functions where they exist providing harmony and lean code.
Please make sure you take the time to read this fully, I get lots of questions that are answered here, take a few minutes and read this.
Update or installation service.If you are unable to install this yourself, why not get the person who wrote it to install it for you?
See it in actionYou can see the trap in action by visiting http://www.development-server.net/233/admin you will be blocked, contact me with your IP number if you want to be removed or added to the White list to try it out How it worksThe key to the IP trap mainly is the robots.txt The White list has a similar role, only if the IP number exists. and is set to WHITE, the use will be redirected to the index page not the blocked page.
LimitationsThe IP Trap is only one way to secure your site, not the only way. The IP Trap is very effective, however being IP based it only has an impact on the IP number used in the attack, if the attacker changes IP numbers that are not listed then they will still be free to roam your site.
CaveatFor those of you that use the osc_sec add on, and has set it to IP_Trap, this will no longer work, you will need to update this add-on if you still wish it to use the IP Trap to ban users Your Trap is set to the folder "Personal", I suggest as you have moved your admin folder, you now rename personal to "admin" this will help trap more bots, snoopers. Updating existing installs of IP TrapIf you would prefer to use this version, you will need to removed the old IP Trap, and install this one. It is not backwards compatible Please Contact me. Assumptionsyour store resides in the catalog folder, if yours is
different you need to make the changes. Please note, if you're store is the Catalog folder, your robots.txt file should be in the root of your web hosting account, you robots.txt would then address items in the catalog folder as If the store is held in root, then your robots.txt file should address the items as The IP Trap is set by the robots.txt file, failure to comply with this, or set up incorrectly in any way will result in you banning SEO bots and potential customers! Skill levelEasy - intermediate,this package has been created to give you the easiest
way to add it
Backing upIt is important that before any work is carried out on your store, you back up the files you are going to work on BEFORE you begin work.
VersionsThe IP Trap is version and platform independent it can be used on any version of sc it can also be used on non osCommerce sites including HTML sites (with a few changes)
Pre RequisitesFTP Program
Free ProgramsThere are many free programs you can use without having to buy one, here are just a few. FTP Filezilla
Install timeThis install will take you around 10 minutes.
Install the TrapThere are some new files to add and some existing files to edit, also an SQL table to insert into your database. New Files Files to Edit --------------------------------------------------------------------------- Database additions Step 1. Insert the SQL to your Database --------------------------------------------------------------------------- Catalog side Edits
Step 2. This step requires you upload the new files to your site, please make sure that you match the admin folder to your admin folder name (rename the folder) and allow for the location of your site files, this is currently set to "catalog".
--------------------------------------------------------------------------- Step 3.
End of Catalog side Edits. Start of Catalog / admin side Edits.
End of Catalog / admin side Edits. If you have followed the install instructions correctly, you now have the IP Trap installed and working. User Manual. The IP Trap Admin Page.
|
![]() |
Your IP Number is now added to the whitelist.
The image above presents how the line looks, there are no User Agent or Host Names associated with a manual addition
To alter an IP numbers state from Whitelist to blacklist
Find the IP number you want to change, click the row to select it and then click "Edit" the page will present you the following screen
Click the drop down list and select the option you require, then click update.
The robots.txt file should be correctly constructed in order for it to work effectively, see example (this is for a store in the catalog folder)
If your store is root it will look like
![]() |
I am able to provide you with any type of security work,
Please contact me for more information or a quote |
So what's next?
I am currently working on a fantastic extension to this add on, that will add a layer of security not yet seen with the osCommerce package!
This is still in the development stage, I will get it out as soon as it is tested and passed fit for service, I will also be asking for Beta testers for this....
AS WITH ALL CONTRIBUTIONS THIS IS USED AS IS AND YOU INSTALL AT YOUR OWN RISK. BACK UP BEFORE YOU USE
Contributions take a long time to create, to keep them coming please consider donating
Enjoy
http://www.linuxuk.co.uk web site development, showcase & shopping cart sites. Specialise is osCommerce, Layout, design, implementation, installation, Graphics, contribution installation & making them work!, custom code, problem
solving, + more.
I can be contacted on the forum here I am I might not be able to answer you immediately so please be patient.