![]() |
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!
|
Maybe you could use a outside file hoster instead, so it doesn't eat up your bandwith.
|
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..... |
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) |
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. |
What hosting service do you use?
|
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. |
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. |
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 ...
|
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.