Questions tagged [bandwidth-control]

134 questions
56
votes
6 answers

Some ISPs don't charge for bandwidth used on Youtube/Netflix/Facebook. How do they monitor that?

In Poland, it is common for mobile ISPs to offer plans with limited amount of bandwidth per month, with exclusion of some popular apps. So for example all traffic from YouTube is not counted towards the data cap. Aside from net neutrality issues, I…
Kuba Orlik
  • 651
  • 1
  • 5
  • 9
16
votes
3 answers

Throttle bandwidth via iptables

I have a need to throttle the bandwidth usage, similar to how some ISPs do it, so that after a couple of seconds, it throttles down the speed.
Glen Solsberry
  • 1,506
  • 5
  • 28
  • 35
11
votes
5 answers

Limiting network throughput of an already launched process ? (Linux/FreeBSD)

Is there any utility to limit the network throughput of a process after it has been launched? Simple example: you note that a user takes all your upload bandwidth using scp and you'd like to limit the rate or decrease the priority of the transfer. I…
jbdenis
  • 111
  • 1
  • 3
10
votes
1 answer

How can we restrict dynamically nginx upload/download speed per user?

It's possible to restrict the speed using the rate limit on a specific location. However, how can we do it dynamically ? Let say you have paid vs non-paid users and you want to give an higher bandwidth to paid users. We would need to dynamically…
Jonathan
  • 101
  • 1
  • 3
10
votes
3 answers

SSH attacks drain 4GB in 10 hours. Possible?

I have been warned that my server broke its transfer limit. I thougt that my Tor node became popular so I chose to disable it this month (not the best choice for the community but I need to go down). Then I noticed that the server transferred around…
usr-local-ΕΨΗΕΛΩΝ
  • 2,339
  • 7
  • 33
  • 50
8
votes
5 answers

How to prevent hot linking ("image theft" / "bandwidth theft") of ressources on my site?

I'm trying to write the "ultimate" anti hot linking .htaccess... You can find many examples/tutorials/generators on the net but many of them are wrong or incomplete (or even both). These are the features I'm looking for: Must block hot linking for…
AlexV
  • 169
  • 1
  • 2
  • 16
8
votes
4 answers

Wireless AAA for a small, bandwidth-limited hotel

We (the tech I work with and myself) live in a remote northern town where Internet access is somewhat of a luxury, and bandwidth is quite limited. Here, overage charges ranging from few hundreds, to few thousands of dollars a month, is not uncommon.…
Anthony Hiscox
  • 295
  • 1
  • 8
7
votes
1 answer

Limit bandwidth per IP address in Squid

I am having Squid 3.1.18 installed. I want to limit the maximum bandwidth any IP can use to 128 Kbps. Is it possible using squid ? I am not using squid authentication so identifying users and setting limit is not an option. Need some way to limit…
nitins
  • 2,527
  • 15
  • 42
  • 65
6
votes
2 answers

How to limit network usage for concrete application in linux that is running in it?

I'm looking for something like nice for cpu, but for network usage that will limit application network consumption to level that will configure. I have problems with xapian-replicate-server that is consuming 80 % of my network. It's causing mysql…
B14D3
  • 5,110
  • 13
  • 58
  • 82
6
votes
3 answers

DD wrt bandwidth usage by user

Is there anyway on the dd-wrt to check to see how much bandwidth each client is using? I ask because I am in charge of looking over a group of routers connecting to a dd-wrt router and if a user is using too much at certain times I would like to be…
csteifel
  • 273
  • 1
  • 6
  • 11
5
votes
2 answers

Should Skype be reliable in a corporate environment?

I have been managing the IT function in a small software development company that has grown from 10 users to 70 users in 5 years. Most users in the company are office based, but some key users work remotely. At the beginning, Skype become the de…
Garreth McDaid
  • 3,399
  • 26
  • 41
5
votes
2 answers

Linux tc Traffic Shaping for IPv6

I have traffic shaping with tc and htb in place and everything works fine for IPv4. Now I want to limit the bandwidth for incoming IPv6 ssh/sftp traffic to some reasonable amount, so it doesn't interfere with more critical traffic. In short, nothing…
Thomas
  • 51
  • 1
  • 2
5
votes
1 answer

Mysterious bandwidth limit

For some unknown reason, our server box running Windows Server 2008 R2 has a per connection bandwidth limit of 0.2 MB/s. Meaning, while one TCP connection can pull at max 0.2 MB/s, 60 parallel connections can pull 12 MB/s. We first noticed this when…
5
votes
2 answers

lxc bandwidth control using tc

I am trying to restrict bandwidth inside my containers. I have tried using the following commands , But I think it is not getting effective. cd /sys/fs/cgroup/net_cls/ echo 0x1001 > A/net_cls.classid # 10:1 echo 0x1002 > B/net_cls.classid #…
kumar
  • 423
  • 2
  • 9
  • 23
5
votes
1 answer

Bandwidth monitoring on KVM

Is it possible to monitor/limit bandwidth for KVM guests? I'd like to give people VMs on my server but I want to be careful not to go over my monthly bandwidth limit. The only places I can find that support this are 'cloud' frameworks, I'm guessing…
1
2 3
8 9