Forum Moderators: open
it would take a pretty good argument to convince me that I have any need at all for Chinese traffic on a locally oriented U.S. Small Business directory siteBut closing that door and not allowing it to grow may limit your choices in the future. You may not always wish to target only local traffic, and who knows what tomorrow may bring?
Have never seen an ad click from China but I have seen loads of bandwidth sucking from that part of the worldIs this "bandwidth sucking" costing you additional fees? There are many hosts that offer unlimited bandwidth (just say'n.)
<rewrite>
<rewriteMaps configSource="webrwmaps.config"></rewriteMaps>
<rules configSource="webrwrules.config"></rules>
</rewrite> <rewriteMaps>
<rewriteMap name="BlockAccess">
<!-- This one will use wildcards -->
<add key="88.198.212.*" value="1" />
<!-- This one wil use static IP -->
<add key="8.1.22.13" value="1" />
</rewriteMap>
</rewriteMaps> <rules>
<rule name="Blocked Users" stopProcessing="true">
<match url=".*" />
<conditions>
<!-- This will just go to the 'Bad Ips' rewriteMap below and compare it to the REMOTE_ADDR which is the requesting IP -->
<add input="{BlockAccess:{REMOTE_ADDR}}" pattern="1" />
</conditions>
<!-- This one will rewrite url to specified file -->
<action type="Rewrite" url="FILE-THAT-MANIPULATES-rewriteMaps-FILE.aspx" appendQueryString="false" />
</rule>
</rules>
In my case the caching is really sticky and if you haven't actually made a change to the web.config file..
@J_RaD : I've fought many DDoS attacks in real time, sometimes the best thing you can do is to turn it off...and switch IP addresses, let the horde descend on a node that no longer exists.. most of the time they aren't checking DNS for IPs they are just blasting an IP...so when it goes dead....they are blasting at nothing and you are live and full speed.