Questions tagged [bandwidth-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
58 votes
6 answers
14k views

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

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 ...
Kuba Orlik's user avatar
16 votes
3 answers
49k views

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's user avatar
11 votes
5 answers
5k views

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 ...
jbdenis's user avatar
  • 111
10 votes
3 answers
1k views

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). ...
usr-local-ΕΨΗΕΛΩΝ's user avatar
10 votes
1 answer
5k views

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 ...
Jonathan's user avatar
  • 101
9 votes
5 answers
5k views

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 ...
AlexV's user avatar
  • 179
8 votes
4 answers
1k views

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 ...
Anthony Hiscox's user avatar
7 votes
1 answer
11k views

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 ...
nitins's user avatar
  • 2,589
6 votes
2 answers
10k views

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 ...
B14D3's user avatar
  • 5,208
6 votes
1 answer
8k views

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 ...
Jess's user avatar
  • 493
6 votes
3 answers
8k views

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 ...
csteifel's user avatar
  • 293
5 votes
2 answers
17k views

Squid Proxy Server: limit total bandwidth

We have a marvellous squid proxy with dansguardian for filetering and they both work just great. Is there any easy way to limit the total bandwidth usage? I'd like to set the max amount of squid users ...
Pitto's user avatar
  • 2,019
5 votes
2 answers
969 views

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 ...
Garreth McDaid's user avatar
5 votes
2 answers
4k views

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....
kumar's user avatar
  • 433
5 votes
2 answers
4k views

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 ...
Thomas's user avatar
  • 51
5 votes
1 answer
3k views

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 ...
Kyr's user avatar
  • 51
4 votes
2 answers
8k views

How to limit connection speed

I am on CentOS 6.4 and am using Plesk v11.5.30 although this doesn't necessarily need to be done via plesk. I am looking to limit the connection speed to a specific website. However the only options ...
John Mellor's user avatar
4 votes
2 answers
7k views

Limiting bandwidth on internal interface on Linux gateway

I am responsible for a Linux-based (it runs Debian) branch office router that takes a single high-speed Internet connection (eth2) and turns it into about 20 internal networks, each with a seperate ...
Jack Scott's user avatar
4 votes
1 answer
967 views

measuring bandwidth per-user used by ssh server-side connections on linux

I'd like to be able to measure the bandwidth used by each user by their inbound ssh connections, into a linux box. I measure most other traffic using iptables and user-matching, but inbound ssh ...
Ben Clifford's user avatar
4 votes
2 answers
1k views

Monitor bandwidth per-process

This has been driving me nuts but my server has been using a highly excessive amount of bandwidth for the last two months, and I can't figure out how/why/where. This month, for example, it's used 210 ...
jonodlo's user avatar
  • 378
4 votes
3 answers
119k views

How to limit bandwidth speed from a router for a devices on a network? [closed]

How to limit bandwidth speed from a router for a devices on a network ? There are several devices accessing the internet thru a wireless network. I cannot change settings directly on the client-...
maan81's user avatar
  • 153
4 votes
3 answers
5k views

Linux daily, weekly and monthly network usage

How one could monitor and keep logs of daily, weekly and monthly bandwidth usage of Linux servers? This is important for cheap VPS solutions where they have monthly caps in bandwidth. Preferable some ...
Mikko Ohtamaa's user avatar
4 votes
2 answers
2k views

HTB.init / tc behind NAT

I have an Ubuntu 10 box that I'm trying to set up as a bandwidth-shaping router. The machine has one WAN interface, eth0 and two LAN interfaces, eth1 and eth2. NAT is configured using MASQUERADE as ...
Ben K.'s user avatar
  • 2,389
3 votes
1 answer
354 views

Why is my bandwidth averaging 3 kbps on a 10 mbps device?

I have a server with a 100 mbps port and connection that I rate limited to 10 mbps/full duplex because I am only paying for a 10 mbps connection and there are steep overage charges. Ever since then, ...
compucuke's user avatar
3 votes
1 answer
454 views

use of nmap clogged my network

I was using nmap to scan the mac addresses of my network.What I found was internet connections and rest of network services badly clogged the users were not able to connect to internet.After messing ...
Registered User's user avatar
3 votes
4 answers
2k views

Automatically throttle network bandwidth for users causing bulk traffic

Is anybody aware of a FreeBSD, Linux, or Windows based product that can automatically lower the priority of network packets of users that have caused a high amount of network traffic during the last ...
user avatar
3 votes
1 answer
834 views

Baidu Spider causing 3Gb of traffic a day - but I do business in China

I'm in a difficult situation, the Baidu spider is hitting my site causing about 3Gb a day worth of bandwidth. At the same time I do business in China so don't want to just block it. Has anyone else ...
d.lanza38's user avatar
  • 357
3 votes
1 answer
4k views

Limiting bandwidth of workstations in MS Forefront TMG

We have configured Microsoft forefront TMG 2010 Enterprise as the cache server which provides internet access for all computers in our department. Is there any way to limit download speed per host/...
Isaac's user avatar
  • 581
3 votes
1 answer
9k views

What is mumbles average monthly bandwidth usage?

I am wondering how much bandwidth does a Mumble server use in the span on a month. I have a dedicated Linux server with 10,000GB bandwidth/month. In their FAQ they have this formula and information. ...
Latency's user avatar
  • 93
3 votes
2 answers
1k views

QoS - split bandwidth across all IPs during high load

We have a Linux-based router which is currently working fairly well, but our network only has a 1.5 mbps incoming connection. The network is small, but during high load periods some systems can end up ...
Matthew Iselin's user avatar
3 votes
1 answer
4k views

bridge traffic limiting via tc

I have a Linux machine running as a bridge simulating various network conditions. I use tc for this. Introducing delays or packet loss is quite simple but I got into trouble trying to configure ...
jackhab's user avatar
  • 781
3 votes
0 answers
2k views

How to configure per IP bandwidth control using TC?

Requirements: There is an arbitrary number of users per group. Bandwidth for any particular group is 1000kbps. Bandwidth for each user in a group is 70 kbps. At any time no user should not consume ...
techiek7's user avatar
3 votes
0 answers
1k views

iptables: limiting bytes downloaded per IP per day?

On a public-facing web server, I'd like to limit the total bytes downloaded per IP address per day. For example, after a visitor downloaded 100MB, any additional requests would be dropped or rejected ...
Miles Wolbe's user avatar
3 votes
1 answer
2k views

Why isn't ipfw correctly limiting the bandwidth?

I've played around with the ipfw command on a Mac and tried to limit the bandwidth to 1MBit/s. sudo ipfw add pipe 1 ip from any to me sudo ipfw pipe 1 config bw 1MBit/s These are the statements I'm ...
TheLostOne's user avatar
2 votes
5 answers
39k views

Limit simultaneous connections per IP with Apache2

I am hosting a public heavy CPU web service, and I would like to configure Apache2 to only allow 1 simultaneous connection per IP address to the location at hand, to prevent single clients from using ...
Jeroen Ooms's user avatar
  • 2,239
2 votes
5 answers
12k views

Monitor traffic by source/destination IP address

I need to monitor traffic coming in and out of my server. Knowing the total in/out bandwidth is good, but ideally I would like to know how much traffic was sent to what address (we are talking about ...
Goro's user avatar
  • 664
2 votes
2 answers
1k views

Limit Windows XP machine's bandwidth between 9AM - 11PM

Hay, i need to find a software solution to a problem. I want to be able to limit a Windows XP machine's bandwidth on all ports between 10AM - 11PM. I have access to the machine in question, i need ...
Dotty's user avatar
  • 183
2 votes
1 answer
476 views

Does 404 errors eat the server bandwidth?

I am facing a strange issue where one of our servers (used for internal purpose) hosted by Rackspace uses huge amount of bandwidth (but our actual users are using the server rarely). FYI, the said ...
San's user avatar
  • 21
2 votes
1 answer
903 views

Minimum bandwidth limit on Linux systems

I need to limit the minimum bandwith from an IP to specific services/ports, by dropping all the packets that will not satisfy that minimum rate. I saw the attribute rate in the HTB class of the Linux ...
Lucap's user avatar
  • 21
2 votes
2 answers
8k views

Wondershaper does not work

I am using wondershaper to limit download upload speed. What it does is, it limits download but then it blocks upload. I have an 1 gbit connection and I want to limit it's download speed to 500 mbps ...
Lolak's user avatar
  • 141
2 votes
1 answer
3k views

traffic control (tc) filter not working

i am using Debian and am trying to limit the upload-bandwidth on an ip basis. The configuration is the following: #!/bin/bash tc=/sbin/tc $tc qdisc del dev eth0 root 2> /dev/null > /dev/null $...
Christian's user avatar
  • 141
2 votes
1 answer
251 views

Low bandwidth when accessing websites outside my country

I am using a broadband internet connection from an ISP named Reliance in India. I wanted share you with a weird behavior of my internet connection. I have a 2Mbps connection and I get around same ...
mmn357157's user avatar
2 votes
2 answers
1k views

Apache bandwidth throttling per client, by subnet

We're interested in restricting the number of requests per second and/or available bandwidth to HTTP clients, to stop accidental DoS. We provide free scientific data and web services, and sadly some ...
Andrew Clegg's user avatar
2 votes
3 answers
2k views

How To Limit User Quota Bandwidth to 10Gb/day

I have been trying to figure this out: I am creating a filehosting site with PHP and I would like to know how to limit user to 10Gb of bandwidth per day, so that they can download - just like ...
Saxtor's user avatar
  • 123
2 votes
1 answer
521 views

Total Bandwidth Usage tracking in VMWare

In VMWare vSphere, how can I set and track the monthly bandwidth usage of each guest? I need to reduce the network speed when bandwidth usage exceeds 90% or so. What are my options?
KTM's user avatar
  • 213
2 votes
1 answer
16k views

Mikrotik queues and limiting total upstream bandwidth

With a Mikrotik router (form of embedded Linux) I have created simple queues per machine matched by source IP address. Each of the 4 machine queues has an unlimited burst 3Mbps/3Mbps for Tx/Rx. ...
morleyc's user avatar
  • 1,150
2 votes
2 answers
3k views

How can I provision/control bandwidth allocated to devices on the LAN?

We're going to have an ISP turn up a 100 mbit circuit at our office building (multiple floors, multiple offices). We need to control how much bandwidth is allocated to/used devices on the LAN. For ...
Marvin's user avatar
  • 31
2 votes
1 answer
7k views

Squid delay pools and multiple ACLs evaluation

I am testing squid 3.0 on a ubuntu amd64 box. I am facing a problem with the delay pool classes when I set the delay_access parameters with multiple ACLs. Have been going through the squid wiki and ...
Muhammad's user avatar
  • 699
2 votes
2 answers
1k views

Measure Total Bandwidth for Billing

I am setting up a new network which customers will host their applications on. It needs to be able to scale out to a few hundred servers and each server will have several VMs on it. Right now in my ...
TonyZ's user avatar
  • 143
2 votes
1 answer
169 views

managing a high traffic media sharing website

i'm in the process of developing a website that i predict will generate a lot of traffic. the site will be similar to many other sites offering free media streaming: mp3's. we are going to start with ...
user avatar