[Dev] Download / Upgrade limited bandwitch on servers

Esteban Carnevale alfplayer at mailoo.org
Fri Dec 12 11:56:32 GMT 2014


Following bug #611, multiple connections to rsyncd could be limited like 
this. Limit to 1 connection per host:

iptables -A INPUT -p tcp --syn --dport 875 -m connlimit \
  --connlimit-above 1 -j REJECT

-s can be added to specify the hosts causing this issue, to avoid 
limiting other hosts.

Based on http://ipset.netfilter.org/iptables-extensions.man.html#lbAK


-- 
Esteban Carnevale <alfplayer at mailoo.org>



More information about the Dev mailing list