#1 (permalink)  
Old 03-01-2004, 06:42 AM
Registered User
 
Join Date: Dec 2003
Posts: 58
Creazioni1
BLOCK A DOMAIN access to my site

HI

there is possibility to block access to my site from a domain??

ThIS domain insert my banner into site and every 2 seconds open 400 process and apache go down

can i block this domain?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2004, 09:02 AM
bamasbest's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 531
bamasbest
Try...

cPanel - IP Deny Manager
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2004, 09:05 AM
Registered User
 
Join Date: Dec 2003
Posts: 58
Creazioni1
just do it

i deny a domain not an IP
(refer)
thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-01-2004, 09:13 AM
bamasbest's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 531
bamasbest
Correct,

You should be able to deny either an IP or a FQDN.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-01-2004, 04:51 PM
Registered User
 
Join Date: Dec 2003
Posts: 58
Creazioni1
THIS person insert into site DOMAINSITE.XX include to open my site

http://MYSITE.com/php-bin/randomAd/b...ew.php?uid=xxx

He has 200 access/sec., therefore my apache go down

He don't delete this include , therefore i must block this refer


i insert into .htaccess

deny from domainsite.xx

but nothing....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-01-2004, 04:52 PM
Registered User
 
Join Date: Dec 2003
Posts: 58
Creazioni1
i know precise REFER URL

http://download.xxxxxxxx-tld/php-bin...mAd/banner.php

therefore i must block this refer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-01-2004, 05:04 PM
bamasbest's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 531
bamasbest
Hmmm...

try editing your .htaccess to look something like this...

<LIMIT GET POST>
order deny,allow
deny from www.sitename.com
</LIMIT>


see if that works?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-01-2004, 11:32 PM
Registered User
 
Join Date: Dec 2003
Location: Maryland
Posts: 98
Chew is on a distinguished road
or block him our totally from your firewall, and don't even have httpd process his commands. simply drop the packets. more often than not, if it's a web server, it's got a static ip address.

Do a ping and obtain the IP that way.

Chew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-02-2004, 12:14 AM
Registered User
 
Join Date: Feb 2004
Posts: 204
BrightAdmin
Hi Creazioni1,
As bamasbest has suggested, you can block any domain by adding the LIMIT in the .htaccess file as follows,

<Limit GET HEAD POST>
order allow,deny
deny from <Domain name you want to block>
deny from <IP address of the domain>
allow from all
</LIMIT>

You can generate code to block domains using the following link:
http://htmlbasix.com/blockusers.shtml

Regards,
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 01:23 PM.


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