Questions tagged [rate-limiting]

In computer networks, rate limiting is used to control the rate of traffic sent or received on a network interface.

Traffic that is less than or equal to the specified rate is sent, whereas traffic that exceeds the rate is dropped or delayed. Rate limiting is performed by policing (discarding excess packets), queuing (delaying packets in transit) or congestion control (manipulating the protocol’s congestion mechanism). Policing and queuing can be applied to any network protocol. Congestion control can only be applied to protocols with congestion control mechanisms, such as the transmission control protocol (TCP).

240 questions
0
votes
0 answers

How can I limit download/upload speed for every single user on OpenVPN using TC?

I have an OpenVPN server on CentOS 7 and I want to limit the download/upload speed for every single OpenVPN client to 512 kilo byte per second . From my own researches , I understood that I can accomplish this with TC , but using the scripts here…
master lfc6
  • 27
  • 1
  • 6
0
votes
0 answers

Avoid request limit for CDN connections in NGINX server

I need to throttle connections/requests in NGINX server for both http and http2 requests. However, the throttling must not be applied to CDN specific IP addresses (which is already populated in geo block) I have following config to throttle…
Brinal
  • 1
  • 1
0
votes
1 answer

Possible to create an AWS API Gateway to Route all requests to Classic Load Balancer?

I have a questions (hopefully not dumb). I am the IT guy of a business hosting various applications with AWS and we currently have a Classic Load Balancer sitting in front of 2 to 3 EC2 instances which handle all our web traffic. It's a pretty…
0
votes
1 answer

Why do some elements of the joomla site not load after setting limit_req?

I have an Nginx reverse proxy that forwards http and https requests to contianers from a Docker server. Recently, I set up a DoS / DDoS protection on the proxy so that the docker server resources don't get saturated. The setup successfully mitigated…
campos
  • 17
  • 3
0
votes
0 answers

Differentiate and limit nginx bandwith for download connections, website content

Is it possible (without additional tools or the addition of another distribution system) to limit the bandwith of overall download connections (upload to peers that requested to download a file) so that they do not congest the interface and thus…
loopend
  • 11
  • 3
0
votes
1 answer

bandwidth throttle on OSX with IPFW for localhost

I have my localhost webiste on http://macintosh.local - 127.0.0.1 Testing my website also for IE on the same address in VMWare Fusion I tried some Apps from hanynet.com/applications/ like WaterRoof. Never managed to get it working though. I realize…
Anton
0
votes
1 answer

`iptables` rate limiting & blocking IP addresses based on total download size?

I have a webserver which serves either tiny, or very large files. I want to rate limit IPs by bandwidth. i.e. you can download X GB per day, and then you get blocked for Y hours. Is it possible in iptables to do this? Presume Ubuntu 20.04 or recent…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
0
votes
1 answer

Exchange (2016) many mailbox delegations and throttling policies

At a customers site with 20+ employees per team I get an outlook warning message roughly translated to "The amount of elements opened at once has been limited by the server administrator". The customers requirement is that each team member can…
Silberling
  • 41
  • 7
0
votes
1 answer

Linux HTB: More than 70% of ceil rate is never achieved

Background:- I have an arm based system, which has HTB setup on the eth and wlan interface. Here is the HTB configuration:- tc class add dev eth1 parent 1:1 classid 1:1 htb rate 1Gbit ceil 1Gbit burst 18000b cburst 18000b tc class add dev eth1…
0
votes
1 answer

Postfix limit connections

I have a question about Postfix. Last night someone tried to access my Postfix server, he/she connected like ~30 times to it. Is there any way to limit simultaneous connections? Here is a part of the Log-File: Jun 1 03:31:15 primary…
0
votes
0 answers

HAProxy Rate limiting per IP with queuing

I'm moving towards HA using it to replace also NGINX and I've a question regarding how to do a Rate Limiting in HA that enables queuing the request instead of closing them. I was able to limit per IP following those examples:…
EsseTi
  • 225
  • 3
  • 12
-1
votes
1 answer

squid proxy 2.7 limit bandwidth

I have a squid 2.7 proxy and i'm letting some friends use it for fun in school etc. However since i got a bandwidth limit on my vps that is hosting the proxy I need somehow to throttle the amount of bandwidth. Currently all my friends authenticate…
Eric
  • 31
  • 2
  • 5
-1
votes
1 answer

Enforce maximum download limit using router hardware?

What's the simplest way to enforce a maximum download limit per machine on a network, over a period of time? For example, 10 GB, per computer, per week? I'm hoping maybe there's either a custom piece of hardware I can buy online, or some firmware…
jonathanconway
  • 547
  • 5
  • 7
  • 17
-2
votes
1 answer

How can I detect if an online backup service is doing IP-based throttling?

I live on a campus in the US and I am trying to understand why my upload speed to the online backup service Backblaze on area Y of the campus is 10 times slower than on area X of the campus (20000 vs 2000 kpbs as you can see in the details…
Franck Dernoncourt
  • 940
  • 1
  • 12
  • 28
-3
votes
1 answer

Google-style “Your network is generating too much traffic” bounce for postfix

I'm being attacked from a botnet and I found out about it because I got this email from mailer-daemon telling me there's no space left on device. The mail.log was filled up with messages like Dec 5 01:56:14 ip-xxx-xxx-xxx postfix/smtpd[9634]:…
lmojzis
  • 113
  • 5
1 2 3
15
16