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.

Limiting bandwidth per IP

Discussion in 'Security' started by lblanchardiii, Oct 28, 2009.

  1. lblanchardiii

    lblanchardiii Well-Known Member

    Joined:
    Nov 20, 2005
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    How can this be accomplished with cPanel? I see there is an apache module available called bwshare.

    My problem is I host a redirection site for a game where the contents of the directory are open. It seems users want to download the entire contents of this directory using download managers, clicking the files, etc..

    While this isn't a problem in itself, the problem lies with the users who seem to be downloading more data than what's on the site.

    The site is around 69GB in size, but I have people in the logs downloading over 100GB worth of data in a month.

    What I want to do is limit the amount of data these users can download in a day, to say 2GB per day cap limit.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If there is an Apache module you'd like to try, it is possible to have it built by EasyApache using either an Option Module or a "hook" as detailed in the following documentation resources:

    Main EasyApache3 (EA3) documentation:
    Apache & cPanel/WHM

    More specific pages within the EA3 documentation:
    EasyApacheHooks < EasyApache3 < TWiki
    EasyApache#show_apache_defaults < AllDocumentation/CpanelModsWhmScripts < TWiki
    WhmGlossary#OptMod < AllDocumentation/WHMDocs < TWiki

    On the EasyApache hooks page, the following detail may also be of help:
    Code:
    # /scripts/after_apache_make_install
    * Hint: This is where you should use the apxs tool to include other Apache modules.
     
  3. lblanchardiii

    lblanchardiii Well-Known Member

    Joined:
    Nov 20, 2005
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    I think that's a little over my head. :(:eek:
     
Loading...
Similar Threads - Limiting bandwidth per
  1. team_dale
    Replies:
    2
    Views:
    171
  2. sweettea
    Replies:
    9
    Views:
    75

Share This Page