0
votes
1answer
114 views

Linux Traffic Shaping with “tc”: QoS filter for requests directly on the host not applied?

I'm trying to reduce the interface thoughput to debug my application on slower network speed. I've remembered a tc statement to do this on a interface which was working in the past. I used it on a ...
1
vote
0answers
71 views

nginx and cloudlfare ip confusion?

I am using the below config in http block of my nginx.conf to get real ip while using Cloudflare acceleration service: ## Cloudflare settings to get Real IP's set_real_ip_from ...
0
votes
0answers
336 views

Is CSF's recommended Connection Tracking Limit (CT_LIMIT) of 300 connections reasonable?

CSF recommends setting CT_LIMIT to 300 to block small ddos attacks as per http://configserver.com/free/csf/readme.txt I Would like to enable this connection limiting / tracking via CSF, as I have ...
0
votes
1answer
1k views

e-mail ratelimit exim

Server1 sending to Server2: Connecting to domain.com [1.1.1.1]:25 ... connected SMTP<< 451 Temporary local problem - please try later SMTP>> QUIT LOG: MAIN SMTP error from remote ...
-1
votes
2answers
361 views

How to rate limit per MAC address?

I need to rate limit an API server. Is it possible to configure a machine to rate limit requests per MAC address? If not, are there any other viable options? I want to rate limit per MAC, because ...
1
vote
2answers
152 views

Easy Apache module to throttle requests based on machine load?

I have an Apache server that is serving a django application with mod_wsgi. I'm wondering if there is a simple way to throttle requests at the apache level based on the machine's load. Ideally I want ...
1
vote
1answer
465 views

Linux dynamic rate limiting/throttling

I'm running a video streaming website with lighttpd using http pseudo-streaming to deliver videos. If the user has a very fast connection, this can use bandwidth quite inefficiently. For example if ...
0
votes
1answer
440 views

Is there a rate limiting tool for linux that can limit rates per process or socket?

I found tc, which allows you to filter by ip, port etc. and then limit rates. But I was wondering if there was anything that could filter by application or limit rate given another process' socket .. ...
3
votes
2answers
5k views

Should I rate-limit packets with iptables?

I'm using iptables on Ubuntu Server. It's a web server on a VPS. I'd like to know if I should rate-limit packets. If so, what should I rate-limit? And should I do so globally or per IP address? ...
1
vote
1answer
646 views

linux kernel 3.0.0 i7 CPU overheats and locks up

The server with i7 CPU (Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz) under linux kernel 3.0.0 (3.0.0-10-server) generally works properly, but when it is put under heavy load - it overheats (as shown by ...
3
votes
2answers
697 views

iptables rate-limit module problem

I am using iptables' rate-limit module to prevent DoS attack (I know it cannot stop a full scale DDoS but at least it can help with smaller attacks). In my rules I have something like: ...
1
vote
1answer
384 views

Throttle or Ignore requests based on IP

Is there something that I can use to set rules for Apache to throttle temporarily or ignore any IP address that makes X number of requests per second? It would be great if there is an Apache module ...
1
vote
1answer
1k views

How to rate-limit outgoing email on Linux/Postfix host?

Background: I'm a fan of David Allen's Getting Things Done, and that means when an email arrives in my inbox, if I can reply right away, I want to do so and keep my inbox clear. But there's a ...
1
vote
2answers
692 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 ...
1
vote
3answers
2k views

Throttling network speed when copying files to SMB mounted NAS drive

I have a fairly modest Ubuntu box (Jaunty) running as a small webserver. Each night i have a cron job which tar/gzip's important directories and does a simple cp to copy them over to a backup NAS ...