BigNoseBird.Com- home Small Logo
The 508 compliant Guide to 
       Big Nose Bird
BACK
WARNING: Be very careful editing your server configuration or .htaccess files. Even a minor typographical error can make your site unusable! Always make a backup copy of any file so you can recover quickly.

THE BLACKHOLE CURE FOR UNWANTED GUESTS

Not all spiders read the robots.txt file, nor do they bother to advertise their identification string. So, you notices that your site is being trounced by something that is draining your resources and will not go away.

To the host that is causing you the problems, it will give the appearence that you are no longer on the air! Of course, make certain that you are not locking out a legitimate search engine.

Here is the BLACKHOLE trick. The idea to a BLACKHOLE is to reroute all requests from a particular computer that is requesting information from your server to an inactive IP address.

You will probably have to consult your route man page, but this is what I use on Redhat Linux:

/sbin/route -n add -host 123.35.67.89 gw 168.1.0.219
DO NOT USE THE NUMBERS ABOVE- THEY ARE AN EXAMPLE!

The first number is the IP address of the offending host. The second number is an inactive IP address on your local network. The number must be inactive and it must be on your local network.

You also must be root, or have the ability to run administrative programs to do this.

If you want to make the BLACKHOLE for this address permanent, you must add the entry to your /etc/rc.d/rc.local file.

TO REMOVE THE BLACKHOLE

If you have added the route entry to your /etc/rc.d/rc.local or equivalent start-up script- remove it. Then, issue the command:

/sbin/route -n del -host 123.35.67.89 gw 168.1.0.219
This will remove the BLACKHOLE.


Find or Give Help on the BBS
 
Home Top E-Mail
If it looks great, it's by Christine
Some Fine Print
© 1997-2003 BigNoseBird.Com®, Inc. All rights reserved. All other trademarks are the sole property of their respective owners. The products that we recommend are only ones that we use. We have no relationship with any of the authors or their companies. We cannot assume responsibility for their ultimate performance or lack of same. We also cannot assume responsibility for either any programs provided here, or for any advice that is given since we have no control over what happens after our code or words leave this site. Always use prudent judgment in implementing any program- and always make a backup first! For further information, please read our Privacy Statement. We can be contacted at webmaster@bignosebird.com.


<reallybig.com>
Web Builder Network Portal
Advertise
on the
Reallybig.com
Network
BigNoseBird Newsletter
Subscribe
Un-Subscribe


Sign up today to receive our low volume newsletter. Tips, tricks, news, and whatever else crosses our minds.
Back Issues
Privacy Statement