Post by KensGiftShop » Sat Oct 14, 2017 2:52 pm

I have a site I am working on and ever since I upgraded to 3.0.2.0, I have someone that will create about 20 accounts every couple days. They are all from the same IP address. Is there any way to block an IP address? I have 3 sites with this version of Open Cart and only have the problem on one site. I don't know what they are trying do?

All the accounts have different names and email address's, but the same IP address.

New member

Posts

Joined
Fri Dec 14, 2012 3:15 am

Post by bumcarks » Sat Oct 14, 2017 3:06 pm

write the below code in htaccess file and replace block IP
Order Deny,Allow
Deny from Block_IP

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by KensGiftShop » Sat Oct 14, 2017 3:16 pm

Is this correct and does it matter where it is placed?

Order Deny,Allow
Deny from 77.232.66.255

New member

Posts

Joined
Fri Dec 14, 2012 3:15 am

Post by IP_CAM » Sat Oct 14, 2017 11:45 pm

Code: Select all

<Files>
deny from 211.202.
deny from 212.
deny from 213.145.
deny from 213.251.
deny from 216.
deny from 217.
</Files>
COMES BEFORE:
# SEO URL Settings
RewriteEngine On
RewriteBase /

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by KensGiftShop » Sun Oct 15, 2017 1:25 am

IP_CAM

Where would you place that code?

New member

Posts

Joined
Fri Dec 14, 2012 3:15 am

Post by IP_CAM » Sun Oct 15, 2017 4:34 am

as bumcarks mentioned:
write the below code in .htaccess file and replace block IP

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by KensGiftShop » Mon Oct 16, 2017 9:56 am

I've tried both of these suggestions and they are still able to get in and create bogus accounts.

New member

Posts

Joined
Fri Dec 14, 2012 3:15 am

Post by IP_CAM » Mon Oct 16, 2017 10:48 am

did you block the entire IP Number, or the first Sections, like:
deny from 4.251.121.
deny from 213.251.25.
because, if they use changing IP's, you have block entire
Subsections, not only individual Numbers, like
deny from 4.251.121.10
deny from 213.251.25.121
BUT, they have many ways, to fool you, when it comes to IP-Numbers,
and you could possibly have entered the content wrongly into the
.htaccess file, among some other settings, to make it unworkable,
so, it cannot be said, from far away, how this problem can be solved.
Ernie

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by KensGiftShop » Tue Oct 17, 2017 2:09 am

I did the whole number and it's always the same IP address.

New member

Posts

Joined
Fri Dec 14, 2012 3:15 am

Post by Johnathan » Tue Oct 17, 2017 10:31 pm

If you want something that doesn't require htaccess, I have a Geo IP Tools extension that can be used for this. You can enter a list of IP addresses or IP ranges, and set a "blocked" message that users will see if they have a matching IP address. If blocked, that "blocked" page is the only page they'll be able to see. It also adds some data in the session to mark them as blocked, so even if they immediately switch their IP, it *should* keep them blocked (until their session is cleared).

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.

Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 23 guests