Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    16,242
    Likes Received:
    385
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice