Questions tagged [bandwidth-control]
134 questions
2
votes
5 answers
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 too much resources.
Is there a neat apache2…

Jeroen Ooms
- 2,239
- 8
- 34
- 51
2
votes
2 answers
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 users' scripts aren't well behaved.
I know there's…

Andrew Clegg
- 387
- 1
- 2
- 9
2
votes
2 answers
Can bandwidth on a switch be limited for outbound traffic but not for local?
We want to restrict traffic through a switch to 90% of our total inbound bandwidth in order to reserve the other 10% for another switch running a different internal network. Can this be done without affecting the speed of internal traffic between…

PMGoldstein
- 466
- 3
- 12
2
votes
2 answers
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 an application which can achieve this. I want to be…

Dotty
- 183
- 2
- 9
2
votes
1 answer
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 nothing conclusive. Perhaps someone or a squid guru…

Muhammad
- 699
- 10
- 20
2
votes
2 answers
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 test environment, after the telco router, we are…

TonyZ
- 143
- 1
- 2
- 8
2
votes
3 answers
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 RapidShare, until their session is expired. They will be…

Saxtor
- 123
- 6
2
votes
1 answer
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 a pretty minimal amount of media to share, but…
Jordan Westerman
2
votes
1 answer
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
$tc qdisc del dev eth0 ingress 2> /dev/null >…

Christian
- 141
- 1
- 4
1
vote
2 answers
Can I limit data transfer within timeframe per IP address?
I'm hosting some relatively large files on my website, and it struck me that it would be trivial for someone to create a script that keeps downloading them over and over again, chewing through my data transfer and costing me money. Your typical home…

spacer GIF
- 111
- 4
1
vote
2 answers
Limit bandwith of a wireless AP connected to Mikrotik routerboard (via another AP/router)
I have this topology:
INTERNET
|
A Mikrotik RB951G-2HnD
|
B Wireless Router (can be set up as an AP/switch)
|
C Guest Wireless AP
Is it possible to limit C's bandwith without influencing B. C cannot be…

myro
- 113
- 6
1
vote
1 answer
rate limiting traffic for internal ip (TC)
I have configured ikev2 VPN on my server, but there is no tunnel interfaces like openvpn (tun0).
So actually, I can't limit the ikev2 vpn speed using tc tool.
Example for traffic shapping of openvpn (tun0) below.
tc qdisc del dev tun0 root
tc qdisc…

JohnsonGoey
- 51
- 10
1
vote
2 answers
Limit bandwidth on a Mikrotik router by port number?
I have this one Mikrotik router (RB951G-2HnD) that serves as a main router with port forwarding for HTTP/HTTPS and Plex to a server behind NAT. Now since there isn't much upload bandwidth (15Mbps), I'd love to limit the bandwith for HTTP/HTTPS on…

Manuth Chek
- 402
- 2
- 6
- 16
1
vote
0 answers
Create IFB with name or ID in Ubuntu server
I am doing some work relate to limit income bandwidth (ingress) of a NIC in Ubuntu 16.04. Seem like we cannot limit the income bandwidth directly but have to use IFB. In this
this post we have a good tutorial using IFB to finish the job. I followed…

Andiana
- 121
- 2
1
vote
0 answers
how to monitor client bandwidth in saas app?
I am building a SaaS which allows customers there own space. They get a subdomain but they can also add their own custom domain by setting their CNAME to my server. The subdomains and custom domains are not parked, they just point to my server and…

nhiik
- 11
- 1