Jump to content
vekia

[module] Free ban IP address - block any user you want

Recommended Posts

Prestashop - Block Ip Address free module

With this module you will be able to block any user IP you want. You can easily block hackers, crawlers and unwanted users. Decrease traffic and increase the safety of your store with this free module.

 

 
trusted-addon.png

 

banipfree-cover-big.png

 

Share this post


Link to post
Share on other sites

what i am asking is how would you use this modual? prestashop does not have a built in who is online list like oscommerce has. How do you know who is on the site so you can make a decision to use your modual properly.

Share this post


Link to post
Share on other sites

Thanks for the clarification.

 

You can get IP address in many ways.

  1. first example - you've got stats in prestashop, you can get ip addresses there (it's easy to find crawlers and other unfriendly robots there).
  2. You can use also chat like ZOPIM - you've got there full list of online guests with full specification (ip, os, browser, etc.)
  3. Many of hosting providers have got own statistics (like awstats ot sth. similar) - you can also get IP address here
  4. If you have got an access to the apache / php error log - you can easy find crawlers and robots there
  5. If you're on own VPS / dedicated server - you can easily check logs for IP address
  6. ...and much more...

Share this post


Link to post
Share on other sites

that's right, new version have got limitation, i decided to increase the limit to 10 ip adressess, i will upload it here tommorow ! :)

Nice move vekia, i think 10 ip adressess are enough for a free version and we appreciate that :D

Share this post


Link to post
Share on other sites

I'm afraid it doesn't work in my PS 1.3.2.3.

 

what kind of errors you've got? im going to install this prestashop version.

 

have you got any overrides etc?

Share this post


Link to post
Share on other sites

Przydałby się import i możliwość dodawania zakresów jak i całych klas IP

thanks for your comment, i really appreciate your suggestions - i think that i nearest future i will add these features

ps. remember that we are in english section ;)

Share this post


Link to post
Share on other sites

what kind of errors you've got? im going to install this prestashop version.

 

have you got any overrides etc?

 

Simply I added an IP address I wanna block but checking my log files a few hours later I could see it wasn't block.

Share this post


Link to post
Share on other sites

i have installed prestashop ver.1.4.9 and this module,everything is fine.

but i have two annoying spammer and i can block only one of them

now i blocked this IP:91.200.13.16 and waiting for module update :)

Share this post


Link to post
Share on other sites

thank you jolvil.

unfortunately i dont have direct access to .htaccess file. my host dont allow this :(

i'm new in prestashop , can you explain step by step tutorial for ban ip in prestashop?

Share this post


Link to post
Share on other sites

After you have enabled Friendly URLs, you MUST generate a new .htaccess file: go to the "Tools" tab, "Generators" sub-tab, check the "Friendly URL" box, and then click the "Generate .htaccess file" button. This will create a new.htaccess file at the root of the PrestaShop folder.

You can add banned IP lines on in the generator's "Specific configuration" field.

 

Share this post


Link to post
Share on other sites

i will release update as soon as possible, for now i've got a lot of work with commercial stuff.

@fuba you're waiting for...? can you explain please? :)

so did you ever release this "updated" "free version" or have you not generated enough advertising/payments yet?  

Edited by storecover

Share this post


Link to post
Share on other sites

so did you ever release this "updated" "free version" or have you not generated enough advertising/payments yet?  

Yes, it seems it ends with promisses...

Share this post


Link to post
Share on other sites
STS    0

Need some help.  I am trying to use this module to block ip addresses of those placing advertising comments Blog posts on my site.  Just installed earlier today and tested on two IP's.  

 

 

 

 

I did a ping to determine their ip.  

 

It has been a few hours and I have gotten another post from survocom.com, see text below:

 

From : cheap jordans

 

Url : "JUNKwww.survocom.com/jordans.php"

 

Comment :

 

 

 

This comment is attached to the news :...

 

Any idea why it would be getting through?  I pinged address again and gave same ip. Any suggestions?  

 

*NOTE typed JUNK in front of the URLs so I would not give them any additional free advertising.

 

I hope to get comfortable with this before moving on to the pro version.  

 

Thanks!

Edited by STS

Share this post


Link to post
Share on other sites
STS    0

Is it possible to block a range of ip addresses?  Still trying to solve issue with survocom.  Their hosting provider Psychz Networks operates a block of ips 192.184.32.0/19.  Considering blocking all of these in case survocom has a dynamic ip.  (not sure it works that way, I am just guessing)

Share this post


Link to post
Share on other sites

Ban IP is great tool for quick blocking of IP.

 

In case of attack you rather use firewall block or add IP (range) to .htaccess

Share this post


Link to post
Share on other sites
STS    0

I am still trying to determine my issue.  I do not believe it is a problem with BAN IP, but is an issue with determining what IP is adding the content.  

 

Visits and visitors is only showing how many visitors I have, not IP address.  From discussion above, it looks like within the stats it MAY be storing the IP of the visitors.  Is this correct?  Can you tell me where to access it?

Share this post


Link to post
Share on other sites

If you enable datamining modules in BO then you can see visitors IP.

 

Information can also be found in your firewall or webserver logs.

Share this post


Link to post
Share on other sites

it's not good option in my opinion, i have many accounts with different password on each website (for security reasons)

so for me i use wrong passwords more than 3 times ...

Share this post


Link to post
Share on other sites

Hi Vekia

 

This is a great module!

 

I was working on my web store and noticed that I have 458 visitors in the last 30 minutes which was obviously incorrect!

 

I checked the stats for the IP Address and it was coming from Germany...I'm located in Australia and it looked as though it was constantly bombarding my shop....

 

I found this free module and configured it to block the IP and the visit count has dropped down to what it should be....

 

Thanks again Vekia!

 

Regards

Greg

Share this post


Link to post
Share on other sites

I just dl this and i only see three ip fields, i thought the free version was for 10 ip, i can add the fields myself?

 

i did add 4 - 10 to all parts of of code and seems to work.  If i need more than 10 i will buy the module, thanks so much for the module... nice job :)

Edited by durangodave

Share this post


Link to post
Share on other sites

Is it also possible to block a range of ip's in the pro-version. there are a lot o bots with nearly the same ip's. But the last nummer is changing.

Share this post


Link to post
Share on other sites

Is it also possible to block a range of ip's in the pro-version. there are a lot o bots with nearly the same ip's. But the last nummer is changing.

 

you can always block ranges if you have root access or if your host has given you reseller access to configserver firewall.   If not just try this in your htaccess

 

For example:

 

  • /8 means that #.0.0.0 the zero range will be blocked.
  • /16 means that #.#.0.0 the zero range will be blocked.
  • /24 means that #.#.#.0 the zero range will be blocked.
  • /32 is a single full ip block such as 1.1.1.1

so

 

deny from 123.456.789.000/24  

 

means that anything that is 123.456.789.???   will be blocked

 

source:  http://stopspambots.org/cPHulk_BlockList.html

this site has some good tricks for stopping spammers.

Edited by durangodave

Share this post


Link to post
Share on other sites

This module not work well in 1.4.11, when i block some ip, the mensage appear in the first page, but the customer can see the products categories in the left side and he can navigate and see any product normaly, the mensage only appear in the first page but the others pages are normal..

 

This tool must block any website page not only one page, and can`t give acess to the website..

 

Can you solve this and see what is the problem ?

 

Tks..

Share this post


Link to post
Share on other sites

Hi Mr Vekia,

 

I want to buy your module Ban IP Pro prestashop but I have some question is I am now as this below.

1 . My location website is Thailand

2.  My prestashop version 1.3.1.1

 

 

 

Can you advise me that can use this module ?

 

Thank you & Best Regards ,

Share this post


Link to post
Share on other sites

Hi Mr Vekia,

 

I want to buy your module Ban IP Pro prestashop but I have some question is I am now as this below.

1 . My location website is Thailand

2.  My prestashop version 1.3.1.1

 

 

 

Can you advise me that can use this module ?

 

Thank you & Best Regards ,

 
hello
are you 100% sure that it is 1.3.1.1 ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×