#1 (permalink)  
Old 05-19-2003, 11:28 AM
Registered User
 
Join Date: Mar 2003
Posts: 89
c4host
IP Block

Where is the best place to block Ip's

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-19-2003, 11:39 AM
Nico's Avatar
Registered User
 
Join Date: Dec 2001
Location: Edmond, OK
Posts: 233
Nico
I like doing from SSH as 'root'.

Example:

/sbin/route add -host 209.217.1.2 gw 127.0.0.1

replace '209.217.1.2' with the IP you want to block.

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-19-2003, 12:14 PM
Registered User
 
Join Date: Mar 2003
Posts: 89
c4host
I would like to block a list of ip's

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-26-2003, 04:20 AM
Registered User
 
Join Date: May 2003
Posts: 25
Clark
Will this also work if you have a domain that steals image bandwidth from you and you get the ip of their server and add it? I don't want to use hotlink protection...

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-26-2003, 07:56 AM
Registered User
 
Join Date: Feb 2002
Location: UK
Posts: 461
SoftmegUK
If you wish to just block IPs using http then use a .htaccess with something like:

Order deny,allow
Allow from all
Deny from xxx.xxx.xxx.xxx

cPanel.net Support Ticket Number:
__________________
Apache to die or not to die, that is the question...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-26-2003, 08:01 AM
Advanced cPanel/WHM User
Advanced cPanel/WHM User
 
Join Date: Sep 2001
Location: Spain
Posts: 779
Juanra is on a distinguished road
Quote:
Originally posted by Clark
Will this also work if you have a domain that steals image bandwidth from you and you get the ip of their server and add it? I don't want to use hotlink protection...
No, because it's the users of the other domain who access your files directly.

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-26-2003, 08:04 AM
Registered User
 
Join Date: Feb 2002
Location: UK
Posts: 461
SoftmegUK
It would be best to use hotlink protection unless you want 2 block out the whole internet

cPanel.net Support Ticket Number:
__________________
Apache to die or not to die, that is the question...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-26-2003, 08:58 AM
Registered User
 
Join Date: Mar 2003
Posts: 89
c4host
I used a hotlink and forwarde them to a another address

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:00 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc