![]() a Cavallo Communications LLC Trademark |
|||||||||||
|
Updates Released - FedEx Web Services added and more..
|
Block an IP address |
Post Reply
|
| Author | |
wimike
Registered
Joined: May-17-2008 Location: United States Status: Offline Points: 60 |
Post Options
Thanks(0)
Quote Reply
Topic: Block an IP addressPosted: December-11-2011 at 5:32pm |
|
I have a clown coming to my site each day doing about 200 partial orders (just choosing 1 item) then going to the next order. I am guessing this malicious person is trying to break into my admin site. I am a bit tech challenged and could not find a way to block their IP address. Can someone tell me how? I have version 5.1.1.6 that I bought 5/25/2011 I did not download the latest update as of yet since my son, who was my tech guy, is too busy right now. I hope this is simple as it is in eBay where you can just input an IP address is a box somewhere.
This is driving me crazy and why if not for breaking into my admin site is this person doing this everyday. Thank you in advance if you have a solution!!! I am hoping the software has something simple built in to block an IP address.
![]() |
|
![]() |
|
CandyPress
Admin Group
Joined: January-25-2003 Location: United States Status: Offline Points: 12070 |
Post Options
Thanks(0)
Quote Reply
Posted: December-11-2011 at 8:18pm |
|
You cannot block an IP address from CandyPress - You would need to contact whomever is hosting your website to have them blocked.
|
|
![]() |
|
wimike
Registered
Joined: May-17-2008 Location: United States Status: Offline Points: 60 |
Post Options
Thanks(0)
Quote Reply
Posted: December-11-2011 at 8:21pm |
|
Thanks for the reply. Is there any reason why clown would be doing this to me about once every other day?
|
|
![]() |
|
CandyPress
Admin Group
Joined: January-25-2003 Location: United States Status: Offline Points: 12070 |
Post Options
Thanks(0)
Quote Reply
Posted: December-11-2011 at 8:49pm |
|
I would hate to give a lame answer of "It's that time of year" because we surely have seen an increase in SPAM and activities such as this. Perhaps they are trying to probe your site for vulnerabilities or something of that nature. You should really at least be at the latest version and if you have an issue with an IP address, you should tell your hosting provider.
|
|
![]() |
|
wimike
Registered
Joined: May-17-2008 Location: United States Status: Offline Points: 60 |
Post Options
Thanks(0)
Quote Reply
Posted: December-26-2011 at 12:55pm |
|
I just talked to my hosting and they told me I need to add a web.config file to my hosting to block an IP address. This I must do myself. If anyone has the code or how to do it please tell me, Thanks, Mike
It is still the same IP address month after month.
|
|
![]() |
|
lilaccrafts
Registered
Joined: May-03-2004 Status: Offline Points: 1798 |
Post Options
Thanks(0)
Quote Reply
Posted: December-26-2011 at 7:11pm |
|
Just duplicate how the SA_emailfilter.asp page Create a new table with two new fields
Then just add into the function getUserAddress() in the _INCappfunctions.asp page to get the info from the database and redirecting it to a bogus webpage.
Just make a web page that is static if not they will try other IP's
|
|
![]() |
|
CandyPress
Admin Group
Joined: January-25-2003 Location: United States Status: Offline Points: 12070 |
Post Options
Thanks(0)
Quote Reply
Posted: December-27-2011 at 2:36pm |
|
Yes you can create a web.config file (using a text editor) containing the following:
You would then upload this to the root of your website.
|
|
![]() |
|
Daniel Jay
Registered
Joined: December-12-2004 Location: United States Status: Offline Points: 369 |
Post Options
Thanks(0)
Quote Reply
Posted: January-14-2012 at 9:52pm |
|
<script type="text/javascript">
var ip = '<!--#echo var="REMOTE_ADDR"-->' var handleips=bannedips.join("|") if (ip.search(handleips)!=-1){ </script> |
|
![]() |
|
jeepin
Registered
Joined: June-30-2004 Location: United States Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
Posted: January-27-2012 at 4:53pm |
|
As previously stated, you can't block an IP from within CandyPress, but I've had the same 'issue' with my store front (though not on a daily basis). I'd wager it's the same IP as the one that's hitting your store. I recently googled the IP address and it comes up with a bunch of results about it being a comment spammer IP address.
|
|
|
-Jason
Jeepin.com/JeepinOutfitters.com |
|
![]() |
|
My_PC
Registered
Joined: October-04-2005 Location: Australia Status: Offline Points: 333 |
Post Options
Thanks(0)
Quote Reply
Posted: February-16-2012 at 8:11pm |
|
In dbconn, I do this to block all ips starting with NN.
'START BAN IP ADDRESSES dim sIpCheck sIpCheck = "x" & Request.ServerVariables("REMOTE_ADDR") if instr(sIpCheck,"xNN.") = 1 then response.end 'END BAN IP ADDRESSES |
|
![]() |
|
CandyPress
Admin Group
Joined: January-25-2003 Location: United States Status: Offline Points: 12070 |
Post Options
Thanks(0)
Quote Reply
Posted: February-17-2012 at 11:52am |
|
As a history to this, a lot of spammers like to hit CandyPress due to an old issue with the Email to a Friend script that was corrected about a year ago.
Best would be to use a .htaccess file to restrict IP addresses. It's the nature of running an online store, regardless - you have to pay attention to security. |
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© 2001 - 2012 Cavallo Communications LLC. All rights reserved.