<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Blocking IPs</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Blocking IPs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 08:49:06 +0000</pubDate>
  <lastBuildDate>Wed, 06 Aug 2008 09:29:35 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=1858</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Blocking IPs : Check your Private Messages Hamish...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6313.html#6313</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1267">Logistix</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 06-August-2008 at 9:29am<br /><br />Check your Private Messages Hamish :)]]>
   </description>
   <pubDate>Wed, 06 Aug 2008 09:29:35 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6313.html#6313</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : Hi, there are several options,...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6276.html#6276</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 04-August-2008 at 1:57pm<br /><br />Hi, there are several options, as always. It partly depends on how much updating it will require &amp; how many ranges you want to block.<br><br>What are these miscreants doing? Are they trying to login to your site as Admin or Users?<br><br>If so then an easier solution that will pretty much stop them in their tracks is to switch on the "captcha" images in :-<br>Settings &gt; Advanced Security Settings<br>- Enable both the "Use random number images" options.<br><br>It blocks pretty much every automated method of attacking the login pages and slows dramatically slows down manual attacks as they have to get the password right AND make sure they get the numbers from the image entered correctly. If you enable this the bad guys will most likely move on to fresh targets.<br>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 13:57:36 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6276.html#6276</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : Sorry Hamish I mis-understood...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6269.html#6269</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1267">Logistix</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 03-August-2008 at 4:25pm<br /><br /><P>Sorry Hamish I mis-understood what Local_Addr does. It's the local IP of the server not of the workstation which made the request. My bad :)</P><DIV>Is there a quicker way of blocking IPs if I want to block lots of ranges of IPs?</DIV>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 16:25:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6269.html#6269</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : Hi Logistix, Hmmm - I&amp;#039;m no...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6268.html#6268</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 03-August-2008 at 3:26pm<br /><br />Hi Logistix,<br>&nbsp;&nbsp;&nbsp;&nbsp; Hmmm - I'm no great expert on this so I did a quick Google. According to the info I found:-<br><br>LOCAL_ADDR&nbsp; :&nbsp; Returns the server address on which the request came in.<br><br>I would understand that to mean that the address you would get from that is the server at your ISP that received the request - I would think this would always be the same for ALL traffic, legitimate or spam.&nbsp; If so then if you succeed you would you block your site off from the world <img src="https://forum.productcart.com/smileys/smiley29.gif" border="0" alt="Wacko" />&nbsp; (I guess that would block the site spammer !!!! ) Have I&nbsp; misunderstood this? <br><br>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 15:26:10 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6268.html#6268</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : How would I go about blocking...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6266.html#6266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1267">Logistix</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 03-August-2008 at 3:00pm<br /><br />How would I go about blocking an IP with&nbsp;the variable "Local_Addr"&nbsp;using your whole range method Hamish? The spam is coming from the same local IP each time.<DIV>&nbsp;</DIV><DIV>RemAddr = <FONT face="Arial, Helvetica, sans-serif" size=2>Request.ServerVariables("Local_Addr")</FONT><BR><FONT face="Arial, Helvetica, sans-serif" size=2>If (RemAddr &gt;= "x</FONT>.x.x.x<FONT face="Arial, Helvetica, sans-serif" size=2>") and </FONT><FONT face="Arial, Helvetica, sans-serif" size=2>(RemAddr &lt;= "x</FONT>.x.x.x<FONT face="Arial, Helvetica, sans-serif" size=2>") </FONT><FONT face="Arial, Helvetica, sans-serif" size=2>Then <BR>&nbsp; Response.End <BR>End if</FONT></DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><DIV><FONT face=Arial size=2>This doesn't seem to work, any ideas?</FONT></DIV>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 15:00:24 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6266.html#6266</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : Thanks for that Hamish very useful...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6234.html#6234</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1267">Logistix</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 31-July-2008 at 1:22pm<br /><br />Thanks for that Hamish very useful info :)]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 13:22:55 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6234.html#6234</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : Hi Logistix,  I&amp;#039;m in the...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6232.html#6232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 31-July-2008 at 10:54am<br /><br />Hi Logistix, <br>&nbsp; I'm in the UK as well. IP addresses were handed out in "blocks" to ISP's all round the world, so I don't think there is a simple way of blocking whole countries, BUT you can block whole IP ranges, or rather subnets. A quick bit of googling reveals there are 91,000+ blocks of IP addresses by country - so It's best to target the specific IP or IP range that's causing you trouble.&nbsp;  <br><br><a href="http://www.aspfaqs.com/ASP&#115;cripts/PrintFAQ.asp?FAQID=179" target="_blank">www.aspfaqs.com/ASPscripts/PrintFAQ.asp?FAQID=179<br></a><br>I use a Whois program from Karen Kenworthy (<a href="http://www.karenware.com" target="_blank">www.karenware.com</a>) to look up IP addresses as this tells me the IP range the address is part of as well as the origin.<br><br>As an example the <u>random</u> IP address : 87.212.134.19 gives a result of :-<br>inetnum:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 87.212.128.0 - 87.212.159.255<br>netname:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERSATEL-CONSUMER-2<br>descr:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Versatel Consumer is one of the largest ISP's in the Netherlands<br><br>If you really wanted to block the WHOLE of this range you could try code like :-<br>RemAddr = <font face="Arial, Helvetica, sans-serif" size="2">Request.ServerVariables("Remote_Addr")</font><br><font face="Arial, Helvetica, sans-serif" size="2">If (RemAddr &gt;= "</font>87.212.128.0<font face="Arial, Helvetica, sans-serif" size="2">") and </font><font face="Arial, Helvetica, sans-serif" size="2">(RemAddr &lt;= "</font>87.212.159.255<font face="Arial, Helvetica, sans-serif" size="2">") </font><font face="Arial, Helvetica, sans-serif" size="2">Then <br>&nbsp; Response.End <br>End if<br><br>As an aside, whilst writing this I came across : <a href="http://www.proxyserverprivacy.com/ipaddress_range.php%20" target="_blank">www.proxyserverprivacy.com/ipaddress_range.php</a> where you can get lists of IP address ranges by country.<br><br>If it's a really important issue you could use a service such as the one provided by GeoIP.com - which provide a DB and API's to allow you to check IP addresses against the DB.  <br><br><a href="http://www.proxyserverprivacy.com/ipaddress_range.php%20" target="_blank"> </a></font>]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 10:54:44 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6232.html#6232</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs :   Hamish wrote:When you say &amp;#034;spam&amp;#034;...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6231.html#6231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1267">Logistix</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 31-July-2008 at 10:03am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Hamish" alt="Originally posted by Hamish" style="vertical-align: text-bottom;" /> <strong>Hamish wrote:</strong><br /><br />When you say "spam" your site - I assume they are trying to get in via the logon pages?</td></tr></table><DIV></DIV><DIV></DIV>That's correct, specifically contact.asp more than anything which is really odd. I used to have Google Ads but not anymore...<DIV></DIV><DIV></DIV>How would I go about blocking a range of IPs or entire countries? I am based in the UK and 99% of business&nbsp;is based in the UK.<DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 10:03:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6231.html#6231</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : Hi Logistix, When you say &amp;#034;spam&amp;#034;...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6230.html#6230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=303">Hamish</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 31-July-2008 at 9:46am<br /><br />Hi Logistix,<br>&nbsp;&nbsp;&nbsp; When you say "spam" your site - I assume they are trying to get in via the logon pages?<br>In which case blocking them is a great idea. You may want to block whole subnets, assuming that the subnets in question are outside your target geographical market. <br><br>Another instance where you may wish to block specific IP addresses is if you use Google Ads and someone is carrying out click fraud against your adverts. We have discovered very suspicious activity on one of our clients ad campaigns just today. Google provide a tool to prevent the ads being served to specified IP addresses.<br>&nbsp;<br>]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 09:46:08 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6230.html#6230</guid>
  </item> 
  <item>
   <title><![CDATA[Blocking IPs : @Alan - It appears someone is...]]></title>
   <link>https://forum.productcart.com/blocking-ips_topic1858_post6229.html#6229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=1267">Logistix</a><br /><strong>Subject:</strong> 1858<br /><strong>Posted:</strong> 31-July-2008 at 9:30am<br /><br />@Alan - It appears someone is spamming my website (for whatever reason) and the attacks seem to be coming from set IPs.<DIV>&nbsp;</DIV><DIV>The solution isn't perfect, but because I don't have access to IIS, it's the next best thing. All my logon pages require a security code,&nbsp;and I have setup my control panel to alert me if x amount of invalid attempts are made. This is how I know my site is being targetted.</DIV>]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 09:30:49 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/blocking-ips_topic1858_post6229.html#6229</guid>
  </item> 
 </channel>
</rss>