Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   Bandwidth Limitation Per Ip - Website (http://www.abandonia.com/vbullet/showthread.php?t=7639)

Bradley 16-10-2005 08:47 PM

Hey I have a abandonware website of my own and people love to download a crapy load of stuff (21 GB Bandwidth used so far) and I know there is a way to limit IP's to getting say 350 MB a month. Well I've searched anywhere and nobody can help me, I was wondering if anyone here could help me, thanks!

Blood-Pigggy 16-10-2005 11:24 PM

Maybe you could use a outside file hoster instead, so it doesn't eat up your bandwith.

Data 17-10-2005 06:38 AM

over plain http this isn't very easy.
you could parse your access log and count for every day.
and ban people who go over the limit. (maybe run 2 httpd servers. 1 for website and one for download. and only ban for the download. (these 2 servers can run on 1 pc though)


Using a ftp based system is much more logical in that case. as those generally come with quota's

You could even track on tcp/ip level using a some virtual devices. but I don't know how experienced you are.


But generally. Welcome to the bandwidth "hell" we have to deal with all the time.
You don't want to know the bandwidth abandonia uses.....

Rogue 17-10-2005 08:32 AM

This is kind of complicated...

But as Data suggested, doing it with FTP server is much easier. For some FTP servers you can provide both, quota for usage and maximal upload speed. (Friend of mine uses it, if you interested, I can find what kind of sever is that)

Bradley 17-10-2005 08:58 PM

The problem is that it's hosted on a free host that is pretty good, i get:

2 GB Space
45 GB Bandwidth
5 SQL
15 E-mail addresses
Full FTP
5 FTP accounts

But It's not my server to command around. Well I'm gonna get a user system implemented making sure that people have to register in order to download anything.

Blood-Pigggy 17-10-2005 10:23 PM

What hosting service do you use?

Rogue 18-10-2005 12:38 AM

That is different kind of story.

You can create db that will hold information for every single download, and then use that information to create quotas either by user, IP address or by web site that is displayed.

I believe that there are some boards that will already do this for you, but they require fees.

Data 18-10-2005 06:48 AM

I wouldn't be supprised if their are some user made mods for popular boards. (It's not very hard to implement and probably "needed" by a lot)

Did you ever take a look at a cms (like phpnuke) There are huge amount of mods for systems like that.

swiss 18-10-2005 06:13 PM

you are not able to limit most users traffic for normally they get a new IP address every single time they log on to their internet service provider ...

Data 18-10-2005 06:52 PM

usually people with big download connections have static ips.

(or semi static)
Dailup users with their 7 kb/s will not reach that 350 mb very fast.


The current time is 11:26 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.