The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DDoS using Iframe. How to block their referer ?

Discussion in 'General Discussion' started by NgocChinh, Feb 8, 2008.

  1. NgocChinh

    NgocChinh Registered

    Joined:
    Oct 28, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    They are including my pages inside iFrames on their site (rank on top 100)
    I received millions request per hour and i can't access to my site because it very slow. it can chew up a lot of bandwidth and CPU cycles. I don't know how to block their referer.
    Example:
    Code:
    My domain is : [url]www.ngocchinh.com[/url]
    Their domain is: [url]www.attacker1.com[/url] and [url]www.attacker2.com[/url]
    
    I have using .htaccess file to block, what' i wrong ?

    Code:
    RewriteEngine on
    # Options +FollowSymlinks
    RewriteCond %{HTTP_REFERER} attacker1\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} attacker2\.com
    RewriteRule .* - [F]
    So, what i can do to block their referer ? please show me how to do it !
    Thanks
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page