Greenguy's Board


Go Back   Greenguy's Board > Possible Cheaters
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2009-02-15, 09:52 AM   #23
whitey
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
Join Date: Aug 2003
Posts: 186
FB:

Once you have installed apf, you now want to deny the bastard from getting your site.

There is an excellent tutorial on this at..

http://www.webhostgear.com/209.html

If the page does not load for you, I have copied the contents below...

_------------------------

Have a user that keeps hammering your FTP or trying to login over and over and over again that you just want to ban and never see again? We'll show a quick and dirty method to ban an IP address from the server.

We commonly receive questions like:
"I would like to ban that ip address to prevent the access to the server.

how can i ban that Ip address from the server?"

Simple!

1) Login to the server as and su - to root.

2) If you are running iptables, you can enter:

iptables -A INPUT -s <IP> -j DROP

3) If you have APF firewall installed

apf -d <ip>

4) When you reboot this IP ban will be removed, meaning the IP will no longer be banned anymore.
If you have APF you can get around this by opening the deny hosts file.

pico /etc/apf/deny_hosts.rules

Scroll to the bottom and paste in the IP address.
Ctrl+X then Y to save the changes and exit.

5) Restart APF
/etc/apf/apf -r


---------------------------

A personal note:

Just putting the ip in the apf deny_hosts.rules should work. If not, you can do 2 and 3 as well.

I would ban a range of ips around this bastards ip (i.e. xxx.xxx.xxx/24 starting a few ips before his).

If this does not work, let me know as there are other, more dastardly, ways to stop this. This should, however, accomplish your objectives.

For unmanaged dedicated servers, I really recommend two places: The Planet (theplanet.com). Quite a few hosts use their datacenter and servers, and there is a reason for that. If you are using someone like Superb that offers $59 per month Celeron servers, look at the deals at the Planet which are recirculated servers; they will work until you are generating more cash and they normally defualt to a 100mbs pipe. Most really low end unmanaged suppliers put you on a 10 mbs pipe. The Planet will not offer support if you bother them alot, but the guys will help in a pinch. They also offer different levels of server support (I pay them to do custom kernels for me). Even if they will not help (if you are on an unmanaged server), they normally will give you some direction to find the solution (link, key issue to search for).

The other place I have servers is at liquidweb.com. More expensive, but their version of an unmanaged server is everyone else's version of managed and their team is exceptional.

At the planet, you can get a decent server with 750 to 1000 gigs of transfer per month for $100; liquidweb is about $175 with 750 gigs. Both offer unmetered pipes at industry low prices and both have exceptional tier one redundancy.

If you are in Europe and sans credit card, both will work with you on pay-pal plans I believe. Both serve large customer bases outside the US (the planet boasts that 50% of their customers are non-US based) and are accustomed to working with payment issues.

BTW, I have neither financial or any other interest in either of the server providers I recommended. Just trying to help out.

Let me know if this all works or not, and good luck with this bastard.

Last edited by whitey; 2009-02-15 at 10:23 AM..
whitey is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:31 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc