Page 1 of 4 123 ... LastLast
Results 1 to 15 of 46

Thread: bandwidth calculation

  1. #1
    Member
    Join Date
    Dec 2001
    Posts
    7

    Default bandwidth calculation

    One of our customers complained that bandwidth is calculated incorrectly. I see in WHM that he used 611MB in last 3 days. AWStats and Webalizer shows that traffic is near 242MB. I know that traffic in WHM includes also POP3 and FTP traffic. But customer not used POP3 (no entries in maillog*) and upload only near 50KB via ftp (information obtained from xferlog).

    How can I recalculate traffic consumed by customer manually and argue him that he really consumed 611MB?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1

    Default

    Has anyone else seen this?

    I am currently in discussion with my host on this exact issue.

    CPANEL reports that I've used 27Gig of bandwidth month to date. It claims my forums subdirectory alone has used 9.5Gig.

    Webalizer says I've used 1.5Gig total.

    Analog says 2.5Gig total.

    I've used about 1.5Gig of ftp and no POP. Very little SMTP.

    Any ideas what's happening here? My site is now being severely bandwidth throttled because I'm close to my 30 Gig limit. There is no way on earth these numbers are correct.

    How would Analog and Webalizer be off by 10x ?

    Thanks,

    -t

  3. #3
    Member
    Join Date
    Dec 2001
    Posts
    224

    Default

    same problem here for years now
    www.tys.us
    TYS-HR Datacenter
    100% uptime power & feed
    Colocation/Dedicated/Managed

  4. #4
    Member
    Join Date
    Jun 2002
    Posts
    78

    Default


  5. #5
    Member
    Join Date
    May 2002
    Posts
    249

    Default

    Who will get the bandwidth if someone downloads files from http://www.domainOne.com/~domainTwo/ ? DomainOne or DomainTwo?

  6. #6
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:c750c70c26][i:c750c70c26]Originally posted by (SH)Saeed[/i:c750c70c26]

    Who will get the bandwidth if someone downloads files from http://www.domainOne.com/~domainTwo/ ? DomainOne or DomainTwo?[/quote:c750c70c26]
    the answer is : domainOne.com
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  7. #7
    cPanel Test Bitch
    Join Date
    Feb 2002
    Location
    Boston MA
    Posts
    596

    Default

    Turn on mod_bandwidthprotect (I think that's the name) What it does is stops people from linking from other peoples domains.

  8. #8
    Member
    Join Date
    May 2002
    Posts
    249

    Default

    [quote:274e920425][i:274e920425]Originally posted by awsol[/i:274e920425]

    Turn on mod_bandwidthprotect (I think that's the name) What it does is stops people from linking from other peoples domains.[/quote:274e920425]

    I think we have it on since users can only reach their website from our main domain and not any other domain on the server.

  9. #9
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:63aba21a51][i:63aba21a51]Originally posted by (SH)Saeed[/i:63aba21a51]

    [quote:63aba21a51][i:63aba21a51]Originally posted by awsol[/i:63aba21a51]

    Turn on mod_bandwidthprotect (I think that's the name) What it does is stops people from linking from other peoples domains.[/quote:63aba21a51]

    I think we have it on since users can only reach their website from our main domain and not any other domain on the server.[/quote:63aba21a51]
    what you mean is mod_bwprotect however it's better to use mod_bwlimited too.
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  10. #10
    cPanel Test Bitch
    Join Date
    Feb 2002
    Location
    Boston MA
    Posts
    596

    Default

    [quote:ac8fc9c76e][i:ac8fc9c76e]Originally posted by itf[/i:ac8fc9c76e]

    [quote:ac8fc9c76e][i:ac8fc9c76e]Originally posted by (SH)Saeed[/i:ac8fc9c76e]

    [quote:ac8fc9c76e][i:ac8fc9c76e]Originally posted by awsol[/i:ac8fc9c76e]

    Turn on mod_bandwidthprotect (I think that's the name) What it does is stops people from linking from other peoples domains.[/quote:ac8fc9c76e]

    I think we have it on since users can only reach their website from our main domain and not any other domain on the server.[/quote:ac8fc9c76e]
    what you mean is mod_bwprotect[/quote:ac8fc9c76e]

    Yes that's it. I knew it wasn't that long name lol

  11. #11
    Member
    Join Date
    May 2002
    Posts
    249

    Default

    We have both mod_bwlimited and mod_bwprotect installed. However, users can reach their account from the server's main domain. Does this mean they get the bandwidth even if they use our server domain to access their account?

  12. #12
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:ece42d7816][i:ece42d7816]Originally posted by (SH)Saeed[/i:ece42d7816]

    We have both mod_bwlimited and mod_bwprotect installed. However, users can reach their account from the server's main domain. Does this mean they get the bandwidth even if they use our server domain to access their account?[/quote:ece42d7816]
    Yes! By using http://serverdomain.com/~username/ the bandwidth usage will be affected on server domain not users’ domain

    However if a user call a sample html like this http://userdomain.com/sample.html

    Which sample html contains:

    &html&
    &head&&/head&
    &title&sample bandwidth abuse&/title&
    &body&
    &IMG src=”http://serverdomain.com/~username/images/sample.jpg”&
    &/body&
    &/html&

    Then sample.html file size will be added to user’s domain bandwidth usage and that image file to serverdomain.com

    That is an easy way to abuse serverdomain's bandwidth without losing commercial reputation!!! It could be done with all of userdomain downloads without affecting your allotted bandwidth, huh

    Maximum protection could be achived by disabling “UserDir” directive
    Find this in /usr/local/apache/conf/httpd.conf

    &IfModule mod_userdir.c&
    UserDir public_html
    &/IfModule&

    And replace UserDir with this one:

    UserDir disabled

    But if you disable UserDir then /~username/ can not be used on that server also Shared SSL no longer could be offered !
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  13. #13
    Member
    Join Date
    May 2002
    Posts
    249

    Default

    And new users can't access their website before their DNS has updated. Maybe we should delete this thread so users don't find out about this

  14. #14
    itf
    itf is offline
    Member
    Join Date
    May 2002
    Posts
    626

    Default

    [quote:61d636a85d][i:61d636a85d]Originally posted by (SH)Saeed[/i:61d636a85d]

    And new users can't access their website before their DNS has updated. Maybe we should delete this thread so users don't find out about this [/quote:61d636a85d]
    It seems that I have to remove those part of my last post which teaches abuse, is this what you want?
    Please use messengers to contact me:
    MSN: patrickay@msn.com
    AIM: PatrickITF

  15. #15
    Member
    Join Date
    Aug 2001
    Posts
    707

    Default

    itf, is there no way to disable ~user access over the hostname with UserDir enable then UserDir disable user1 etc. (as you've advised elsewhere in this forum)?

Page 1 of 4 123 ... LastLast

Similar Threads

  1. Calculation of maildirsize
    By pjo in forum E-mail Discussions
    Replies: 7
    Last Post: 07-07-2011, 07:56 AM
  2. apache 2.2 bandwidth calculation in cpanel ?
    By #mOdY# in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-03-2007, 08:04 PM
  3. bandwidth miss calculation - loosing customers.
    By Netrockers in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-12-2004, 03:57 PM
  4. bandwidth calculation and charge? how do you do it?
    By torwill in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 04-08-2003, 04:17 PM
  5. bandwidth calculation stopped working ....
    By maxhost in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 07-13-2002, 07:48 AM